@import url('../designsystem/design-tokens.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-weight: var(--fw-light);
    color: var(--text-dark);
    line-height: var(--lh-body);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--sh-green); }
a:hover { color: var(--sh-green-dark); }

:focus-visible { outline: 2px solid var(--sh-green); outline-offset: 2px; }

/* ── Announcement bar ── */
.ann-bar { background: var(--sh-green-dark); color: var(--cream); font-size: var(--fs-body-sm); font-weight: var(--fw-light); letter-spacing: 0.01em; text-align: center; padding: 11px var(--gutter-m); }
.ann-bar strong { font-weight: var(--fw-bold); letter-spacing: 0.02em; }

/* ── Header (reduziert: kein Haupt-Nav, keine Links auf Start/Kontakt/Entdecken) ── */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--cream); border-bottom: 1px solid var(--border); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header-logo img { height: var(--logo-header); width: auto; display: block; }
.header-right { display: flex; align-items: center; gap: var(--space-12); }
.header-cta { display: inline-flex; align-items: center; gap: var(--space-8); min-height: var(--touch-min); background: var(--sh-green); color: #fff; font-family: var(--font); font-weight: var(--fw-bold); font-size: var(--fs-btn); letter-spacing: var(--ls-caps); text-transform: uppercase; padding: 0 22px; transition: var(--ease-default); }
.header-cta:hover { background: var(--sh-green-dark); color: #fff; }
.header-cta svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── Hero (Foto + Overlay) ── */
.ws-hero { position: relative; min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; }
.ws-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: 0; }
.ws-hero::after { content: ''; position: absolute; inset: 0; background: var(--overlay-hero); z-index: 1; }
.ws-hero-inner { position: relative; z-index: 2; max-width: var(--max-w-narrow); margin: 0 auto; width: 100%; padding: var(--space-64) var(--gutter) var(--space-56); }
.ws-hero h1 { font-size: clamp(var(--fs-h1-min), var(--fs-h1-fluid), 56px); font-weight: var(--fw-light); letter-spacing: var(--ls-heading-lg); line-height: var(--lh-heading); color: var(--cream); margin-bottom: var(--space-20); }
.ws-hero .lead { font-size: var(--fs-lead); color: rgba(250,248,244,.88); line-height: var(--lh-body-relaxed); max-width: 640px; margin-bottom: var(--space-32); }
.ws-hero-ctas { display: flex; gap: var(--space-14); flex-wrap: wrap; }
.ws-hero .btn-secondary { border-color: var(--cream); color: var(--cream); }
.ws-hero .btn-secondary:hover { background: var(--cream); color: var(--teal-deep); }
.ws-hero-credit { position: relative; z-index: 2; text-align: right; font-size: var(--fs-small); color: rgba(250,248,244,.7); padding: 0 var(--gutter) var(--space-12); }
.ws-hero-credit a { color: rgba(250,248,244,.7); text-decoration: underline; }
.ws-hero-credit a:hover { color: var(--cream); }

/* ── Buttons ── */
.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: var(--touch-min);
    font-family: var(--font); font-size: var(--fs-btn); font-weight: var(--fw-bold);
    letter-spacing: var(--ls-caps); text-transform: uppercase;
    padding: 0 28px; transition: var(--ease-default); text-align: center;
}
.btn-primary { background: var(--sh-green); color: #fff; }
.btn-primary:hover { background: var(--sh-green-dark); color: #fff; }
.btn-secondary { border: 1px solid var(--sh-green); color: var(--sh-green); background: transparent; }
.btn-secondary:hover { background: var(--sh-green); color: #fff; }

/* ── Content sections ── */
.ws-section { max-width: var(--max-w-narrow); margin: 0 auto; padding: var(--space-64) var(--gutter); }
.ws-section + .ws-section { padding-top: 0; }
.ws-section h2 { font-size: clamp(var(--fs-h2-min), var(--fs-h2-fluid), 40px); font-weight: var(--fw-light); letter-spacing: var(--ls-heading); line-height: 1.15; color: var(--text-dark); margin-bottom: var(--space-20); }
.ws-section > p { font-size: var(--fs-body-lg); color: var(--text-mid); line-height: var(--lh-body-relaxed); margin-bottom: var(--space-28); }
.ws-section-tint { background: var(--teal-tint); }
.ws-section-tint .ws-section { padding-top: var(--space-64); padding-bottom: var(--space-64); }

/* ── Feature cards (Section 2) ── */
.ws-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-24); margin-top: var(--space-32); }
.ws-feature { background: var(--white); border: 1px solid var(--border); padding: var(--space-28); }
.ws-feature h3 { font-size: var(--fs-body-lg); font-weight: var(--fw-bold); color: var(--text-dark); margin-bottom: var(--space-12); }
.ws-feature p { font-size: var(--fs-body); color: var(--text-mid); line-height: var(--lh-body-relaxed); }

/* ── Bullet list (Section 3) ── */
.ws-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-14); margin: var(--space-28) 0; }
.ws-list li { position: relative; padding-left: var(--space-24); font-size: var(--fs-body); color: var(--text-mid); line-height: var(--lh-body-relaxed); }
.ws-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--sh-green); }

/* ── Hint box ── */
.ws-hint { background: var(--white); border: 1px solid var(--border-md); padding: var(--space-24) var(--space-28); margin-top: var(--space-28); }
.ws-hint p { margin: 0; font-size: var(--fs-body-sm); color: var(--text-dark); line-height: var(--lh-body-relaxed); }
.ws-hint p + p { margin-top: var(--space-12); color: var(--text-mid); font-size: var(--fs-small); }

