/* ═══════════════════════════════════════════════════════════════
   WENISCHLAND.DE — Main Stylesheet
   Fonts: Bebas Neue (display) · Cormorant Garamond (headings) · EB Garamond (body)
   ═══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
   ────────────────────────────────────────────────────────────── */
:root {
  /* Palette */
  --c-earth:        #080f08;        /* deepest background */
  --c-forest:       #0e1b0c;        /* dark section bg */
  --c-parchment:    #f3ede2;        /* light section bg */
  --c-paper:        #e8e0d0;        /* card/alt light bg */
  --c-gold:         #b8975a;        /* primary accent */
  --c-gold-light:   #cead72;        /* hover state */
  --c-grove:        #1d3d0d;        /* dark green for hint block */

  /* Text */
  --c-text-dark:    #1a1f17;        /* on light */
  --c-text-light:   #ddd5bf;        /* on dark */
  --c-text-muted-d: rgba(221,213,191,.55);
  --c-text-muted-l: rgba(26,31,23,.50);
  --c-white:        #f0ebe0;

  /* Glass */
  --c-glass:        rgba(8,15,8,.68);
  --c-glass-border: rgba(184,151,90,.22);

  /* Type */
  --f-display:  'Bebas Neue', 'Arial Black', sans-serif;
  --f-heading:  'Cormorant Garamond', Georgia, serif;
  --f-body:     'EB Garamond', Georgia, serif;

  /* Scale */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  6.5rem;
  --sp-2xl: 10rem;

  /* Layout */
  --max-w:    1200px;
  --pad-x:    clamp(1.5rem, 5vw, 4rem);
  --nav-h:    70px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ──────────────────────────────────────────────────────────────
   2. RESET
   ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--c-text-dark);
  background: var(--c-earth);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
address { font-style: normal; }

/* ──────────────────────────────────────────────────────────────
   3. UTILITIES
   ────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.label-sm {
  display: block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.9rem;
}

h2 {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: var(--sp-md);
}

.text-lead {
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ──────────────────────────────────────────────────────────────
   4. NAVIGATION
   ────────────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background 0.45s var(--ease-out),
              backdrop-filter 0.45s var(--ease-out),
              border-color 0.45s var(--ease-out);
  border-bottom: 1px solid transparent;
}

#site-header.scrolled {
  background: rgba(8, 15, 8, 0.88);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-color: rgba(184, 151, 90, 0.14);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--c-gold);
  border-radius: 3px;
  display: grid;
  place-items: center;
  font-family: var(--f-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-logo:hover .logo-badge {
  background: var(--c-gold);
  color: var(--c-earth);
}

.logo-wordmark {
  font-family: var(--f-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.6);
  transition: color 0.25s;
}

.nav-logo:hover .logo-wordmark { color: rgba(255,255,255,.9); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-family: var(--f-body);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.65);
  transition: color 0.25s;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  padding: 0.55rem 1.4rem !important;
  border: 1px solid var(--c-gold);
  border-radius: 3px;
  color: var(--c-gold) !important;
  letter-spacing: 0.08em !important;
  transition: background 0.25s ease, color 0.25s ease !important;
}

.nav-cta:hover {
  background: var(--c-gold) !important;
  color: var(--c-earth) !important;
}

/* ──────────────────────────────────────────────────────────────
   5. HERO — Milchglas links | Scharfes Foto rechts
   ────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

/* ─── Animierter Hintergrund (Ken Burns) ─── */
.hero-bg {
  position: absolute;
  inset: -12%;
  z-index: 0;

  background-image: url('../assets/img/hero-aerial.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
  animation: kenBurns 30s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0%   { transform: scale(1.00) translate(  0%,    0% ); }
  30%  { transform: scale(1.05) translate(-1.4%, -0.9%); }
  65%  { transform: scale(1.08) translate( 1.0%, -1.4%); }
  100% { transform: scale(1.04) translate( 1.6%,  0.8%); }
}

/*
 * Milchglas-Panel: linke 65 %, weicher Mask-Übergang nach rechts.
 * Kein harter Schnitt — die Schärfe des Hintergrunds nimmt organisch zu.
 */
.hero-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 100%;
  z-index: 2;
  backdrop-filter: blur(10px) brightness(1.08) saturate(0.70);
  -webkit-backdrop-filter: blur(10px) brightness(1.08) saturate(0.70);
  background: rgba(210, 225, 208, 0.18);
  -webkit-mask-image: linear-gradient(to right, black 65%, transparent 100%);
  mask-image:         linear-gradient(to right, black 65%, transparent 100%);
}

