/* SPRINGWERK — Shared Design System
   Same visual language as praesentation.html
   Tesla-style SF Pro font, beige/green palette */

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

:root {
  --beige:    #f5f0e6;
  --beige2:   #ede5d6;
  --cream:    #faf7f1;
  --green:    #3a6b51;
  --green2:   #2d5540;
  --green3:   #1e3d2d;
  --green-light: rgba(58,107,81,.11);
  --warm:     #a87b5a;
  --black:    #0a0a0a;
  --text:     #111;
  --muted:    #555;
  --muted2:   #888;
  --border:   rgba(0,0,0,.10);
  --border2:  rgba(0,0,0,.06);
  --white:    #ffffff;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,.10);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.14);
  --ff: -apple-system, 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  background: var(--beige);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}

/* ── SCROLL PROGRESS ── */
#spb {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--warm));
  width: 0%; z-index: 9999; transition: width .08s linear;
}

/* ── NAV ── */
.sw-nav {
  position: sticky; top: 0; z-index: 1000;
  width: 100%;
  background: rgba(245,240,230,.9);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: box-shadow .3s;
}
.sw-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.09); }

.sw-nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 48px; height: 62px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}

.sw-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.sw-brand img {
  height: 30px; width: auto;
  filter: none;
}
.sw-brand-word {
  font-family: var(--ff);
  font-size: 15px; letter-spacing: .06em;
  text-transform: uppercase; line-height: 1;
  color: var(--black);
}
.sw-brand-word .s { font-weight: 800; }
.sw-brand-word .w { font-weight: 300; }

.sw-links {
  display: flex; align-items: center; gap: 2px;
  flex: 1; justify-content: center;
}
.sw-links a {
  font-size: 13px; font-weight: 500;
  color: var(--muted); text-decoration: none;
  padding: 6px 11px; border-radius: 8px;
  transition: color .18s, background .18s; white-space: nowrap;
}
.sw-links a:hover { color: var(--text); background: rgba(0,0,0,.05); }
.sw-links a.active { color: var(--green); font-weight: 600; }

.sw-nav-cta {
  background: var(--green) !important; color: white !important;
  border-radius: 10px; font-weight: 600 !important;
  transition: background .2s !important;
}
.sw-nav-cta:hover { background: var(--green2) !important; }

.sw-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: transparent; border: none;
}
.sw-burger span { display:block; width:22px; height:2px; background:var(--black); border-radius:1px; }

/* ── PAGE HERO ── */
.sw-page-hero {
  width: 100%;
  background: var(--cream);
  padding: 80px 48px 72px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.sw-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% 0%, rgba(58,107,81,.07), transparent 65%);
  pointer-events: none;
}
.sw-page-hero-inner {
  max-width: 1280px; margin: 0 auto;
  position: relative; z-index: 1;
}
.sw-kicker {
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--green); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.sw-kicker::before {
  content: ''; display: block; width: 24px; height: 1.5px;
  background: var(--green);
}
.sw-page-h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800; line-height: 1.02;
  letter-spacing: -.03em; color: var(--black);
  margin-bottom: 18px;
}
.sw-page-h1 em { font-style: normal; color: var(--green); font-weight: 300; }
.sw-hero-brand {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800; line-height: 1.02;
  letter-spacing: -.03em; color: var(--black);
  margin-bottom: 6px; margin-top: 24px;
}
.sw-hero-tagline {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 400; color: var(--green);
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 18px;
}
.sw-page-sub {
  font-size: 17px; font-weight: 300; line-height: 1.7;
  color: var(--muted); max-width: 560px; margin-bottom: 32px;
}
.sw-page-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* ── BUTTONS ── */
.sw-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px;
  font-weight: 600; font-size: 14px; letter-spacing: .01em;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  position: relative; overflow: hidden; cursor: pointer;
  border: none; font-family: var(--ff);
}
.sw-btn:hover { transform: translateY(-2px); }
.sw-btn.solid {
  background: var(--green); color: white;
  box-shadow: 0 4px 20px rgba(58,107,81,.28);
}
.sw-btn.solid:hover { background: var(--green2); }
.sw-btn.outline {
  background: white; color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.sw-btn.outline:hover { box-shadow: var(--shadow-md); }
.sw-btn.ghost { background: transparent; color: var(--muted); }
.sw-btn.ghost:hover { color: var(--text); background: rgba(0,0,0,.04); }

/* ── SECTION ── */
.sw-section {
  width: 100%; padding: 88px 48px;
}
.sw-section-inner { max-width: 1280px; margin: 0 auto; }

.sw-section-head { margin-bottom: 48px; }
.sw-h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1.06;
  letter-spacing: -.025em; color: var(--black);
  margin-bottom: 14px;
}
.sw-h2 em { font-style: normal; color: var(--green); font-weight: 300; }
.sw-lead {
  font-size: 16px; font-weight: 300; line-height: 1.75;
  color: var(--muted); max-width: 540px;
}

