/* =============================================================
   Schriften – lokal gehostet (DSGVO)
   Source Sans 3, SIL Open Font License 1.1
   Bezogen von Google Fonts, Subsets latin + latin-ext.
   Es wird kein Google-CDN mehr kontaktiert.
   ============================================================= */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/source-sans-3-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/source-sans-3-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================================
   Landingpage Unfallversicherung
   Allianz Generalvertretung Dr. Theobald, Inh. Sebastian Rein
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --c-blue:        #003781;   /* Allianz Blue */
  --c-blue-dark:   #002456;
  --c-blue-mid:    #0058A8;
  --c-blue-light:  #007AB3;
  --c-sky:         #E7F0FA;
  --c-sky-deep:    #CFE2F5;

  --c-ink:         #16181D;
  --c-body:        #3C4553;
  --c-muted:       #6B7585;
  --c-line:        #DCE3EC;
  --c-bg:          #FFFFFF;
  --c-bg-alt:      #F5F8FC;

  --c-wa:          #25D366;
  --c-wa-dark:     #128C7E;
  --c-alert:       #C7381F;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(16, 32, 56, .06), 0 2px 8px rgba(16, 32, 56, .06);
  --sh-md: 0 4px 12px rgba(16, 32, 56, .08), 0 12px 32px rgba(16, 32, 56, .08);
  --sh-lg: 0 12px 40px rgba(16, 32, 56, .14);

  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);

  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--c-ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.175rem; line-height: 1.3; }