/* WENISCH — Foto scheint durch die Buchstaben (background-clip: text) */
.hero-wenisch {
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-62%);
  z-index: 6;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(56px, 9vw, 122px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  background-image: url('../assets/img/hero-aerial.jpg');
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: brightness(1.55) saturate(1.6) contrast(1.15);
}

/* LAND — weiß, scharf, auf der rechten unverblurten Seite */
.hero-land {
  position: absolute;
  left: 51%;
  top: 50%;
  transform: translateY(-18%);
  z-index: 6;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(68px, 10.5vw, 140px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 40px rgba(0,0,0,0.28);
  pointer-events: none;
  user-select: none;
}

/* ─── Info-Block unten links (Eyebrow · Tagline · CTA) ─── */
.hero-info {
  position: absolute;
  bottom: 56px;
  left: 4%;
  z-index: 20;
  max-width: 310px;
}

.hero-eyebrow {
  font-family: var(--f-body);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin-bottom: 0.65rem;
}

.hero-tagline {
  font-family: var(--f-body);
  font-size: clamp(0.82rem, 1.4vw, 0.94rem);
  font-style: italic;
  color: rgba(240,235,224,.75);
  line-height: 1.72;
  margin-bottom: 1.1rem;
}

.hero-link {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.45);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-link:hover {
  color: var(--c-gold-light);
  border-color: var(--c-gold-light);
}

/* ─── Scroll-Hint ─── */
.scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,.35);
  font-family: var(--f-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(184,151,90,.6), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1);   }
  50%       { opacity: .9; transform: scaleY(1.15); }
}

/* ──────────────────────────────────────────────────────────────
   6. SPIEGEL SECTION
   ────────────────────────────────────────────────────────────── */
#spiegel {
  background: var(--c-forest);
  padding: var(--sp-xl) 0;
  position: relative;
  overflow: hidden;
}

#spiegel::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--c-gold) 50%, transparent 100%);
  opacity: .25;
}

.spiegel-content {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  padding-inline: var(--pad-x);
}

.spiegel-quote {
  font-family: var(--f-heading);
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  font-weight: 600;
  font-style: italic;
  color: var(--c-white);
  line-height: 1.3;
  margin-bottom: 2.5rem;
  quotes: '„' '"';
}

.spiegel-body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  color: var(--c-text-light);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.spiegel-body--accent {
  font-family: var(--f-body);
  font-size: 1.125rem;
  color: var(--c-white);
  font-weight: 500;
  margin-bottom: 3rem;
}

.spiegel-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  max-width: 520px;
  margin-inline: auto;
  text-align: left;
}

.spiegel-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--c-text-light);
  letter-spacing: 0.02em;
}

.list-dash {
  color: var(--c-gold);
  font-family: var(--f-display);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────────
   7. ÜBER MICH
   ────────────────────────────────────────────────────────────── */
#ueber-mich {
  background: var(--c-parchment);
  padding: var(--sp-xl) 0;
}

.ueber-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(3rem, 8vw, 6.5rem);
  align-items: start;
}

/* Portrait column */
.ueber-aside {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portrait-wrap { position: relative; }

.portrait-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--c-paper);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1.5px dashed rgba(26,31,23,.18);
}

.portrait-placeholder > span:first-child {
  font-family: var(--f-display);
  font-size: 3.5rem;
  color: rgba(26,31,23,.14);
  letter-spacing: 0.08em;
}

.portrait-hint {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted-l);
}

/* Portrait: oberer Ausschnitt — Gesicht und Oberkörper */
.portrait-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
}

.aside-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-link {
  font-family: var(--f-body);
  font-size: 0.88rem;
  color: var(--c-gold);
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s;
}

.contact-link:hover { text-decoration-color: var(--c-gold); }

/* Text column */
.ueber-text h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--c-text-dark);
  margin-bottom: 1.5rem;
}

.ueber-text .text-lead {
  color: var(--c-text-dark);
}

.ueber-text p {
  font-size: 1rem;
  line-height: 1.82;
  color: rgba(26,31,23,.72);
  margin-bottom: 1.25rem;
}

/* ──────────────────────────────────────────────────────────────
   8. ABLAUF
   ────────────────────────────────────────────────────────────── */