/* ── CARD GRID ── */
.sw-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.sw-grid-2 { grid-template-columns: 1fr 1fr; }
.sw-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sw-grid-4 { grid-template-columns: repeat(4, 1fr); }

.sw-card {
  background: white;
  border: 1px solid var(--border2);
  border-radius: 20px; padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: transform .28s, box-shadow .28s;
}
.sw-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; height: 2.5px; width: 0%;
  background: linear-gradient(90deg, var(--green), transparent);
  transition: width .4s ease;
}
.sw-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sw-card:hover::after { width: 100%; }

.sw-card-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.sw-card-num::after {
  content: ''; display: block; width: 32px; height: 1px;
  background: var(--green-light);
}
.sw-card h3 {
  font-size: 20px; font-weight: 700;
  letter-spacing: -.01em; color: var(--black);
  margin-bottom: 10px; line-height: 1.2;
}
.sw-card p {
  font-size: 14px; font-weight: 300;
  line-height: 1.75; color: var(--muted); margin: 0;
}
.sw-card small {
  display: block; margin-top: 16px;
  font-size: 13px; color: var(--green);
  font-weight: 600;
}
.sw-card small a { color: inherit; text-decoration: none; }
.sw-card.dark {
  background: var(--green3); border-color: transparent;
}
.sw-card.dark h3, .sw-card.dark p { color: white; }
.sw-card.dark p { color: rgba(255,255,255,.65); }
.sw-card.dark .sw-card-num { color: rgba(255,255,255,.4); }

/* ── STATS BAND ── */
.sw-stats-band {
  width: 100%; background: var(--green3);
  padding: 0;
}
.sw-stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.08);
}
.sw-stat {
  background: var(--green3); padding: 44px 32px;
  text-align: center; transition: background .22s;
}
.sw-stat:hover { background: var(--green2); }
.sw-stat-num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800; color: white; line-height: 1;
  display: block; letter-spacing: -.03em;
}
.sw-stat-unit { font-size: 28px; color: rgba(255,255,255,.45); }
.sw-stat-lbl {
  display: block; margin-top: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* ── DARK BAND ── */
.sw-dark-band {
  width: 100%; background: var(--black);
  padding: 96px 48px; color: white;
  position: relative; overflow: hidden;
}
.sw-dark-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 1000px 600px at 50% 50%, rgba(58,107,81,.14), transparent 65%);
}
.sw-dark-inner {
  max-width: 1280px; margin: 0 auto;
  position: relative; z-index: 1;
}
.sw-dark-band .sw-h2 { color: white; }
.sw-dark-band .sw-lead { color: rgba(255,255,255,.55); }
.sw-dark-band .sw-kicker { color: rgba(255,255,255,.35); }
.sw-dark-band .sw-kicker::before { background: rgba(255,255,255,.2); }