/* ── Haus-Liste (Section 5) ── */
.ws-houses { list-style: none; display: flex; flex-direction: column; margin: var(--space-28) 0; border-top: 1px solid var(--border); }
.ws-houses li { border-bottom: 1px solid var(--border); }
.ws-houses a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); padding: var(--space-18) 0; font-size: var(--fs-body-lg); font-weight: var(--fw-medium); color: var(--text-dark); transition: color .2s; }
.ws-houses a:hover { color: var(--sh-green); }
.ws-houses a::after { content: '→'; color: var(--sh-green); flex-shrink: 0; }
.ws-houses-link { display: inline-block; font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--sh-green); }
.ws-houses-link:hover { color: var(--sh-green-dark); }

/* ── Schritte (Section 6) ── */
.ws-steps { list-style: none; counter-reset: ws-step; display: flex; flex-direction: column; gap: var(--space-28); margin-top: var(--space-32); }
.ws-steps li { counter-increment: ws-step; display: grid; grid-template-columns: 48px 1fr; gap: var(--space-20); align-items: start; }
.ws-steps li::before { content: counter(ws-step); font-size: var(--fs-usp-number); font-weight: var(--fw-bold); color: var(--teal-light); line-height: 1; }
.ws-steps h3 { font-size: var(--fs-body-lg); font-weight: var(--fw-bold); color: var(--text-dark); margin-bottom: var(--space-4); }
.ws-steps p { font-size: var(--fs-body); color: var(--text-mid); line-height: var(--lh-body-relaxed); }

/* ── B2B-Block (Section 7) ── */
.ws-b2b { background: var(--teal-deep); padding: var(--space-64) var(--gutter); }
.ws-b2b-inner { max-width: var(--max-w-narrow); margin: 0 auto; }
.ws-b2b h2 { font-size: clamp(var(--fs-h2-min), var(--fs-h2-fluid), 36px); font-weight: var(--fw-light); letter-spacing: var(--ls-heading); color: var(--cream); margin-bottom: var(--space-20); }
.ws-b2b p { font-size: var(--fs-body-lg); color: var(--teal-light); line-height: var(--lh-body-relaxed); margin-bottom: var(--space-24); }
.ws-b2b .ws-houses-link { color: var(--sand); }
.ws-b2b .ws-houses-link:hover { color: var(--sand-warm); }

/* ── FAQ (Section 8) ── */
.ws-faq { background: var(--white); }
.ws-faq details { border-bottom: 1px solid var(--border); padding: var(--space-20) 0; }
.ws-faq details:first-of-type { border-top: 1px solid var(--border); }
.ws-faq summary { font-size: var(--fs-body-lg); font-weight: var(--fw-medium); color: var(--text-dark); cursor: pointer; list-style: none; position: relative; padding-right: var(--space-32); }
.ws-faq summary::-webkit-details-marker { display: none; }
.ws-faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 20px; color: var(--sh-green); transition: transform .2s; }
.ws-faq details[open] summary::after { transform: rotate(45deg); }
.ws-faq details p { font-size: var(--fs-body); color: var(--text-mid); line-height: var(--lh-body-relaxed); margin-top: var(--space-12); }

/* ── Abschluss-CTA (Section 9) ── */
.ws-cta { background: var(--teal-deep); padding: var(--space-64) var(--gutter); text-align: center; }
.ws-cta h2 { font-size: clamp(var(--fs-h2-min), var(--fs-h2-fluid), 40px); font-weight: var(--fw-light); color: var(--cream); margin-bottom: var(--space-16); }
.ws-cta p { font-size: var(--fs-body-lg); color: var(--teal-light); margin-bottom: var(--space-28); }
.ws-cta .ws-hero-ctas { justify-content: center; }
.ws-cta .btn-primary { background: var(--sand); color: var(--teal-deep); }
.ws-cta .btn-primary:hover { background: var(--sand-warm); color: var(--teal-deep); }
.ws-cta .btn-secondary { border-color: var(--sand); color: var(--sand); }
.ws-cta .btn-secondary:hover { background: var(--sand); color: var(--teal-deep); }

/* ── Footer (nur Pflichtangaben) ── */
.site-footer { background: var(--cream); color: var(--text-mid); padding: var(--space-32) var(--gutter); border-top: 1px solid var(--border-md); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-12); font-size: var(--fs-small); color: var(--text-mid); }
.footer-bottom a { color: var(--text-mid); margin-left: var(--space-14); transition: color .2s; }
.footer-bottom a:hover { color: var(--sh-green); }

/* ── Mobil ── */
@media (max-width: 768px) {
    .site-header { padding: 0 var(--gutter-m); }
    .header-cta span.header-cta-text { display: none; }
    .header-cta { padding: 0 15px; min-width: var(--touch-min); }
    .ws-hero { min-height: 520px; }
    .ws-hero-inner { padding: var(--space-48) var(--gutter-m) var(--space-40); }
    .ws-hero-credit { padding: 0 var(--gutter-m) var(--space-12); }
    .ws-section { padding: var(--space-48) var(--gutter-m); }
    .ws-section-tint .ws-section { padding-top: var(--space-48); padding-bottom: var(--space-48); }
    .ws-features { grid-template-columns: 1fr; }
    .ws-b2b { padding: var(--space-48) var(--gutter-m); }
    .ws-cta { padding: var(--space-48) var(--gutter-m); }
    .ws-hero-ctas { flex-direction: column; align-items: stretch; }
    .ws-cta .ws-hero-ctas { align-items: stretch; }
    .ws-houses a { font-size: var(--fs-body); }
    .footer-bottom { flex-direction: column; text-align: center; gap: var(--space-8); }
    .footer-bottom a { margin-left: 0; margin-right: var(--space-14); }
}

@media (max-width: 400px) {
    .site-header { padding: 0 var(--space-16); }
    .header-cta { padding: 0 14px; font-size: 10px; }
}
