/* Bahnhofplatz Wil – OnePage Demo
   Keine externen Frameworks, Fonts oder Tracker.
   Mobile-first, kontrastreich und mit sichtbaren Fokuszuständen. */

:root {
  --navy-950: #061426;
  --navy-900: #071a33;
  --navy-800: #0b2444;
  --navy-700: #12345d;
  --blue: #1d5d96;
  --blue-soft: #eaf3fb;
  --yellow: #f6c744;
  --yellow-dark: #d6a800;
  --white: #ffffff;
  --offwhite: #f5f8fb;
  --text: #172437;
  --muted: #5e6c7e;
  --line: #d8e0e9;
  --shadow: 0 18px 45px rgba(5, 20, 38, .13);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.sr-only {
  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: fixed; left: 16px; top: 16px; z-index: 1000;
  transform: translateY(-150%);
  background: var(--yellow); color: var(--navy-950);
  padding: 10px 14px; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 20, 38, .96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: flex; align-items: center; gap: 11px; color: white;
  text-decoration: none; line-height: 1.15;
}
.brand-logo {
  display: block;
  width: 118px;
  height: 58px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
}


.site-nav { display: flex; align-items: center; gap: 5px; }
.site-nav a {
  color: #dbe7f4; text-decoration: none; font-size: .88rem;
  padding: 9px 10px; border-radius: 8px;
}
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(255,255,255,.09); color: white; }
.site-nav .nav-cta { background: var(--yellow); color: var(--navy-950); font-weight: 800; margin-left: 5px; }
.nav-toggle { display: none; }

.hero {
  position: relative; min-height: 730px; display: grid; align-items: center;
  overflow: hidden; background: var(--navy-950); color: white;
}
.hero-image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(4,16,31,.93) 0%, rgba(4,16,31,.78) 42%, rgba(4,16,31,.24) 100%);
}
.hero-content { position: relative; z-index: 2; padding-block: 100px; }
.eyebrow {
  margin: 0 0 13px; text-transform: uppercase; letter-spacing: .13em;
  font-size: .76rem; font-weight: 850; color: var(--yellow);
}
.hero h1 {
  max-width: 760px; margin: 0; font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: .98; letter-spacing: -.045em;
}
.hero h1 span { color: var(--yellow); }
.hero-lead { max-width: 700px; margin: 28px 0 0; font-size: clamp(1.05rem, 2vw, 1.28rem); color: #e3edf7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 48px;
  padding: 12px 19px; border-radius: 10px; text-decoration: none; font-weight: 800;
  border: 2px solid transparent; transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--navy-950); }