/* ── FORM ── */
.sw-form-wrap {
  max-width: 760px; margin: 0 auto;
  background: white; border: 1px solid var(--border2);
  border-radius: 24px; padding: 48px;
}
.sw-form-title {
  font-size: 22px; font-weight: 700; margin-bottom: 6px;
}
.sw-form-sub {
  font-size: 14px; color: var(--muted); margin-bottom: 32px;
}
.sw-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.sw-form-group { display: flex; flex-direction: column; gap: 6px; }
.sw-form-group.full { grid-column: 1 / -1; }
.sw-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted2);
}
.sw-input, .sw-select, .sw-textarea {
  font-family: var(--ff);
  font-size: 15px; font-weight: 400;
  background: var(--cream); color: var(--text);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px; padding: 12px 14px;
  outline: none; width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.sw-input:focus, .sw-select:focus, .sw-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(58,107,81,.1);
}
.sw-textarea { min-height: 120px; resize: vertical; }
.sw-checkbox-row {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 4px;
}
.sw-checkbox-row input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--green); flex-shrink: 0; cursor: pointer;
}
.sw-checkbox-label {
  font-size: 13px; color: var(--muted); line-height: 1.55;
}
.sw-checkbox-label a { color: var(--green); }
.sw-form-help {
  font-size: 12px; color: var(--muted2); margin-top: 12px;
  font-style: italic;
}
.sw-form-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── SPLIT LAYOUT ── */
.sw-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.sw-split.reverse { direction: rtl; }
.sw-split.reverse > * { direction: ltr; }

.sw-visual {
  border-radius: 24px; overflow: hidden;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.sw-visual.green { background: linear-gradient(135deg, var(--green3) 0%, #2d6b50 100%); }
.sw-visual.beige { background: linear-gradient(135deg, var(--beige2) 0%, var(--beige) 100%); }
.sw-visual.dark  { background: linear-gradient(135deg, var(--black) 0%, #1e1e1e 100%); }
.sw-visual img {
  height: 80px; width: auto; opacity: .7;
  filter: brightness(0) invert(1);
}

/* ── CHECKLIST ── */
.sw-checklist {
  list-style: none; display: flex;
  flex-direction: column; gap: 12px; margin-top: 28px;
}
.sw-checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; font-weight: 300; line-height: 1.6;
  color: var(--muted);
}
.sw-check {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-light);
  border: 1px solid rgba(58,107,81,.2);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.sw-check svg { width: 11px; height: 11px; }

/* ── CTA FINAL ── */
.sw-cta-band {
  width: 100%; padding: 100px 48px;
  background: var(--cream); text-align: center;
  border-top: 1px solid var(--border); position: relative; overflow: hidden;
}
.sw-cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 60%, rgba(58,107,81,.06), transparent 60%);
}
.sw-cta-inner { max-width: 640px; margin: 0 auto; position: relative; z-index:1; }
.sw-cta-h {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800; line-height: .98;
  letter-spacing: -.035em; color: var(--black); margin-bottom: 8px;
}
.sw-cta-h em { font-style: normal; color: var(--green); font-weight: 300; }
.sw-cta-bar {
  width: 48px; height: 3px; background: var(--green);
  border-radius: 2px; margin: 20px auto 20px;
}
.sw-cta-sub {
  font-size: 16px; font-weight: 300; line-height: 1.7;
  color: var(--muted); max-width: 440px;
  margin: 0 auto 40px;
}
.sw-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── REVEAL ── */
.rv {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1),
              transform .65s cubic-bezier(.22,1,.36,1);
}
.rv.on { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; }
.rv.d2 { transition-delay: .2s; }
.rv.d3 { transition-delay: .3s; }
.rv.d4 { transition-delay: .4s; }

/* ── FOOTER ── */
.sw-footer { width: 100%; background: var(--black); }
.sw-footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 64px 48px 24px;
}
.sw-footer-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 56px; margin-bottom: 48px;
}
.sw-footer-title {
  font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-bottom: 16px;
}
.sw-footer-lines {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,.55); line-height: 1.5;
}
.sw-footer-lines a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.sw-footer-lines a:hover { color: white; }
.sw-footer-lbl {
  margin-top: 14px; font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
}
.sw-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 300; color: rgba(255,255,255,.25);
}
.sw-footer-bottom a { color: rgba(255,255,255,.25); text-decoration: none; }
.sw-footer-bottom a:hover { color: rgba(255,255,255,.65); }