#ablauf {
  background: var(--c-earth);
  padding: var(--sp-xl) 0;
}

.ablauf-text {
  max-width: 640px;
}

.ablauf-text .text-lead {
  color: var(--c-white);
  font-size: 1.25rem;
  line-height: 1.72;
  margin-bottom: 1.4rem;
}

.ablauf-text p:not(.text-lead) {
  color: var(--c-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.ablauf-text .text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ──────────────────────────────────────────────────────────────
   9. WAS ICH KAUFE
   ────────────────────────────────────────────────────────────── */
#grundstuecke {
  background: var(--c-parchment);
  padding: var(--sp-xl) 0;
}

#grundstuecke h2 {
  color: var(--c-text-dark);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(26,31,23,.09);
  border-radius: 5px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.card:hover {
  border-color: var(--c-gold);
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,.1);
}

.card-icon {
  width: 38px;
  height: 38px;
  color: var(--c-gold);
  margin-bottom: 1.3rem;
}

.card-icon svg { width: 100%; height: 100%; }

.card h3 {
  font-family: var(--f-heading);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--c-text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.card p {
  font-size: 0.925rem;
  color: var(--c-text-muted-l);
  line-height: 1.68;
}

/* Hint bar below cards */
.cards-hint {
  background: var(--c-grove);
  border-radius: 5px;
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cards-hint p {
  font-family: var(--f-body);
  font-size: 1rem;
  font-style: italic;
  color: rgba(240,235,224,.82);
  line-height: 1.7;
  max-width: 580px;
}

.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  white-space: nowrap;
  transition: gap 0.3s ease, color 0.25s;
}

.text-arrow:hover {
  gap: 0.85rem;
  color: var(--c-gold-light);
}

/* ──────────────────────────────────────────────────────────────
   10. TRUST STRIP (Waldbund)
   ────────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--c-paper);
  border-block: 1px solid rgba(26,31,23,.1);
  padding: 1.35rem 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}

.trust-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-muted-l);
}

.trust-name {
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text-dark);
}

.trust-divider { color: var(--c-text-muted-l); }

.trust-desc {
  font-size: 0.85rem;
  color: var(--c-text-muted-l);
}

/* ──────────────────────────────────────────────────────────────
   11. KONTAKT CTA
   ────────────────────────────────────────────────────────────── */
#kontakt {
  background: var(--c-forest);
  padding: var(--sp-xl) 0;
  position: relative;
  overflow: hidden;
}

.kontakt-bg-text {
  position: absolute;
  inset-block-start: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-display);
  font-size: clamp(5rem, 14vw, 13rem);
  color: rgba(255,255,255,.028);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.06em;
}

.kontakt-content {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

#kontakt h2 {
  color: var(--c-white);
  margin-bottom: 1.5rem;
}

.kontakt-sub {
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--c-text-light);
  line-height: 1.82;
  margin-bottom: 3rem;
}

.kontakt-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

/* Secondary call line — plain text, no button chrome */
.kontakt-call {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--c-text-muted-d);
  letter-spacing: 0.04em;
  margin: 0;
}

.kontakt-call a {
  color: var(--c-text-light);
  border-bottom: 1px solid rgba(240,235,224,.25);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.kontakt-call a:hover {
  color: var(--c-gold);
  border-color: var(--c-gold);
}

.btn-primary {
  display: inline-block;
  padding: 0.95rem 2.6rem;
  background: var(--c-gold);
  color: var(--c-earth);
  font-family: var(--f-body);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.3s ease, transform 0.25s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--c-gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 0.95rem 2.6rem;
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.68);
  font-family: var(--f-body);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  border-radius: 3px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,.55);
  color: var(--c-white);
}

.kontakt-address {
  font-size: 0.82rem;
  color: var(--c-text-muted-d);
  letter-spacing: 0.08em;
}

.kontakt-address a {
  transition: color 0.25s;
}

.kontakt-address a:hover { color: var(--c-gold); }

/* ──────────────────────────────────────────────────────────────
   12. FOOTER
   ────────────────────────────────────────────────────────────── */
#footer {
  background: var(--c-earth);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2.25rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--f-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.28);
  transition: color 0.25s;
}

.footer-brand:hover { color: rgba(255,255,255,.55); }

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,.38);
  letter-spacing: 0.05em;
  transition: color 0.25s;
}

