/* ===== RESET & BASIS ===== */
*{box-sizing:border-box;margin:0;padding:0}
html,body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#222;background:#f9f9f9;line-height:1.6}

/* ===== CONTAINER ===== */
.container{width:98%;max-width:1400px;margin:0 auto;padding:0 20px}

/* ===== HEADER + NAV (immer Hamburger) ===== */
.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #eee}
.header-flex{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;position:relative}
.logo{max-height:80px;height:auto;display:block}

/* Hamburger immer sichtbar */
.menu-toggle{
  display:inline-flex!important;align-items:center;justify-content:center;
  width:44px;height:44px;font-size:22px;border:0;background:transparent;cursor:pointer;color:#333
}

/* Panel-Navigation (standardmäßig zu) */
.main-nav{display:none}
.main-nav.show{
  display:block;position:absolute;top:100%;left:0;right:0;background:#fff;z-index:1000;
  border-top:1px solid rgba(0,0,0,.06);box-shadow:0 12px 24px rgba(0,0,0,.08)
}

/* Vertikale Liste im Panel */
.nav-list{list-style:none;margin:0;padding:.25rem .75rem;display:flex;flex-direction:column;gap:0}
.nav-item{position:relative}
.nav-link{display:block;padding:.9rem .5rem;text-decoration:none;color:#333;font-weight:600;background:transparent}

/* Hover wie bei deinen Links: Farbwechsel, kein grauer Kasten */
.site-header nav a:hover,.nav-link:hover,.nav-link:focus{color:#007BFF;background:transparent}

/* Submenü – optisch wie normale Links; nur Einrückung */
.submenu{display:none;margin:0;padding:.25rem 0;list-style:none}
.nav-item.open>.submenu{display:block}
.submenu .nav-link{display:block;padding:.6rem .5rem;padding-left:1.25rem}

/* Panel-Layout im aufgeklappten Zustand */
.main-nav.show .nav-list{flex-direction:column;align-items:stretch;gap:0}
.main-nav.show .nav-item{width:100%}
.main-nav.show .nav-link{padding:.9rem 0;width:100%;justify-content:space-between}


/* ===== VERSICHERUNG: INTRO ===== */
.versicherung-section{
  background:#fff;border-radius:10px;box-shadow:0 0 10px rgba(0,0,0,.05);
  padding:2rem 1.5rem;margin-top:2rem;
}
.versicherung-section h1{
  font-size:2.2rem;margin-bottom:1rem;border-bottom:2px solid #c8102e;
  padding-bottom:.35rem;color:#1e1e1e;
}
.versicherung-section .intro-text{
  font-size:1.05rem;color:#444;max-width:800px;margin:0 0 1.5rem 0;
}

/* ===== INFO-BOXEN ===== */
.versicherungs-info{
  display:flex;flex-wrap:wrap;gap:24px;justify-content:center;margin:1rem 0 2rem;
}
.versicherung-box{
  flex:1 1 300px;background:#fff;border-left:5px solid #c8102e;border-radius:8px;
  padding:18px;box-shadow:0 2px 10px rgba(0,0,0,.05);
}
.versicherung-box h3{color:#c8102e;margin-bottom:.6rem;font-size:1.15rem}
.versicherung-box p{font-size:.98rem;color:#333}

/* ===== CTA / Hinweis ===== */
.beratung-hinweis{
  background:#fff4f4;border-left:5px solid #c8102e;border-radius:8px;
  padding:18px;max-width:800px;margin:0 auto 2rem;color:#5c0a12;
}
.beratung-hinweis a{color:#c8102e;text-decoration:underline}
.beratung-hinweis a:hover{color:#a20c21;text-decoration:none}

/* ===== TARIFVERGLEICH (responsive Tabelle) ===== */
.tarifvergleich-wrapper{max-width:100%;padding:0;margin:1rem 0 2rem}
.table-wrapper{max-width:960px;margin:0 auto;overflow-x:auto;padding:0 10px}

/* Standard-Tabelle */
.alteos-table{
  width:100%;border-collapse:collapse;background:#fff;font-size:.95rem;
  box-shadow:0 2px 10px rgba(0,0,0,.04);border-radius:8px;overflow:hidden;
}
.alteos-table thead{background:#f7f7f7}
.alteos-table th,.alteos-table td{
  padding:14px 12px;border-bottom:1px solid #eee;text-align:center;
}
.alteos-table td:first-child{text-align:left;font-weight:600;color:#333}
.alteos-table tbody tr:nth-child(even){background:#fcfcfc}

/* Mobil gestapelt */
@media (max-width:768px){
  .alteos-table thead{display:none}
  .alteos-table,.alteos-table tbody,.alteos-table tr,.alteos-table td{display:block;width:100%}
  .alteos-table tr{
    margin:0 0 1rem 0;border:1px solid #ddd;border-radius:8px;background:#fff;
    box-shadow:0 2px 6px rgba(0,0,0,.03);overflow:hidden;
  }
  .alteos-table td{
    text-align:left;padding:12px 16px;border:none;border-bottom:1px solid #eee;position:relative;
    padding-left:50%;
  }
  .alteos-table td::before{
    content:attr(data-label);position:absolute;left:1rem;top:50%;transform:translateY(-50%);
    font-weight:700;color:#555;white-space:nowrap;
  }
}

/* ===== FAQ / ACCORDION (optional) ===== */
.faq-section{background:#f9f9f9;padding:2rem 1rem;border-top:1px solid #eee;border-bottom:1px solid #eee}
.faq-section h2{text-align:center;font-size:1.8rem;color:#1e1e1e;margin-bottom:1.2rem}
.accordion-item{
  max-width:800px;margin:0 auto 14px;overflow:hidden;border-radius:10px;background:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
}
.accordion-toggle{
  width:100%;background:#fff4f4;border:none;text-align:left;padding:16px 18px;
  font-size:1.05rem;font-weight:700;color:#c8102e;cursor:pointer;transition:background .3s;
}
.accordion-toggle:hover{background:#ffe9e9}
.accordion-toggle.active{background:#ffe2e2}
.accordion-content{
  max-height:0;overflow:hidden;background:#fff;padding:0 18px;transition:max-height .35s ease,padding .3s ease;
}
.accordion-content p{margin:14px 0;color:#333}

/* ===== LINKS (global) ===== */
a{color:#c8102e}
a:hover{color:#a20c21}

/* ===== FOOTER ===== */
.site-footer{
  background:#fff;color:#555;border-top:1px solid #e0e0e0;
  padding:40px 20px 20px;margin-top:60px;
}
.footer-flex{display:flex;flex-wrap:wrap;justify-content:space-between;gap:30px;max-width:1200px;margin:0 auto}
.footer-info,.footer-kontakt,.footer-links{flex:1 1 200px}
.footer-logo{max-width:120px;margin-bottom:10px;display:block}
.site-footer a{color:#666;text-decoration:none}
.site-footer a:hover{color:#c8102e;text-decoration:underline}
.copyright{text-align:center;margin-top:30px;font-size:.9rem;color:#888}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width:768px){
  .footer-flex{flex-direction:column;gap:1.5rem}
  .footer-info,.footer-kontakt,.footer-links{flex:1 1 100%}
}
/* ===== Überschriften zentral ausrichten ===== */
.versicherung-section h2,
.versicherung-section h3,
.faq-section h3,
.tarifvergleich-wrapper h3,
.blog-section .blog-header h2 {
  text-align: center;
}

/* Falls du vorher .versicherung-section h1 gestylt hast:
   auf h2 umstellen (so heißt es im HTML) */
.versicherung-section h2{
  font-size:2.2rem;
  margin-bottom:1rem;
  color:#1e1e1e;
  text-align:center;
  position:relative;
  padding-bottom:.6rem;
}
.versicherung-section h2::after{
  content:"";
  display:block;
  width:90px;
  height:3px;
  margin:.5rem auto 0;
  border-radius:2px;
  background:linear-gradient(90deg,#c8102e,#a20c21);
}

/* Intro unter der Hauptüberschrift ebenfalls zentrieren */
.versicherung-section .intro-text{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

/* Tarif-Überschrift mit dekorativem Underline */
.tarifvergleich-wrapper h3{
  font-size:1.6rem;
  margin:0 0 1rem;
  position:relative;
}
.tarifvergleich-wrapper h3::after{
  content:"";
  display:block;
  width:80px;
  height:3px;
  margin:.5rem auto 0;
  border-radius:2px;
  background:linear-gradient(90deg,#c8102e,#a20c21);
}

/* ===== Blog/Erklär-Artikel hervorheben ===== */
/* Container-Karte auffällig (aber sauber) machen */
.blog-section{
  padding:2.2rem 1rem;
  background:#f9f9f9;          /* bleibt neutral zum Rest */
}
.blog-article{
  max-width:900px;
  margin:0 auto;
  background:#fff;
  border:1px solid #eaeaea;
  border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  padding:28px;
}

/* Header mit Icon mittig und „Marken“-Akzent */
.blog-header{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-bottom:10px;
}
.blog-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#c8102e;
  color:#fff;
  font-size:1.2rem;
}
.blog-header h2{
  margin:0;
  font-size:1.6rem;
  line-height:1.25;
  position:relative;
}
.blog-header h2::after{
  content:"";
  display:block;
  width:100px;
  height:3px;
  margin:10px auto 0;
  border-radius:2px;
  background:linear-gradient(90deg,#c8102e,#a20c21);
}

/* Lead/Einleitung visuell herausstellen (Highlight-Box) */
.blog-article .intro-text{
  font-size:1.15rem;
  line-height:1.9;
  margin:12px auto 18px;
  background:#fff6f7;              /* sanfter Rot-Ton */
  border-left:6px solid #c8102e;    /* starker Akzent */
  border-radius:10px;
  padding:14px 16px;
  max-width:72ch;
}

/* Fließtext angenehm lesbar, zentrierte H3 */
.blog-article article h3{
  font-size:1.12rem;
  margin-top:1.15rem;
  color:#111;
  text-align:center;
}
.blog-article article p{
  max-width:72ch;
  margin:8px auto;
  color:#333;
}

/* Mobile Feinschliff */
@media (max-width:520px){
  .blog-article{padding:22px}
  .blog-header h2{font-size:1.4rem}
  .blog-article .intro-text{font-size:1.05rem}
}