/* ── HUT SELECTOR (Buchung) ── */
.sw-hut-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.sw-hut-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 16px;
  transition: border-color .2s, background .2s;
}
.sw-hut-card:focus-within { border-color: var(--green); background: white; }
.sw-hut-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.sw-hut-meta { font-size: 12px; color: var(--muted2); margin-bottom: 10px; }
.sw-hut-controls { display: flex; align-items: center; gap: 10px; }
.sw-hut-controls input[type=number] {
  max-width: 90px; font-family: var(--ff);
  font-size: 15px; background: white;
  border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px;
}

/* ── RESPONSIVE ── */
@media(max-width:1100px) {
  .sw-nav-inner, .sw-page-hero-inner,
  .sw-section-inner, .sw-dark-inner,
  .sw-footer-inner { padding-left: 32px; padding-right: 32px; }
  .sw-page-hero { padding-left: 32px; padding-right: 32px; }
  .sw-section { padding-left: 32px; padding-right: 32px; }
  .sw-dark-band { padding-left: 32px; padding-right: 32px; }
  .sw-cta-band { padding-left: 32px; padding-right: 32px; }
}
@media(max-width:900px) {
  .sw-links { display: none; }
  .sw-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(245,240,230,.97);
    padding: 10px 20px 20px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
  }
  .sw-links.open a { width: 100%; }
  .sw-burger { display: flex; }
  .sw-split { grid-template-columns: 1fr; gap: 40px; }
  .sw-split.reverse { direction: ltr; }
  .sw-grid-2, .sw-grid-3, .sw-grid-4 { grid-template-columns: 1fr 1fr; }
  .sw-stats-inner { grid-template-columns: 1fr 1fr; }
  .sw-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media(max-width:600px) {
  .sw-nav-inner { padding: 0 20px; }
  .sw-page-hero, .sw-section, .sw-dark-band,
  .sw-cta-band, .sw-stats-band { padding-left: 20px; padding-right: 20px; }
  .sw-footer-inner { padding: 48px 20px 20px; }
  .sw-grid-2, .sw-grid-3, .sw-grid-4 { grid-template-columns: 1fr; }
  .sw-stats-inner { grid-template-columns: 1fr 1fr; }
  .sw-form-grid { grid-template-columns: 1fr; }
  .sw-form-wrap { padding: 28px 20px; }
  .sw-footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .sw-hut-grid { grid-template-columns: 1fr; }
}


/* Honeypot fields (anti-spam) */
.sw-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;}

/* ── Cookie Consent Banner ── */
.sw-cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--black); color: #fff;
  padding: 20px 24px;
  box-shadow: 0 -4px 32px rgba(0,0,0,.22);
  animation: swCookieIn .35s ease;
}
.sw-cookie-bar.sw-cookie-hide {
  animation: swCookieOut .35s ease forwards;
}
.sw-cookie-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.sw-cookie-text {
  flex: 1; font-size: .875rem; line-height: 1.6;
  color: rgba(255,255,255,.82); margin: 0;
}
.sw-cookie-text a { color: var(--green); text-decoration: underline; }
.sw-cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
@keyframes swCookieIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes swCookieOut {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}

/* ── Footer Slogan ── */
.sw-footer-slogan {
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  padding: 20px 0 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-bottom: 4px;
}
.sw-footer-slogan span { color: var(--green); }