.button-primary:hover { background: #ffd85d; }
.button-ghost { color: white; border-color: rgba(255,255,255,.45); background: rgba(0,0,0,.08); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr));
  max-width: 720px; margin-top: 55px; border-top: 1px solid rgba(255,255,255,.25);
}
.hero-facts div { padding: 20px 18px 0 0; }
.hero-facts strong { display: block; font-size: 1.55rem; color: white; }
.hero-facts span { display: block; color: #b9c8da; font-size: .82rem; }

.section { padding: 105px 0; }
.section-light { background: var(--offwhite); }
.section-navy { background: var(--navy-900); color: white; }
.section-blue { background: var(--blue-soft); }
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px; align-items: center;
}
.section-copy h2, .section-heading h2 {
  margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.035em;
}
.section-copy .lead, .section-heading > p:not(.eyebrow) {
  font-size: 1.08rem; color: var(--muted); margin-top: 22px;
}
.section-navy .section-heading > p:not(.eyebrow), .section-navy .section-copy .lead { color: #c6d4e4; }
.section-copy p { max-width: 700px; }
.section-heading { max-width: 850px; margin-bottom: 42px; }
.section-heading.narrow { max-width: 760px; }
.image-card { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: white; }
.image-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.image-card figcaption { padding: 12px 16px; font-size: .8rem; color: var(--muted); }
.text-link { display: inline-flex; gap: 8px; margin-top: 10px; color: var(--blue); font-weight: 850; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reason-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px; padding: 25px;
}
.reason-card .number { color: var(--yellow); font-size: .8rem; font-weight: 900; }
.reason-card h3 { margin: 12px 0 7px; font-size: 1.25rem; }
.reason-card p { margin: 0; color: #c4d2e2; }

.feature-list, .check-list {
  padding: 0; margin: 28px 0 0; list-style: none;
}
.feature-list li, .check-list li {
  position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line);
}
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 13px; color: var(--blue); font-weight: 900;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 13px; color: var(--blue); font-weight: 900;
}
.small-note { color: var(--muted); font-size: .86rem; margin-top: 25px; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card {
  background: white; border: 1px solid var(--line); border-radius: 16px; padding: 28px;
  box-shadow: 0 8px 25px rgba(5,20,38,.05);
}
.stat-card strong { display: block; color: var(--navy-900); font-size: 2.15rem; line-height: 1; margin-bottom: 12px; }
.stat-card span { color: var(--muted); font-size: .9rem; }
.notice {
  margin-top: 24px; padding: 20px 22px; border-left: 4px solid var(--yellow-dark);
  background: #fffaf0; border-radius: 10px;
}
.notice p { margin: 5px 0 0; color: #5e5438; }

.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details {
  border: 1px solid rgba(255,255,255,.13); border-radius: 12px;
  background: rgba(255,255,255,.055); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 22px; font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--yellow); font-size: 1.3rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 22px 21px; color: #c7d4e3; }

.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
blockquote {
  margin: 0; padding: 30px; background: white; border-radius: 15px;
  box-shadow: 0 8px 25px rgba(5,20,38,.06); border-top: 4px solid var(--yellow);
}
blockquote p { margin: 0; font-size: 1.1rem; font-weight: 700; }
blockquote cite { display: block; margin-top: 20px; color: var(--muted); font-size: .85rem; font-style: normal; }
.support-placeholder {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 18px;
}
.support-placeholder span {
  min-height: 75px; display: grid; place-items: center; border: 1px dashed #b8c5d3;
  border-radius: 10px; color: #8794a3; font-size: .8rem;
}

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { background: white; border-radius: 15px; padding: 25px; border: 1px solid var(--line); }
.news-date { color: var(--blue); text-transform: uppercase; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.news-card h3 { margin: 10px 0 8px; line-height: 1.2; }
.news-card p { color: var(--muted); margin: 0; }

.contact-section { padding-bottom: 80px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.contact-section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; }
.contact-section .lead { color: #c8d5e4; }
.contact-card {
  background: white; color: var(--text); border-radius: 16px; padding: 26px;
  display: grid; gap: 22px; box-shadow: var(--shadow);
}
.contact-card > div { display: grid; gap: 3px; }
.contact-label { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.contact-card strong { word-break: break-word; }

.site-footer { background: var(--navy-950); color: #aabbd0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .82rem; }
.footer-inner div { display: flex; gap: 18px; }
.footer-inner a { color: #cdd9e7; text-decoration: none; }
.footer-inner a:hover { color: white; text-decoration: underline; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 1000px) {
  .site-nav { gap: 0; }
  .site-nav a { font-size: .78rem; padding-inline: 7px; }
  .split { gap: 42px; }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: grid; gap: 4px; width: 45px; height: 42px; padding: 10px;
    background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 9px;
  }
  .nav-toggle span:not(.sr-only) { display: block; height: 2px; background: white; border-radius: 2px; }
  .site-nav {
    position: absolute; left: 20px; right: 20px; top: 67px; display: none;
    padding: 10px; flex-direction: column; align-items: stretch;
    background: var(--navy-950); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-cta { margin-left: 0; text-align: center; }
  .hero { min-height: 680px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,16,31,.94), rgba(4,16,31,.56)); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .reason-grid, .stat-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .support-placeholder { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 75px 0; }
  .hero-content { padding-block: 85px; }
  .hero h1 { font-size: clamp(2.7rem, 15vw, 4.3rem); }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { padding-top: 15px; }
  .reason-grid, .stat-grid, .news-grid { grid-template-columns: 1fr; }
  .support-placeholder { grid-template-columns: 1fr 1fr; }
  .footer-inner { padding-block: 20px; align-items: flex-start; flex-direction: column; }
  .footer-inner div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 560px) {
  .brand-logo { width: 96px; height: 48px; }
}


/* Bildvorschau Abschnitt 03 */
.image-card-clickable .image-preview-trigger {
  display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in;
}
.image-card-clickable .image-preview-trigger img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: white;
}
.image-preview {
  position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 56px 28px 28px; border: 0; background: rgba(6, 20, 38, .94);
}
.image-preview:popover-open { display: grid; place-items: center; }
.image-preview::backdrop { background: rgba(6, 20, 38, .72); }
.image-preview img {
  display: block; max-width: min(94vw, 1500px); max-height: calc(100vh - 84px);
  width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow);
}
.image-preview-close {
  position: fixed; top: 18px; right: 22px; z-index: 2; width: 44px; height: 44px;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  background: var(--navy-950); color: white; font: inherit; font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.image-preview-close:hover { background: var(--navy-800); }

/* Manuelle Slideshows */
.slideshow { position: relative; }
.slideshow-track { position: relative; }
.slideshow .slide { display: none; margin: 0; }
.slideshow .slide.is-active { display: block; }
.slideshow .slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slideshow-contain .slide img { object-fit: contain; background: white; }
.slideshow .slide figcaption { min-height: 50px; padding: 12px 72px 12px 16px; font-size: .8rem; color: var(--muted); background: white; }
.slide-arrow {
  position: absolute; top: calc(50% - 25px); z-index: 3; width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(6,20,38,.82);
  color: white; font-family: Arial, sans-serif; font-size: 1.55rem; font-weight: 400; line-height: 1; cursor: pointer;
  padding: 0; display: flex; align-items: center; justify-content: center; transform: translateY(-50%);
}
.slide-prev { left: 14px; }
.slide-next { right: 14px; }
.slide-arrow:hover, .slide-arrow:focus-visible { background: var(--navy-950); }
.slide-counter {
  position: absolute; right: 15px; bottom: 14px; padding: 3px 8px; border-radius: 999px;
  background: var(--navy-900); color: white; font-size: .72rem; font-weight: 800;
}
@media (max-width: 560px) {
  .slide-arrow { width: 40px; height: 40px; font-size: 1.4rem; }
  .slide-prev { left: 8px; } .slide-next { right: 8px; }
}

/* Kampagnendesign 2026 – angelehnt an die gelieferten Plakate */
:root{--navy-950:#082e70;--navy-900:#0b3e91;--navy-800:#0c459b;--navy-700:#1055ad;--blue:#087bc2;--blue-soft:#eaf5ff;--yellow:#ffe500;--yellow-dark:#e6c900;--offwhite:#f5f9ff;--text:#14376d;--muted:#47648d;--line:#c8dcf2;--radius:8px;--shadow:0 15px 36px rgba(7,46,109,.14)}
body{font-family:Arial,Helvetica,sans-serif}
.site-header{background:#0b3e91;border-bottom:3px solid #ffe500;backdrop-filter:none}
.brand{gap:9px}.brand-wordmark{font-size:36px;font-weight:1000;letter-spacing:-.11em;line-height:1;color:#fff;transform:skew(-6deg)}.brand-text{max-width:105px;font-size:13px;line-height:.98;font-weight:1000;color:#ffe500;letter-spacing:-.035em}
.site-nav a{font-weight:800}.site-nav .nav-cta{background:var(--yellow)!important;color:#092c67!important;border-radius:5px}
.hero{min-height:680px;background:linear-gradient(155deg,#0b3e91 10%,#06449c 63%,#009bd3 100%)}
.hero-image{opacity:.24;object-position:center 45%;filter:saturate(.85)}
.hero-overlay{background:linear-gradient(90deg,rgba(7,47,116,.95) 0%,rgba(8,54,125,.83) 50%,rgba(0,125,199,.25) 100%)}
.hero-content{position:relative;padding-top:100px;padding-bottom:95px}
.hero .eyebrow{display:inline-block;background:var(--yellow);color:#092c67;padding:8px 15px;font-weight:900;letter-spacing:.04em;border-radius:3px}
.hero h1{font-family:Arial Black,Arial,Helvetica,sans-serif;font-size:clamp(58px,9vw,128px);font-weight:1000;line-height:.86;letter-spacing:-.075em;text-transform:uppercase;max-width:1000px;margin:26px 0 24px;color:#fff;text-shadow:0 4px 1px rgba(0,0,0,.04)}
.hero h1 span{color:var(--yellow)}.hero-lead{max-width:660px;font-size:clamp(18px,2vw,25px);font-weight:700;color:#fff}.hero-passt{font-size:clamp(40px,6vw,78px);font-weight:1000;color:var(--yellow);line-height:1;margin:12px 0 30px;letter-spacing:-.06em}
.button{border-radius:5px;font-weight:900}.button-primary{background:var(--yellow);color:#082e70;border-color:var(--yellow)}.button-primary:hover{background:#fff100}.button-ghost{border-color:#fff;color:#fff}
.hero-facts{border-top:2px solid rgba(255,255,255,.35);padding-top:22px}.hero-facts strong{color:var(--yellow)}
.section{scroll-margin-top:72px}.section-light{background:#f5f9ff}.section-navy{background:linear-gradient(145deg,#0b3e91,#0756aa 78%,#028bd0)}.section-blue{background:linear-gradient(140deg,#0a4194,#087fc4)}
.eyebrow{color:#0079bc;font-weight:900}.section-navy .eyebrow,.section-blue .eyebrow{color:var(--yellow)}
h1,h2,h3{letter-spacing:-.035em}h2{font-weight:900}.reason-card{border-radius:5px;background:linear-gradient(155deg,#10449a,#0474bb);border:1px solid rgba(255,255,255,.17);position:relative;overflow:hidden}.reason-card h3{color:white;font-size:clamp(23px,2.2vw,31px);line-height:1.12}.reason-card .number{color:#a4dfff}.reason-passt{display:block;color:var(--yellow);font-weight:1000;font-size:25px;margin-top:16px}
.image-card,.stat-card,.news-card,.testimonial,.contact-card,.notice{border-radius:6px}.slide-arrow{display:flex!important;align-items:center;justify-content:center;line-height:1!important;padding:0!important;font-family:Arial,sans-serif;font-weight:700}
.stat-card strong{color:var(--yellow)}.site-footer{background:#072c69}.site-footer a:hover{color:var(--yellow)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
@media(max-width:700px){.hero{min-height:650px}.hero-content{padding-top:74px;padding-bottom:70px}.hero h1{font-size:clamp(50px,12vw,82px)}.brand-wordmark{font-size:30px}.brand-text{font-size:11px}}

/* Kontrastverbesserungen für Kampagnenabschnitte 04 und 08 */
#kosten .section-heading h2, #aktuelles .section-heading h2 { color: #ffffff; }
#kosten .section-heading > p:not(.eyebrow), #aktuelles .section-heading > p:not(.eyebrow) { color: #eaf5ff; }
#kontakt .contact-card a[href^="mailto:"] { color: inherit; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