.footer-nav a:hover { color: rgba(255,255,255,.7); }

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a,
.footer-legal span {
  font-size: 0.75rem;
  color: rgba(255,255,255,.28);
  letter-spacing: 0.05em;
  transition: color 0.25s;
}

.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ──────────────────────────────────────────────────────────────
   13. LEGAL PAGES (via CSS :target)
   ────────────────────────────────────────────────────────────── */
.legal-page {
  display: none;
  background: var(--c-earth);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: var(--sp-lg) 0;
}

.legal-page:target { display: block; }

.legal-content {
  max-width: 720px;
}

.legal-back {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--c-gold);
  margin-bottom: 2rem;
  transition: letter-spacing 0.25s;
}

.legal-back:hover { letter-spacing: 0.15em; }

.legal-content h2 {
  color: var(--c-white);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.legal-content p {
  font-size: 0.9rem;
  line-height: 1.82;
  color: var(--c-text-light);
  margin-bottom: 1.5rem;
  max-width: 680px;
}

.legal-content strong { color: var(--c-white); }

.legal-content a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ──────────────────────────────────────────────────────────────
   14. RESPONSIVE
   ────────────────────────────────────────────────────────────── */

/* ── Tablet (≤ 900px) ── */
@media (max-width: 900px) {

  /* Hero: blur full-width, no gradient mask */
  .hero-blur {
    width: 100%;
    background: rgba(12, 26, 7, 0.50);
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* WENISCH: iOS fallback (background-clip:text unsupported on some) */
  .hero-wenisch {
    font-size: clamp(2.8rem, 14vw, 5.5rem);
    left: 5%;
    transform: translateY(-60%);
    -webkit-text-fill-color: rgba(210,240,180,.9);
    color: rgba(210,240,180,.9);
    background: none;
    filter: none;
  }

  .hero-land { display: none; }

  .hero-info {
    left: 5%;
    right: 5%;
    max-width: none;
    bottom: 4.5rem;
  }

  /* Bio: single column, portrait on top */
  .ueber-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Portrait aside: full-width, stacked */
  .ueber-aside {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .portrait-wrap {
    width: 100%;
    flex-shrink: 0;
  }

  /* Portrait image: landscape crop on mobile — shows face + environment */
  .portrait-wrap img {
    aspect-ratio: 4 / 3;
    object-position: center 15%;
  }

  /* Hide the sidebar contact block on mobile — redundant with footer/kontakt */
  .aside-contact { display: none; }
}

/* ── Mobile (≤ 640px) ── */
@media (max-width: 640px) {
  :root { --sp-xl: 3.5rem; }

  /* Nav: badge + CTA only */
  .logo-wordmark { display: none; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta {
    padding: 0.5rem 1.1rem !important;
    font-size: 0.72rem !important;
  }

  /* Hero: tighter text on small screens */
  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.6rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.4rem;
  }

  .hero-link {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    padding: 0.75rem 1.6rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Spiegel: left-align on mobile for better readability */
  .spiegel-content { text-align: left; }

  .spiegel-quote {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    padding-left: 0;
    border-left: 2px solid var(--c-gold);
    padding-left: 1.2rem;
    text-align: left;
  }

  .spiegel-body { font-size: 1rem; }
  .spiegel-body--accent { font-size: 1.05rem; }

  .spiegel-list {
    align-items: stretch;
    text-align: left;
    margin-inline: 0;
  }

  /* Bio text: tighter heading */
  .ueber-text { padding-top: 2rem; }
  .ueber-text h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  /* Ablauf: centered on mobile */
  #ablauf .container { text-align: left; }

  .ablauf-text .text-lead { font-size: 1.1rem; }

  /* Cards: 1 column on narrow mobile */
  .cards-grid { grid-template-columns: 1fr; }

  .card { padding: 1.5rem; }

  .cards-hint {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Kontakt: full-width button, centered call line */
  .kontakt-content h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .kontakt-sub { font-size: 0.95rem; }

  .kontakt-btns {
    width: 100%;
    align-items: stretch;
  }

  .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    font-size: 0.78rem;
  }

  .kontakt-call {
    text-align: center;
    font-size: 0.88rem;
  }

  /* Footer: stacked, readable spacing */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }
}

/* ── Small phones (≤ 420px) ── */
@media (max-width: 420px) {
  .hero-wenisch {
    font-size: clamp(2.4rem, 16vw, 3.8rem);
  }

  .hero-info { bottom: 3.5rem; }

  .cards-grid { grid-template-columns: 1fr; }
}
