/* Mobile polish layered on the supplied visual design. */
html { scroll-padding-top: 110px; }
body { overflow-x: clip; }
a, button, select { touch-action: manipulation; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid #2584d6; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 16px; background: white; color: #135b9e; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.mobile-menu-button { display: none; }
@media (max-width: 639px) {
  header > div { gap: 0; padding: 10px 14px; }
  header img { height: 40px; }
  .mobile-menu-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid #c9d9e8; border-radius: 8px; background: #fff; color: #145da0; font: 700 13px/1 Inter, sans-serif; text-transform: uppercase; }
  .mobile-menu-button span { font-size: 20px; line-height: 1; }
  #mobile-navigation { display: none; width: 100%; padding-top: 12px; gap: 4px; }
  .mobile-menu-button[aria-expanded="true"] + #mobile-navigation { display: grid; }
  #mobile-navigation a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; font-size: 14px; }
  #mobile-navigation a[aria-current="page"] { background: #e6f2fb; }
  main h1, main h2 { overflow-wrap: anywhere; text-wrap: balance; }
  main p { overflow-wrap: break-word; }
  main a[class*="px-7"], main button[class*="px-7"] { min-height: 44px; }
  form input, form textarea, form select { min-height: 44px; font-size: 16px; }
  form select { background-color: #fff; color: #293948; }
  footer a { display: inline-flex; align-items: center; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 639px) {
  main a[class*="whitespace-nowrap"], main button[class*="whitespace-nowrap"] { white-space: normal; text-align: center; }
  main a[class*="inline-flex"], main button[class*="inline-flex"] { max-width: 100%; }
}
@media (max-width: 359px) {
  main p[class*="text-6xl"] { font-size: clamp(2.5rem, 13vw, 3.75rem); }
  main p[class*="text-6xl"] span { white-space: normal; }
}
/* A clearer brand hierarchy: blue, white, and the work itself. */
:root { --ui-ink: #173a58; --ui-blue: #145fa7; --ui-pale: #e9f3fa; --ui-line: #c8dcea; }
main h1, main h2, main h3 { text-wrap: balance; }
main h1 { letter-spacing: -.045em; }
main h2 { letter-spacing: -.035em; }
main p { line-height: 1.65; }
header > div { border-color: #d1e1ed; box-shadow: 0 12px 30px -22px #163f62; }
main :is(a, button):focus-visible, header :is(a, button):focus-visible { outline: 3px solid #81c6f0; outline-offset: 3px; }
[data-page="leistungen"] main > .grid > div { border: 1px solid var(--ui-line); border-top: 4px solid var(--ui-blue); box-shadow: 0 14px 32px -28px #174c78; }
[data-page="leistungen"] main > .grid > div:hover { transform: none; box-shadow: 0 14px 32px -28px #174c78; }
[data-page="referenzen"] figure img { transition-duration: .25s; }
[data-page="referenzen"] figcaption { line-height: 1.3; }
@media (max-width: 639px) {
  body { background: #f4f8fb; }
  header { padding: 10px 12px 0; }
  header > div { border-radius: 12px; padding: 10px 12px; box-shadow: 0 12px 30px -16px #14446c66; }
  main h1 { font-size: clamp(2.25rem, 9vw, 3.25rem); line-height: 1.06; color: var(--ui-ink); }
  main h2 { font-size: clamp(1.75rem, 7vw, 2.15rem); line-height: 1.15; }
  main h3 { line-height: 1.25; }
  main p { font-size: 16px; line-height: 1.65; }
  main > section:not(:first-child):not([class*="overflow-hidden"]) { padding-top: 56px; padding-bottom: 56px; }
  main section[class*="bg-secondary"], main section[class*="bg-card"] { border-block: 1px solid var(--ui-line); }
  main a[class*="bg-primary"], main button[class*="bg-primary"] { border-radius: 10px; box-shadow: 0 9px 20px -14px #073e70; font-size: 15px; font-weight: 700; }
  main figure img { border-radius: 10px; }
  main figure figcaption { margin-top: 12px; font-size: 15px; font-weight: 700; }
  main [class*="rounded-2xl"][class*="bg-card"] { border: 1px solid var(--ui-line); box-shadow: 0 14px 28px -26px #13466d; }
  main [class*="rounded-2xl"][class*="bg-card"]:hover { transform: none; }
  main button[aria-controls*="-panel-"] { min-height: 58px; font-size: 16px; }
  [data-page="start"] main > section:first-child { height: auto; min-height: min(840px, 100svh); }
  [data-page="start"] main > section:first-child > img { object-position: 61% center; animation: none !important; transform: none; }
  [data-page="start"] .hero-shade { background: linear-gradient(90deg, #0b3d69eb 0%, #0b3d69d9 48%, #0b3d699c 100%); }
  [data-page="start"] main > section:first-child > div:last-child { justify-content: flex-end; padding: 145px 24px 62px; }
  [data-page="start"] main > section:first-child h1 { max-width: 360px; font-size: clamp(2.55rem, 10vw, 3.5rem); line-height: 1.02; color: white; }
  [data-page="start"] main > section:first-child p { max-width: 340px; margin-top: 22px; font-size: 16px; line-height: 1.55; color: #f4f9fd; }
  [data-page="start"] main > section:first-child .slide-in { animation: none !important; transform: none !important; opacity: 1 !important; }
  [data-page="start"] main > section:first-child .slide-in:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 28px; }
  [data-page="start"] main > section:first-child .slide-in:last-child a { min-width: 0; min-height: 52px; padding: 12px; font-size: 13px; line-height: 1.2; border-radius: 8px; }
  [data-page="start"] main > section:first-child .slide-in:last-child a:first-child { grid-column: 1 / -1; background: white; color: var(--ui-blue); font-size: 16px; }
  [data-page="start"] main > section:first-child .slide-in:last-child a:not(:first-child) { background: #0f548f; border-color: #83b9df; color: white; }
  [data-page="start"] main > section:nth-child(2) { text-align: left; }
  [data-page="start"] main > section:nth-child(2) h2 { color: var(--ui-ink); }
  [data-page="start"] main > section:nth-child(2) p { margin-top: 22px; color: #4b6072; }
  [data-page="leistungen"] main, [data-page="kontakt"] main, [data-page="referenzen"] main { padding-top: 62px; }
  [data-page="leistungen"] main > h1, [data-page="kontakt"] main > h1, [data-page="referenzen"] main > h1 { color: var(--ui-ink); }
  [data-page="leistungen"] main > p, [data-page="kontakt"] main > p { color: #4b6072; }
  [data-page="leistungen"] main > .grid { gap: 14px; margin-top: 36px; }
  [data-page="leistungen"] main > .grid > div { padding: 24px; border-radius: 10px; }
  [data-page="leistungen"] main > .grid h2 { color: var(--ui-blue); font-size: 21px; }
  [data-page="leistungen"] main > .grid p { margin-top: 10px; }
  [data-page="privatkunden"] main > section:first-child { padding-top: 62px; padding-bottom: 60px; }
  [data-page="privatkunden"] main > section:first-child p:last-of-type { color: #4b6072; }
  [data-page="privatkunden"] main > section:nth-child(2) > div > div > div { border-top-color: var(--ui-blue); }
  [data-page="referenzen"] main figure > div { border-radius: 10px; box-shadow: 0 16px 30px -24px #0e456e; }
  [data-page="kontakt"] main > a { display: flex; width: 100%; margin-left: 0; margin-top: 12px; }
  [data-page="kontakt"] main > a:first-of-type { margin-top: 28px; }
  [data-page="kontakt"] main dt { color: var(--ui-blue); }
}
/* Keep page titles stable and readable from the first frame. */
.slide-in { animation: none !important; transform: none !important; opacity: 1 !important; }
@media (max-width: 639px) {
  [data-page="start"] .hero-shade { background: linear-gradient(90deg, #0b3d69ed 0%, #0b3d69cc 48%, #0b3d6966 100%); }
}
@media (min-width: 640px) {
  body { background: #f4f8fb; }
  [data-page="start"] .hero-shade { background: linear-gradient(90deg, #0b3d69e8 0%, #0b3d69b8 42%, #0b3d691f 78%); }
  [data-page="start"] main > section:first-child h1 { max-width: 780px; font-size: clamp(3.5rem, 5.2vw, 5rem); line-height: 1.03; letter-spacing: -.05em; }
  [data-page="start"] main > section:first-child p { max-width: 590px; font-size: 19px; line-height: 1.6; }
  [data-page="start"] main > section:first-child .slide-in:last-child { gap: 12px; }
  [data-page="start"] main > section:first-child .slide-in:last-child a { min-height: 54px; padding-inline: 24px; font-weight: 700; }
  [data-page="start"] main > section:nth-child(2) { margin-block: 56px; padding: 54px 64px; background: white; border-left: 6px solid var(--ui-blue); border-radius: 12px; box-shadow: 0 20px 45px -38px #0f4773; text-align: left; }
  [data-page="start"] main > section:nth-child(2) h2 { font-size: clamp(2rem, 3vw, 2.75rem); color: var(--ui-ink); }
  [data-page="start"] main > section:nth-child(2) p { max-width: 700px; margin-inline: 0; font-size: 18px; }
  [data-page="leistungen"] main > h1, [data-page="kontakt"] main > h1, [data-page="referenzen"] main > h1, [data-page="privatkunden"] main h1 { color: var(--ui-ink); }
  [data-page="leistungen"] main > h1, [data-page="kontakt"] main > h1, [data-page="referenzen"] main > h1 { font-size: clamp(3rem, 4.5vw, 4.5rem); line-height: 1.05; }
  [data-page="leistungen"] main > .grid { gap: 22px; }
  [data-page="leistungen"] main > .grid > div { padding: 34px; border-radius: 12px; }
  [data-page="leistungen"] main > .grid h2 { font-size: 22px; }
  [data-page="referenzen"] figure > div { border-radius: 12px; box-shadow: 0 20px 40px -28px #0c3f68; }
}
.lead-form-section { scroll-margin-top: 110px; max-width: 760px; margin: 58px auto 0; padding: 36px; border: 1px solid var(--ui-line); border-radius: 14px; background: white; box-shadow: 0 18px 40px -34px #124672; }
.lead-form-section h2 { color: var(--ui-ink); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.lead-form-section > p { max-width: 560px; margin-top: 10px; color: #4b6072; }
.lead-form-section .lead-form-note { margin-top: 12px; font-size: 14px; color: #6a5b24; }
.lead-form-section form { margin-top: 26px; padding: 0; box-shadow: none; border: 0; }
.lead-bar { display: none; }
.whatsapp-contact { position: fixed; z-index: 44; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; background: #128c52; color: #fff; box-shadow: 0 12px 30px #123b2952; font-size: 15px; font-weight: 700; text-decoration: none; }
.whatsapp-contact:hover, .whatsapp-contact:focus-visible { background: #0b7140; color: #fff; }
@media (max-width: 639px) {
  body { padding-bottom: 72px; }
  .lead-form-section { margin-top: 48px; padding: 24px 18px; border-radius: 10px; }
  .lead-form-section form { margin-top: 20px; }
  .lead-bar { position: fixed; z-index: 45; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: #fff; border-top: 1px solid var(--ui-line); box-shadow: 0 -10px 30px -24px #0a3b65; }
  .lead-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 8px; font-size: 14px; font-weight: 700; text-align: center; }
  .lead-bar a:first-child { border: 1px solid var(--ui-blue); color: var(--ui-blue); }
  .lead-bar a.whatsapp-mobile { background: #128c52; color: #fff; }
  .lead-bar a:last-child { background: var(--ui-blue); color: #fff; }
  body.has-lead-bar .whatsapp-contact { display: none; }
  body[data-page="danke"] .whatsapp-contact { bottom: max(18px, env(safe-area-inset-bottom)); }
  body:has(form:focus-within) .lead-bar { display: none; }
}
.lead-preview-note { margin: 20px auto 0; max-width: 640px; color: #e8f5ff; font-size: 14px; text-align: center; }
/* Focused landing page for the first search campaign. */
.campaign-main { color: var(--ui-ink); background: #f4f8fb; }
.campaign-main h1, .campaign-main h2 { color: var(--ui-ink); }
.campaign-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1400px; margin: 0 auto; min-height: 590px; }
.campaign-hero-copy { align-self: center; padding: 80px clamp(32px, 7vw, 100px); }
.campaign-kicker, .campaign-heading > p, .campaign-photo > div > p:first-child, .campaign-form > div > p:first-child { color: var(--ui-blue); font-size: 14px; font-weight: 700; }
.campaign-hero h1 { margin-top: 18px; max-width: 700px; font-size: clamp(2.7rem, 4.4vw, 4.7rem); line-height: 1.05; letter-spacing: -.05em; }
.campaign-hero-copy > p:not(.campaign-kicker) { margin-top: 24px; max-width: 590px; font-size: 19px; color: #4a6174; }
.campaign-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.campaign-primary, .campaign-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; border-radius: 8px; font-weight: 700; text-align: center; }
.campaign-primary { background: var(--ui-blue); color: white; }
.campaign-secondary { border: 1px solid var(--ui-blue); color: var(--ui-blue); }
.campaign-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.campaign-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 22px max(24px, calc((100vw - 1180px)/2)); background: #145fa7; color: white; text-align: center; }
.campaign-proof span { font-size: 15px; }
.campaign-proof strong { display: block; font-size: 23px; }
.campaign-section { max-width: 1180px; margin: 0 auto; padding: 88px 24px; }
.campaign-heading { max-width: 700px; }
.campaign-heading h2, .campaign-photo h2, .campaign-form h2 { margin-top: 12px; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.12; }
.campaign-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.campaign-grid article { padding: 30px; border-top: 4px solid var(--ui-blue); background: white; border-radius: 8px; box-shadow: 0 15px 32px -28px #124672; }
.campaign-grid h3 { color: var(--ui-blue); font-size: 22px; }
.campaign-grid p { margin-top: 12px; color: #4a6174; }
.campaign-photo { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; background: #e6f2fa; }
.campaign-photo img { width: 100%; height: 100%; object-fit: cover; }
.campaign-photo > div { align-self: center; max-width: 570px; padding: 60px clamp(24px, 6vw, 90px); }
.campaign-photo > div > p:nth-of-type(2) { margin: 22px 0 28px; color: #4a6174; }
.campaign-process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; padding: 0; list-style: none; }
.campaign-process li { padding: 24px 0; border-top: 2px solid var(--ui-blue); }
.campaign-process strong, .campaign-process span { display: block; }
.campaign-process strong { font-size: 20px; }
.campaign-process span { margin-top: 10px; color: #4a6174; }
.campaign-form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; padding: 80px max(24px, calc((100vw - 1180px)/2)); background: #e6f2fa; scroll-margin-top: 110px; }
.campaign-form > div:first-child { max-width: 400px; }
.campaign-form > div:first-child > p:last-of-type { margin-top: 20px; color: #4a6174; }
.campaign-form > div:first-child > a { display: inline-block; margin-top: 24px; color: var(--ui-blue); font-weight: 700; }
.campaign-form form { margin-top: 12px; background: white; }
.campaign-form .lead-form-note { color: #6a5b24; font-size: 14px; }
@media (max-width: 767px) {
  .campaign-hero, .campaign-photo, .campaign-form { grid-template-columns: 1fr; }
  .campaign-hero { display: flex; flex-direction: column-reverse; }
  .campaign-hero > img { height: 245px; }
  .campaign-hero-copy { padding: 34px 24px 52px; }
  .campaign-hero h1 { font-size: clamp(2.3rem, 9vw, 3.5rem); }
  .campaign-hero-copy > p:not(.campaign-kicker) { font-size: 16px; }
  .campaign-actions > a { flex: 1 1 140px; }
  .campaign-proof { gap: 0; padding: 14px 12px; }
  .campaign-proof span { padding: 8px; font-size: 11px; line-height: 1.3; }
  .campaign-proof strong { font-size: 17px; }
  .campaign-section { padding: 58px 24px; }
  .campaign-grid, .campaign-process ol { grid-template-columns: 1fr; gap: 12px; }
  .campaign-grid article { padding: 24px; }
  .campaign-photo img { height: 260px; }
  .campaign-photo > div { padding: 48px 24px; }
  .campaign-form { padding: 56px 24px; gap: 22px; }
  .campaign-form form { padding: 24px 18px; }
}
.contact-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.contact-intro { min-width: 0; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.contact-actions a { min-height: 48px; text-decoration: none; }
.contact-actions .contact-whatsapp { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 6px; background: #128c52; color: #fff; font-size: 14px; font-weight: 700; }
.contact-actions .contact-whatsapp:hover, .contact-actions .contact-whatsapp:focus-visible { background: #0b7140; color: #fff; }
[data-page="kontakt"] .contact-top .lead-form-section { margin: 0; padding: 26px; }
[data-page="kontakt"] .contact-top .lead-form-section form { margin-top: 20px; }
.map-link-card { margin-top: 12px; padding: 22px; border: 1px solid var(--ui-line); border-radius: 12px; background: white; }
.map-link-card p { color: var(--ui-ink); font-weight: 600; }
.map-link-card a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; color: var(--ui-blue); font-weight: 700; }
.privacy-form-note { margin-top: 16px; font-size: 13px; line-height: 1.5; color: #52697b; }
.privacy-form-note a { color: var(--ui-blue); text-decoration: underline; }
@media (max-width: 767px) {
  .contact-top { grid-template-columns: 1fr; gap: 28px; }
  [data-page="kontakt"] .contact-top .lead-form-section { padding: 22px 18px; }
  .contact-actions a { flex: 1 1 180px; }
}
.legal-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; padding: 14px 24px 22px; background: #145fa7; color: white; font-size: 14px; }
.legal-footer-links a { min-height: 36px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.legal-footer-links button { min-height: 36px; text-decoration: underline; text-underline-offset: 3px; }
.consent-banner { position: fixed; z-index: 80; right: 16px; bottom: 16px; left: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1040px; margin: auto; padding: 22px 24px; border: 1px solid var(--ui-line); border-radius: 12px; background: #fff; color: var(--ui-ink); box-shadow: 0 14px 48px #173a5840; }
.consent-banner h2 { font-size: 20px; font-weight: 700; }
.consent-banner p { max-width: 620px; margin-top: 5px; font-size: 14px; line-height: 1.5; }
.consent-banner a { color: var(--ui-blue); text-decoration: underline; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; max-width: 500px; }
.consent-actions button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--ui-blue); border-radius: 8px; color: var(--ui-blue); font-weight: 700; }
.consent-actions button:last-child { background: var(--ui-blue); color: #fff; }
@media (max-width: 767px) {
  .consent-banner { bottom: 82px; flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
  .consent-actions { display: grid; grid-template-columns: 1fr; max-width: none; }
}
.legal-page { max-width: 900px; margin: 0 auto; padding: 70px 24px 100px; }
.legal-page h1 { color: var(--ui-ink); font-size: clamp(2.5rem, 5vw, 4rem); }
.legal-page h2 { margin-bottom: 12px; color: var(--ui-blue); font-size: 24px; }
.legal-page section { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--ui-line); }
.legal-page p { margin-top: 12px; line-height: 1.7; }
.legal-page a { color: var(--ui-blue); text-decoration: underline; }
.legal-draft { margin-top: 24px; padding: 18px 20px; border-left: 4px solid #a77b24; background: #fff7df; color: #4b3c1d; }
.legal-pending { color: #8c5616; font-weight: 600; }
.contact-vcard-row { grid-column: 1 / -1; margin-bottom: -12px; }
.contact-vcard-row .contact-vcard { margin: 0; padding: 0; min-height: 44px; border: 0; box-shadow: none; background: transparent; color: var(--ui-blue); text-decoration: underline; }
@media (max-width: 639px) { .contact-vcard-row { margin-bottom: -20px; } }

/* Kontakt: klare, gleichwertige Blöcke statt langer Trennlinien und Kartenplatzhalter. */
.contact-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 64px; align-items: start; }
.contact-details h2 { color: var(--ui-ink); font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
.contact-details .section-kicker { color: var(--ui-blue); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.contact-methods { display: grid; gap: 12px; margin-top: 26px; }
.contact-method { padding: 18px 20px; border: 1px solid var(--ui-line); border-radius: 14px; background: #fff; }
.contact-method dt { color: #64727e; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-method dd { margin-top: 5px; color: var(--ui-ink); font-size: clamp(18px, 2vw, 23px); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.contact-method dd a:hover, .contact-method dd a:focus-visible { color: var(--ui-blue); text-decoration: underline; }
.contact-method small { display: block; margin-top: 3px; color: #64727e; font-size: 14px; }
.contact-utility { margin-top: 24px; color: #52616d; font-size: 14px; line-height: 1.5; }
.contact-hours h3 { font-size: 16px; font-weight: 700; }
.contact-hours dl { display: grid; gap: 4px; margin-top: 8px; }
.contact-hours dl > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
.contact-hours dd { white-space: nowrap; }
.contact-hours p { margin: 8px 0 0; }
.contact-utility a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--ui-blue); font-weight: 700; text-decoration: underline; }
.contact-locations { display: grid; gap: 14px; margin-top: 26px; }
.contact-location { padding: 24px; border: 1px solid var(--ui-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(23, 49, 69, .04); }
.contact-location h3 { color: var(--ui-ink); font-size: 21px; line-height: 1.25; }
.contact-location p { margin-top: 10px; color: #52616d; font-size: 16px; line-height: 1.5; }
.contact-location a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; color: var(--ui-blue); font-size: 15px; font-weight: 800; text-decoration: underline; }
.contact-location a:hover, .contact-location a:focus-visible { color: var(--ui-ink); }
.contact-map { display: grid; place-content: center; gap: 8px; min-height: 190px; margin-top: 18px; border: 1px solid var(--ui-line); border-radius: 10px; background: #e9f3fa; text-align: center; }
.contact-map button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--ui-blue); border-radius: 8px; background: #fff; color: var(--ui-blue); font-weight: 700; }
.contact-map small { padding-inline: 12px; color: #52616d; font-size: 12px; }
.contact-map:has(iframe) { display: block; overflow: hidden; }
.contact-map iframe { display: block; width: 100%; height: 240px; border: 0; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 850px) { .contact-details { grid-template-columns: 1fr; margin-top: 48px; } }
@media (max-width: 639px) { .contact-location { padding: 20px; } }

/* The yearly figures share one baseline and stay readable at narrow widths. */
.stats-section { background: #145fa7; color: #fff; }
.stats-shell { max-width: 1280px; margin-inline: auto; padding: clamp(68px, 7vw, 104px) clamp(24px, 4vw, 56px); }
.stats-intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.stats-eyebrow { color: #b9dcf3; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.stats-intro h2 { margin-top: 12px; color: #fff; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; }
.stats-intro > p { max-width: 360px; color: #d9eaf7; font-size: 16px; line-height: 1.55; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid #79add1; }
.stats-item { min-width: 0; padding: 28px 28px 0; border-left: 1px solid #79add1; }
.stats-item:first-child { padding-left: 0; border-left: 0; }
.stats-item dt { color: #c4e1f3; font-size: 14px; font-weight: 700; line-height: 1.35; }
.stats-item dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-top: 24px; font-variant-numeric: tabular-nums; line-height: 1; }
.stats-item dd strong { font-size: clamp(38px, 4vw, 66px); font-weight: 650; letter-spacing: -.055em; }
.stats-item dd span { font-size: clamp(16px, 1.6vw, 23px); }
.stats-item > p { margin-top: 16px; color: #d9eaf7; font-size: 14px; }
@media (max-width: 900px) {
  .stats-intro { display: block; }
  .stats-intro > p { margin-top: 20px; }
  .stats-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .stats-item, .stats-item:first-child { padding: 24px 0; border-left: 0; border-bottom: 1px solid #79add1; }
  .stats-item:last-child { border-bottom: 0; padding-bottom: 0; }
  .stats-item dd { margin-top: 14px; }
}
@media (max-width: 639px) {
  .contact-details h2 { font-size: clamp(28px, 8vw, 34px); }
  .contact-method { padding: 18px 20px; }
  .contact-method dd { font-size: clamp(18px, 5vw, 22px); }
  .inner-faq { padding: 48px 0 56px; }
  .stats-shell { padding-inline: 24px; }
  .legal-page h1 { font-size: clamp(29px, 8vw, 38px); overflow-wrap: normal; }
}

/* Startseite: Kennzahlen als kompakter Block statt fünf hoher Einzelzeilen. */
@media (max-width: 639px) {
  [data-page="start"] main > .home-proof { padding: 20px 0; }
  .home-proof > div { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 24px; }
  .home-proof > div > div { min-width: 0; padding: 18px 10px 20px 0; border-bottom: 1px solid var(--ui-line); }
  .home-proof > div > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--ui-line); }
  .home-proof > div > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .home-proof > div > div p:first-child { font-size: clamp(24px, 7vw, 30px); line-height: 1.1; }
  .home-proof > div > div p:last-child { margin-top: 7px; font-size: 12px; line-height: 1.4; letter-spacing: .04em; }
  .home-proof > div > div p { transform: none !important; }
}

/* Form success page */
[data-page="danke"] { min-height: 100vh; display: flex; flex-direction: column; background: #f3f8fc; color: #173a58; }
.thank-header { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.thank-header img { display: block; width: auto; height: 52px; }
.thank-header > a:last-child { color: #135b9e; font-weight: 700; text-decoration: none; }
.thank-main { flex: 1; display: grid; place-items: center; padding: 52px 24px 80px; }
.thank-card { width: min(720px, 100%); padding: clamp(32px, 6vw, 64px); border: 1px solid #d4e5f0; border-radius: 24px; background: white; box-shadow: 0 22px 60px -45px #17436c; }
.thank-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #e5f5ee; color: #18764d; font-size: 34px; font-weight: 700; }
.thank-kicker { margin: 28px 0 10px; color: #135b9e; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.thank-card h1 { max-width: 580px; color: #173a58; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.035em; }
.thank-intro { max-width: 580px; margin-top: 22px; color: #506475; font-size: clamp(17px, 2vw, 20px); line-height: 1.6; }
.thank-next { margin-top: 36px; padding: 22px 24px; border-left: 4px solid #135b9e; border-radius: 0 10px 10px 0; background: #f0f7fc; }
.thank-next strong { color: #173a58; }
.thank-next p { margin-top: 6px; color: #506475; line-height: 1.55; }
.thank-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.thank-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 9px; font-weight: 700; text-decoration: none; }
.thank-primary { background: #135b9e; color: white; }
.thank-secondary { border: 1px solid #b9d1e5; color: #135b9e; }
.thank-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 24px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid #d4e5f0; color: #596b7b; font-size: 13px; }
.thank-footer .legal-footer-links { display: flex; justify-content: flex-start; gap: 22px; padding: 0; background: transparent; color: inherit; font-size: 13px; }
.thank-footer .legal-footer-links button { color: #135b9e; }
.thank-footer a { color: #135b9e; }
@media (max-width: 600px) {
  .thank-header { width: calc(100% - 36px); padding: 18px 0; }
  .thank-header img { height: 42px; }
  .thank-header > a:last-child { font-size: 13px; }
  .thank-main { padding: 32px 18px 56px; }
  .thank-card { padding: 30px 24px; border-radius: 18px; }
  .thank-actions { flex-direction: column; }
  .thank-actions a { width: 100%; }
  .thank-footer { padding: 24px 18px; }
}