p  { margin: 0 0 1.1em; }
a  { color: var(--c-blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--c-blue-mid); }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--c-blue-light);
  outline-offset: 2px;
  border-radius: 3px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--c-blue); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--grey { background: var(--c-bg-alt); border-block: 1px solid var(--c-line); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .sub { color: var(--c-muted); font-size: 1.0625rem; margin: 0; }
.body-lg { font-size: clamp(1.05rem, 2vw, 1.2rem); }
.overline {
  text-transform: uppercase; letter-spacing: .11em; font-size: .8125rem;
  font-weight: 700; color: var(--c-blue-light); margin: 0 0 .9rem;
}
.footnote { font-size: .875rem; color: var(--c-muted); margin-top: 1rem; }
.microcopy { font-size: .9rem; color: var(--c-muted); margin: .85rem 0 0; }
.note-inline { color: var(--c-muted); font-size: .9em; }

/* Platzhalter, die vor Livegang ersetzt werden müssen – sichtbar markiert */
.todo-val, .todo-note {
  background: #FFF3CD; color: #7A5B00; border-bottom: 1px dashed #C7A008;
  padding: 0 .25em; border-radius: 3px; font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 700; line-height: 1.2;
  padding: .95rem 1.5rem; border: 2px solid transparent; border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-blue); color: #fff; box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--c-blue-mid); color: #fff; box-shadow: var(--sh-md); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.0625rem; }
.btn--sm { padding: .6rem 1.1rem; font-size: .9375rem; }
/* Loest den frueheren WhatsApp-Knopf ab: zurueckhaltender Zweitknopf,
   damit der Rechner-CTA die Hauptrolle behaelt. */
.btn--mail {
  background: #fff; color: var(--c-blue);
  border-color: var(--c-line); box-shadow: var(--sh-sm);
}
.btn--mail:hover {
  background: var(--c-sky); color: var(--c-blue-dark);
  border-color: var(--c-sky-deep); box-shadow: var(--sh-md);
}
.btn--icon { padding: .85rem; }
.textlink { font-weight: 600; }
.linklike {
  background: none; border: 0; padding: 0; font: inherit;
  color: inherit; cursor: pointer; text-decoration: underline;
  text-underline-offset: 2px;
}
.cta-block { margin-top: 2rem; }
.cta-block--center { text-align: center; margin-top: 2.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--sh-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 70px; padding-block: .6rem;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.brand__logo { width: auto; height: 30px; }
@media (max-width: 560px) { .brand__logo { height: 26px; } }
.brand__agency {
  font-size: .8125rem; line-height: 1.25; color: var(--c-muted);
  padding-left: .75rem; border-left: 1px solid var(--c-line);
}
.brand__agency small { display: block; font-size: .75rem; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .9375rem; color: var(--c-blue);
  text-decoration: none; white-space: nowrap;
}
.header-phone:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .brand__agency { display: none; }
  .header-phone span { display: none; }
  .header-phone { padding: .55rem; border: 1px solid var(--c-line); border-radius: var(--r-pill); }
}
@media (max-width: 560px) {
  .header-actions .btn--sm { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 88% -12%, var(--c-sky) 0%, rgba(231,240,250,0) 62%),
    linear-gradient(180deg, #fff 0%, #FAFCFF 100%);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}
.h1-accent { color: var(--c-blue); }
.lead { font-size: clamp(1.075rem, 2vw, 1.25rem); color: var(--c-body); max-width: 46ch; }

.checklist { margin: 1.75rem 0 0; display: grid; gap: .7rem; }
.checklist li {
  position: relative; padding-left: 2rem;
  font-weight: 600; color: var(--c-ink); font-size: 1rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--c-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23003781' d='M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6L20.4 8.2 19 6.8z'/%3E%3C/svg%3E") center / 1rem no-repeat;
}

.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); object-fit: cover;
}
.hero__badge {
  position: absolute; left: -.5rem; bottom: 1.5rem;
  background: #fff; border-radius: var(--r-md);
  box-shadow: var(--sh-md); padding: .7rem 1.1rem;
  border-left: 4px solid var(--c-blue);
}
.hero__badge strong { display: block; color: var(--c-blue); font-size: 1rem; }
.hero__badge span { font-size: .8125rem; color: var(--c-muted); }
@media (max-width: 899px) {
  .hero__media { order: -1; }
  .hero__media img { max-height: 340px; }
  .hero__badge { left: auto; right: 1rem; }
}

/* ---------- Kostentabelle ---------- */
.cost-table {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm);
}
.cost-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; border-top: 1px solid var(--c-line);
}
.cost-row:first-child { border-top: 0; }
.cost-row--head {
  background: var(--c-blue); color: #fff;
  font-weight: 700; font-size: .875rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.cost-row:not(.cost-row--head):nth-child(even) { background: #FAFCFF; }
.cost-val { font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.cost-row--head .cost-val { color: #fff; }

/* ---------- Leistungen ---------- */
.benefits {
  display: grid; gap: clamp(1rem, 2.4vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
}
.benefit {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: 1.75rem 1.5rem; box-shadow: var(--sh-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.benefit__icon {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; margin-bottom: 1rem;
  background: var(--c-sky); border-radius: var(--r-md); font-size: 1.5rem;
}
.benefit p { margin: 0; color: var(--c-body); }

/* ---------- Tarifetabelle ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tariff-table {
  min-width: 680px; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--sh-sm);
}
.tariff-table th, .tariff-table td {
  padding: 1rem .9rem; text-align: center; border-top: 1px solid var(--c-line);
}
.tariff-table thead th {
  border-top: 0; background: var(--c-blue); color: #fff;
  font-size: 1rem; position: relative; vertical-align: bottom; padding-top: 1.6rem;
}
.tariff-table thead th.is-featured { background: var(--c-blue-dark); }
.tariff-table tbody th[scope="row"] {
  text-align: left; color: var(--c-ink); font-weight: 600;
  background: #FAFCFF; min-width: 190px;
}
.tariff-table td.is-featured { background: var(--c-sky); font-weight: 700; color: var(--c-ink); }
.tariff-badge {
  position: absolute; top: .45rem; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--c-blue-dark);
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .1rem .55rem; border-radius: var(--r-pill);
  white-space: nowrap;
}
.is-no { color: var(--c-muted); }

/* ---------- Über uns ---------- */
.about__grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) { .about__grid { grid-template-columns: .85fr 1.15fr; } }
.about__media img { border-radius: var(--r-lg); box-shadow: var(--sh-md); width: 100%; object-fit: cover; }
.counters {
  display: grid; gap: 1rem; margin: 2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.counters li {
  background: var(--c-bg-alt); border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: 1.1rem 1rem; text-align: center;
}
.counters strong {
  display: block; font-size: clamp(1.6rem, 3.4vw, 2.15rem);
  color: var(--c-blue); line-height: 1.1; font-variant-numeric: tabular-nums;
}
.counters span { font-size: .875rem; color: var(--c-muted); }
.office-hours {
  background: var(--c-sky); border-left: 4px solid var(--c-blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: .8rem 1rem; font-size: .9375rem; color: var(--c-ink);
}
.office-hours strong { color: var(--c-blue); }

/* ---------- Kundenstimmen ---------- */
.quotes {
  display: grid; gap: clamp(1rem, 2.4vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.quote {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: 1.6rem 1.5rem; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; gap: .5rem;
}
.quote__stars { color: #F2A007; letter-spacing: .12em; margin: 0; font-size: 1.05rem; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; color: var(--c-body); }
.quote__author { margin: auto 0 0; font-size: .875rem; color: var(--c-muted); padding-top: .5rem; }
.quote__author strong { color: var(--c-ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 2.75rem 1.15rem 0; position: relative;
  font-weight: 700; color: var(--c-ink); font-size: 1.0625rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%;
  width: 1.5rem; height: 1.5rem; margin-top: -.75rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23003781' d='M12 15.4 5.6 9l1.4-1.4 5 5 5-5L18.4 9z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--c-blue); }
.faq__body { padding: 0 2.75rem 1.3rem 0; }
.faq__body p { margin: 0; }

/* ---------- Abschluss-CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--c-blue-dark) 0%, var(--c-blue) 55%, var(--c-blue-mid) 100%);
  color: #fff;
}
.final-cta h2 { color: #fff; }
.final-cta .lead { color: rgba(255, 255, 255, .88); margin-inline: auto; }
.final-cta .btn--primary { background: #fff; color: var(--c-blue); }
.final-cta .btn--primary:hover { background: var(--c-sky); color: var(--c-blue-dark); }
.final-cta .microcopy { color: rgba(255, 255, 255, .8); }
.final-cta .textlink { color: #fff; }
.final-cta :focus-visible { outline-color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: #101A2B; color: #B9C4D4;
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; font-size: .9375rem;
}
.footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.site-footer h3 { color: #fff; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .6rem; }
.site-footer h3 + h3 { margin-top: 1.4rem; }
.site-footer a, .site-footer .linklike { color: #B9C4D4; }
.site-footer a:hover, .site-footer .linklike:hover { color: #fff; }
.footer__brand { color: #fff; font-weight: 700; margin-bottom: .5rem; }
.footer__brand span { font-weight: 400; color: #B9C4D4; }
.site-footer address { font-style: normal; }
.footer__list li { margin-bottom: .35rem; }
.footer__social { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1rem; font-size: .875rem; }
.site-footer address a { display: inline-block; margin-top: .35rem; }
.footer__hours { margin: 0; }
.footer__legal {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8125rem; color: #8A98AC;
}
.footer__legal p { margin: 0 0 .5rem; }
.site-footer .todo-val { background: rgba(255, 214, 0, .18); color: #FFD866; border-bottom-color: #FFD866; }

/* ---------- Sticky Mobile CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: none; gap: .6rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 20px rgba(16, 32, 56, .1);
}
.sticky-cta .btn--primary { flex: 1; }
@media (max-width: 767px) {
  .sticky-cta:not([hidden]) { display: flex; }
  body { padding-bottom: 4.5rem; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .sticky-cta, .cta-block, .final-cta .btn { display: none !important; }
  body { color: #000; }
}

/* =============================================================
   Rechtsseiten (impressum.html, datenschutz.html)
   ============================================================= */
.legal-header {
  border-bottom: 1px solid var(--c-line); background: #fff;
  position: sticky; top: 0; z-index: 50;
}
.legal-header .header-inner { min-height: 66px; }
.back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

.legal {
  max-width: 780px; margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .35em; }
.legal .legal-lead { color: var(--c-muted); margin-bottom: 2.5rem; }
.legal h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  margin-top: 2.75rem; padding-top: 1.75rem;
  border-top: 1px solid var(--c-line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 2rem; }
.legal h3 { font-size: 1.0625rem; margin-top: 1.75rem; }
.legal p, .legal li { color: var(--c-body); }
.legal ul.bullets { list-style: disc; padding-left: 1.35rem; margin: 0 0 1.1em; }
.legal ul.bullets li { margin-bottom: .4rem; }
.legal address { font-style: normal; margin-bottom: 1.1em; }

.legal dl { margin: 0 0 1.5rem; }
.legal dt { font-weight: 700; color: var(--c-ink); margin-top: 1rem; }
.legal dd { margin: .15rem 0 0; }

.legal .toc {
  background: var(--c-bg-alt); border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem;
}
.legal .toc strong { display: block; margin-bottom: .5rem; color: var(--c-ink); }
.legal .toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; }
.legal .toc li { margin-bottom: .3rem; break-inside: avoid; }
@media (max-width: 560px) { .legal .toc ol { columns: 1; } }

.notice {
  border-left: 4px solid #C7A008; background: #FFF9E6;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1rem 1.25rem; margin: 0 0 2.5rem;
}
.notice strong { color: #7A5B00; }
.notice p { margin: 0; color: #6B5200; font-size: .9375rem; }

.legal .meta-updated { font-size: .875rem; color: var(--c-muted); margin-top: 3rem; }

/* =============================================================
   Bewegung & Charakter
   Alles respektiert prefers-reduced-motion (globale Regel oben).
   Reveal-Effekte greifen nur mit JS (.js auf <html>) – ohne JS
   bleibt jeder Inhalt sichtbar.
   ============================================================= */

/* ---------- Scroll-Reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero-Einstieg ---------- */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.96); }       to { opacity: 1; transform: none; } }
@keyframes float   { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(-4deg); } }
@keyframes underline { to { background-size: 100% .26em; } }

.js .hero__copy > * { animation: fadeUp .7s cubic-bezier(.22, .61, .36, 1) both; }
.js .hero__copy > :nth-child(1) { animation-delay: .05s; }
.js .hero__copy > :nth-child(2) { animation-delay: .15s; }
.js .hero__copy > :nth-child(3) { animation-delay: .28s; }
.js .hero__copy > :nth-child(4) { animation-delay: .40s; }
.js .hero__copy > :nth-child(5) { animation-delay: .52s; }
.js .hero__media img { animation: scaleIn .9s cubic-bezier(.22, .61, .36, 1) .2s both; }
.js .hero__badge     { animation: fadeUp .6s ease .8s both; }

/* Akzentzeile der H1 bekommt eine wachsende Markierung */
.h1-accent {
  background: linear-gradient(var(--c-sky-deep), var(--c-sky-deep)) no-repeat 0 90% / 0% .26em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .04em;
}
.js .h1-accent { animation: underline .9s cubic-bezier(.22, .61, .36, 1) .95s forwards; }
.no-js .h1-accent, html:not(.js) .h1-accent { background-size: 100% .26em; }

/* Pfote hinter dem Hero-Bild, schwebt leicht */
.hero__media { isolation: isolate; }
.hero__media::before {
  content: ""; position: absolute; z-index: -1;
  top: -9%; right: -7%; width: 56%; aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23003781' d='M4.5 9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zm5-3a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zm5 0a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zm5 3a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM12 11c-2.6 0-4.8 1.7-6.3 3.6-1 1.2-1.7 2.6-1.7 4A3.4 3.4 0 0 0 7.4 22c1.2 0 2.4-.4 3.4-.8.8-.3 1.6-.3 2.4 0 1 .4 2.2.8 3.4.8a3.4 3.4 0 0 0 3.4-3.4c0-1.4-.7-2.8-1.7-4C16.8 12.7 14.6 11 12 11z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .07; animation: float 9s ease-in-out infinite;
}
.hero__badge { border-left-color: #F2A007; }
.hero__badge strong { color: var(--c-ink); }

/* ---------- Mikro-Interaktionen ---------- */
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.benefit__icon { transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.benefit:hover .benefit__icon { transform: translateY(-3px) rotate(-6deg); }
.quote { transition: transform .18s ease, box-shadow .18s ease; }
.quote:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

@keyframes pop { 0% { transform: scale(.94); color: var(--c-blue); } 100% { transform: none; } }
.cost-row.is-visible .cost-val { display: inline-block; animation: pop .5s ease .25s both; }

@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq__item[open] .faq__body { animation: faqIn .3s ease; }

@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
.sticky-cta:not([hidden]) { animation: slideUp .35s cubic-bezier(.22, .61, .36, 1); }

/* Header wird beim Scrollen kompakter */
.header-inner { transition: min-height .25s ease; }
.site-header.is-scrolled .header-inner { min-height: 58px; }
.brand__logo { transition: height .25s ease; }
.site-header.is-scrolled .brand__logo { height: 26px; }

/* Empfohlene Tarifspalte: sanfter Puls beim Erscheinen */
@keyframes glow { 0%, 100% { box-shadow: inset 0 0 0 0 rgba(0, 55, 129, 0); } 50% { box-shadow: inset 0 0 0 2px rgba(0, 55, 129, .35); } }
.table-scroll.is-visible .tariff-table td.is-featured { animation: glow 1.6s ease .5s 1; }

/* =============================================================
   Rechtsseiten: Kopfband, Brotkrumen, Lesefortschritt
   ============================================================= */
.progress {
  position: fixed; top: 0; left: 0; z-index: 100;
  height: 3px; width: 0; background: var(--c-blue-light);
  transition: width .08s linear;
}
.legal-band {
  background:
    radial-gradient(700px 260px at 100% 0%, var(--c-sky) 0%, rgba(231, 240, 250, 0) 70%),
    linear-gradient(180deg, #fff 0%, #FAFCFF 100%);
  border-bottom: 1px solid var(--c-line);
}
.legal-band .wrap { max-width: 780px; padding-block: clamp(2rem, 4vw, 3.25rem); }
.crumbs { font-size: .875rem; color: var(--c-muted); margin: 0 0 .9rem; }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 .4rem; }
.legal-band h1 { margin: 0 0 .3em; }
.legal-band .legal-lead { margin: 0; }
.legal-band--impressum h1::after,
.legal-band--datenschutz h1::after {
  content: ""; display: block; width: 3.5rem; height: 4px; margin-top: .8rem;
  border-radius: 2px; background: var(--c-blue);
}
.legal-band--datenschutz h1::after { background: var(--c-blue-light); }
.legal { padding-top: clamp(2rem, 4vw, 3rem); }
.js .legal > .reveal { transition-delay: 0s; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem var(--gutter); }
.notfound__paw { width: 88px; height: 88px; margin: 0 auto 1.5rem; opacity: .9; animation: float 6s ease-in-out infinite; }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.notfound p { color: var(--c-muted); max-width: 40ch; margin-inline: auto; }

/* =============================================================
   Eigener Akzent: Unfall
   Allianz-Blau bleibt Primaerfarbe. Der Akzent faerbt nur
   Overline, Headline-Markierung, Hero-Verlauf und Badge-Kante,
   damit die Seiten unterscheidbar bleiben.
   ============================================================= */
:root {
  --c-accent:      #B4451F;
  --c-accent-soft: #FCEDE6;
  --c-accent-line: #F3D2C2;
}
.hero {
  background:
    radial-gradient(760px 380px at 92% -10%, var(--c-accent-soft) 0%, rgba(255, 255, 255, 0) 66%),
    radial-gradient(900px 460px at 8% 0%, var(--c-sky) 0%, rgba(231, 240, 250, 0) 62%),
    linear-gradient(180deg, #fff 0%, #FAFCFF 100%);
}
.overline { color: var(--c-accent); }
.h1-accent { background-image: linear-gradient(var(--c-accent-soft), var(--c-accent-soft)); }
.hero__badge { border-left-color: var(--c-accent-line); }
.benefit__icon { background: var(--c-accent-soft); }
.legal-band--impressum h1::after { background: var(--c-accent); }

/* Passendes Motiv hinter dem Hero-Bild statt der Hundepfote */
.hero__media::before {
  background-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'><path%20fill='%23B4451F'%20d='M12%202%204%205.2v6.1c0%204.8%203.4%209.3%208%2010.7%204.6-1.4%208-5.9%208-10.7V5.2L12%202zm1%205v3h3v2h-3v3h-2v-3H8v-2h3V7h2z'/></svg>");
  opacity: .08;
}
