/* ============================================================
   SEEGOLD CAPITAL GmbH — Stylesheet
   Zwei Themes: Hell (Creme & Gold, Standard) + Dunkel (Anthrazit & Gold)
   Umschaltbar via [data-theme] auf <html>.
   ============================================================ */

/* ---------- Design Tokens: HELL (Standard) ---------- */
:root {
  --bg:          #faf6ee;
  --bg-2:        #f3ebdb;
  --bg-elev:     #fffdf8;
  --bg-elev-2:   #f7f1e6;

  --text:        #2b2620;
  --text-muted:  #6b6152;
  --text-dim:    #9a8f7c;

  --gold:        #b08a3e;
  --gold-bright: #c9a24e;
  --gold-deep:   #8a6a2b;
  --gold-grad:   linear-gradient(135deg, #d7b463 0%, #c9a24e 32%, #b08a3e 62%, #8a6a2b 100%);

  --line:        rgba(176,138,62,0.28);
  --line-soft:   rgba(176,138,62,0.14);
  --hair:        rgba(176,138,62,0.18);
  --glow:        rgba(201,162,78,0.28);

  --orb-1:       rgba(201,162,78,0.26);
  --orb-2:       rgba(176,138,62,0.20);
  --orb-3:       rgba(215,180,99,0.16);

  --shadow-card: 0 24px 60px -30px rgba(138,106,43,0.35);
  --shadow-strong: 0 40px 90px -45px rgba(138,106,43,0.42);
  --vignette:    radial-gradient(125% 95% at 50% 28%, rgba(255,253,248,0) 52%, rgba(138,106,43,0.10) 100%);

  --nav-bg:      rgba(250,246,238,0.82);
  --menu-bg:     rgba(250,246,238,0.97);
  --on-gold:     #26190a;
  --sel-bg:      var(--gold);
  --sel-fg:      #fffdf8;
  --card-hover-glow: rgba(201,162,78,0.14);

  --font-display: 'Italiana', 'Playfair Display', Georgia, serif;
  --font-italic:  'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --section-pad: clamp(5rem, 12vh, 9rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Design Tokens: DUNKEL ---------- */
[data-theme="dark"] {
  --bg:          #0d0f12;
  --bg-2:        #101318;
  --bg-elev:     #14181f;
  --bg-elev-2:   #191e27;

  --text:        #f3f1ec;
  --text-muted:  #a9adb4;
  --text-dim:    #6d7178;

  --gold:        #cba656;
  --gold-bright: #e8c877;
  --gold-deep:   #a8842f;
  --gold-grad:   linear-gradient(135deg, #f3d98f 0%, #cba656 45%, #a8842f 100%);

  --line:        rgba(232,200,119,0.16);
  --line-soft:   rgba(255,255,255,0.08);
  --hair:        rgba(255,255,255,0.03);
  --glow:        rgba(232,200,119,0.10);

  --orb-1:       rgba(232,200,119,0.28);
  --orb-2:       rgba(168,132,47,0.30);
  --orb-3:       rgba(203,166,86,0.16);

  --shadow-card: 0 40px 80px -40px rgba(0,0,0,0.8);
  --shadow-strong: 0 50px 100px -50px rgba(0,0,0,0.9);
  --vignette:    radial-gradient(120% 120% at 50% 0%, transparent 55%, rgba(0,0,0,0.5) 100%);

  --nav-bg:      rgba(13,15,18,0.72);
  --menu-bg:     rgba(13,15,18,0.96);
  --on-gold:     #14120c;
  --sel-fg:      #14181f;
  --card-hover-glow: rgba(232,200,119,0.10);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}

body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9;
  background: var(--vignette);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--sel-bg); color: var(--sel-fg); }

/* ---------- Layout Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-pad); position: relative; }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
}
.h2 em, .hero__title em, .cta__title em {
  font-family: var(--font-italic); font-style: italic; font-weight: 500;
  color: var(--gold);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 46ch;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.eyebrow__line { width: 34px; height: 1px; background: var(--gold-grad); display: inline-block; }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__lead { margin-top: 1.4rem; }

/* ---------- Buttons ---------- */
.btn {
  --pv: 0.95rem; --ph: 1.9rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: var(--pv) var(--ph);
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.02em;
  border-radius: 100px;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}
.btn--gold { color: var(--on-gold); background: var(--gold-grad); box-shadow: 0 10px 30px -10px var(--glow); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #ffe9b8, #d7b463);
  opacity: 0; transition: opacity 0.4s var(--ease); z-index: 0;
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px var(--glow); }
.btn--gold:hover::after { opacity: 1; }
.btn--gold > * { position: relative; z-index: 2; }
.btn--gold { z-index: 0; }

.btn--ghost { color: var(--text); border: 1px solid var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-3px); background: var(--card-hover-glow); }
[data-theme="dark"] .btn--ghost:hover { color: var(--gold-bright); }

/* ============================================================
   BRAND / LOGO
   ============================================================ */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--gold); }
[data-theme="dark"] .brand { color: var(--gold-bright); }
.brand-mark { display: block; transition: transform 0.7s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.03); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.18rem; letter-spacing: 0.2em; }
.brand-sub { font-size: 0.56rem; font-weight: 500; letter-spacing: 0.4em; color: var(--gold-deep); margin-top: 4px; }
[data-theme="dark"] .brand-sub { color: var(--gold); opacity: 0.8; }

/* ---------- Theme Toggle ---------- */
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold);
  transition: border-color 0.35s, color 0.35s, transform 0.35s, background 0.35s;
}
.theme-toggle:hover { border-color: var(--gold); background: var(--card-hover-glow); transform: translateY(-2px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }
[data-theme="dark"] .theme-toggle { color: var(--gold-bright); }
[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
[data-theme="dark"] .theme-toggle .ic-moon { display: none; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  color: var(--gold);
}
.preloader.done { opacity: 0; visibility: hidden; }
/* 0.55s statt 1.4s: die Zeichnung muss fertig sein, bevor nach 600 ms
   ausgeblendet wird - sonst bricht das Logo mittendrin ab. */
.pl-draw { stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 0.55s var(--ease) forwards; }
.preloader__word {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.5em; color: var(--gold); text-indent: 0.5em;
  opacity: 0; animation: fadeUp 0.4s var(--ease) 0.12s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--gold-grad); z-index: 60;
  box-shadow: 0 0 12px var(--glow);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s, border-color 0.5s, padding 0.4s, transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
  padding-block: 0.4rem;
}
.nav--hidden { transform: translateY(-105%); }
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }

.nav__right { display: flex; align-items: center; gap: 1.4rem; }
.nav__links { display: flex; align-items: center; gap: 2.1rem; }
.nav__links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); position: relative; transition: color 0.3s; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold-grad); transition: width 0.35s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--text); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  padding: 0.6rem 1.4rem; border: 1px solid var(--line); border-radius: 100px;
  color: var(--gold-deep) !important;
  transition: background 0.35s, border-color 0.35s, transform 0.35s, color 0.35s;
}
[data-theme="dark"] .nav__cta { color: var(--gold-bright) !important; }
.nav__cta:hover { background: var(--card-hover-glow); border-color: var(--gold); transform: translateY(-2px); }

.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 90px; overflow: hidden;
  background:
    radial-gradient(75% 55% at 72% 12%, var(--glow), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 62%, var(--bg-2) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 80%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); }
.orb--1 { width: 46vw; height: 46vw; top: -12%; right: -8%; background: radial-gradient(circle, var(--orb-1), transparent 70%); animation: drift1 22s ease-in-out infinite; }
.orb--2 { width: 34vw; height: 34vw; bottom: -14%; left: -6%; background: radial-gradient(circle, var(--orb-2), transparent 70%); animation: drift2 26s ease-in-out infinite; }
.orb--3 { width: 22vw; height: 22vw; top: 40%; left: 46%; background: radial-gradient(circle, var(--orb-3), transparent 70%); animation: drift1 18s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { transform: translate(0,0);} 50% { transform: translate(-6%, 8%);} }
@keyframes drift2 { 0%,100% { transform: translate(0,0);} 50% { transform: translate(8%, -6%);} }

.hero__waves { position: absolute; left: 0; right: 0; bottom: 8%; width: 100%; height: 40%; opacity: 0.55; }
.wave { stroke-dasharray: 6 10; animation: wavemove 8s linear infinite; }
.wave--b { animation-duration: 11s; }
.wave--c { animation-duration: 14s; }
@keyframes wavemove { to { stroke-dashoffset: -160; } }

.hero__glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  transform: translate(-50%, -50%); left: var(--mx, 50%); top: var(--my, 40%);
  pointer-events: none; z-index: 1; transition: opacity 0.5s; opacity: 0;
}
.hero:hover .hero__glow { opacity: 1; }

.hero__content { position: relative; z-index: 2; max-width: 900px; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.9rem, 8.5vw, 6.8rem);
  line-height: 1.08; letter-spacing: 0.005em;
  margin-bottom: 1.8rem;
}
.hero__title .line { display: block; overflow: hidden; padding-block: 0.06em 0.16em; margin-bottom: -0.14em; }
.hero__title .line > span { display: block; }
html.js .hero__title .line > span { transform: translateY(115%); }
html.js .hero.reveal-hero .hero__title .line > span {
  transform: translateY(0);
  transition: transform 1s var(--ease-out);
}
html.js .hero.reveal-hero .hero__title .line:nth-child(2) > span { transition-delay: 0.12s; }

.hero__lead { max-width: 52ch; margin-bottom: 2.4rem; font-size: clamp(1.05rem, 1.7vw, 1.32rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }

.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem); }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 400; color: var(--gold); line-height: 1; }
[data-theme="dark"] .hero__stat-num { color: var(--gold-bright); }
.hero__stat-label { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.06em; margin-top: 0.5rem; text-transform: uppercase; }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem; z-index: 2;
}
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold-bright); animation: scrolldown 1.8s var(--ease) infinite; }
@keyframes scrolldown { 0% { top: -50%; } 100% { top: 100%; } }
.hero__scroll-text { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-dim); }

/* ---- Hero mit Bodensee-Foto (in Creme eingebettet) ---- */
.hero--photo .hero__content { max-width: 660px; }
.hero--photo .hero__title { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.hero__photo {
  position: absolute; inset: -30% 0 0 0; z-index: 0;
  background: var(--bg-2) url('../assets/hero-bodensee.jpg') center 52% / cover no-repeat;
  transform: translateY(var(--par, 0px)) scale(1.02);
  animation: heroKen 30s ease-in-out infinite alternate;
  will-change: transform;
}
/* Auf schmalen Viewports reicht die 800-px-Fassung des Heros.
   Das spart rund 100 KB genau dort, wo der LCP entsteht. */
@media (max-width: 820px) {
  .hero__photo { background-image: url('../assets/hero-bodensee-800.jpg'); }
}

.hero__cream {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250,246,238,0.97) 0%, rgba(250,246,238,0.92) 34%, rgba(250,246,238,0.58) 52%, rgba(250,246,238,0.14) 70%, rgba(250,246,238,0) 85%),
    linear-gradient(180deg, rgba(250,246,238,0.92) 0%, rgba(250,246,238,0) 18%),
    linear-gradient(0deg, var(--bg) 1%, rgba(250,246,238,0) 28%);
}
[data-theme="dark"] .hero__cream {
  background:
    linear-gradient(90deg, rgba(13,15,18,0.94) 0%, rgba(13,15,18,0.86) 34%, rgba(13,15,18,0.5) 52%, rgba(13,15,18,0.14) 70%, rgba(13,15,18,0) 85%),
    linear-gradient(180deg, rgba(13,15,18,0.82) 0%, rgba(13,15,18,0) 18%),
    linear-gradient(0deg, var(--bg) 1%, rgba(13,15,18,0) 28%);
}
@keyframes heroKen { from { transform: translateY(var(--par, 0px)) scale(1.02); } to { transform: translateY(var(--par, 0px)) scale(1.09); } }
@media (max-width: 760px) {
  .hero__photo { background-position: 62% 52%; }
  .hero__cream {
    background:
      linear-gradient(90deg, rgba(250,246,238,0.97) 0%, rgba(250,246,238,0.88) 45%, rgba(250,246,238,0.5) 72%, rgba(250,246,238,0.2) 100%),
      linear-gradient(180deg, rgba(250,246,238,0.92) 0%, rgba(250,246,238,0) 16%),
      linear-gradient(0deg, var(--bg) 2%, rgba(250,246,238,0) 34%);
  }
  [data-theme="dark"] .hero__cream {
    background:
      linear-gradient(90deg, rgba(13,15,18,0.95) 0%, rgba(13,15,18,0.84) 45%, rgba(13,15,18,0.5) 72%, rgba(13,15,18,0.2) 100%),
      linear-gradient(180deg, rgba(13,15,18,0.85) 0%, rgba(13,15,18,0) 16%),
      linear-gradient(0deg, var(--bg) 2%, rgba(13,15,18,0) 34%);
  }
}

/* ============================================================
   ÜBER UNS — Editorial-Zweispalter (Titel links, Text rechts)
   ============================================================ */
.about__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
  max-width: 1080px; margin-inline: auto;
}
.about__intro .h2 { margin-top: 0.2rem; }
.about__body .lead { max-width: 60ch; margin-bottom: 1.5rem; }
.about__body p:not(.lead):not(.eyebrow) { color: var(--text-muted); font-weight: 300; max-width: 60ch; }

/* ---- Unterschriften der Geschäftsführer ---- */
.about__sign {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: 1.8rem clamp(2.5rem, 6vw, 4.5rem);
  margin-top: 2.6rem;
}
.sign { display: flex; flex-direction: column; }
.sign__script {
  font-family: 'Mrs Saint Delafield', 'Playfair Display', cursive;
  font-size: clamp(2.5rem, 4.2vw, 3.2rem); line-height: 1.05;
  color: var(--text); opacity: 0.92;
  transform: rotate(-2deg); transform-origin: left bottom;
  padding-right: 0.6rem; margin-bottom: 0.5rem;
  white-space: nowrap;
}
.sign__name {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
  padding-top: 0.55rem; border-top: 1px solid var(--line-soft);
  width: fit-content; padding-right: 1.5rem;
}
.sign__role { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-top: 0.2rem; }

.principles {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
}
.principles li {
  position: relative; font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim);
}
.principles li:not(:last-child)::after {
  content: "·"; position: absolute; right: -0.9rem;
  color: var(--gold); font-weight: 400;
}

/* ============================================================
   LEISTUNGEN — CARDS
   ============================================================ */
.services { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  position: relative; padding: 2.2rem 1.8rem 2rem;
  background: var(--bg-elev); border: 1px solid var(--line-soft); border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, var(--card-hover-glow), transparent 60%);
  opacity: 0; transition: opacity 0.5s;
}
.card:hover { transform: translateY(-8px); border-color: var(--line); box-shadow: var(--shadow-strong); }
.card:hover::before { opacity: 1; }
.card__num { font-family: var(--font-display); font-size: 1rem; color: var(--gold); letter-spacing: 0.1em; }
.card__icon { display: block; color: var(--gold); margin: 1.2rem 0 1.4rem; transition: transform 0.5s var(--ease); }
[data-theme="dark"] .card__icon { color: var(--gold-bright); }
.card:hover .card__icon { transform: translateY(-4px) scale(1.06); }
.card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin-bottom: 0.7rem; letter-spacing: 0.01em; }
.card__text { font-size: 0.94rem; color: var(--text-muted); font-weight: 300; line-height: 1.7; position: relative; z-index: 1; }

/* ============================================================
   SHOWPIECE — "Wir bauen Wert" (Scroll-Kran-Bau)
   ============================================================ */
.build { position: relative; background: linear-gradient(180deg, var(--bg), var(--bg-2)); --build-vh: 340vh; }
.build__wrap { position: relative; height: var(--build-vh); }
.build__pin {
  position: sticky; top: 0; height: 100vh; min-height: 620px;
  display: flex; align-items: center; overflow: hidden;
}
.build__pin::before { content: ""; position: absolute; inset: 0; background: var(--vignette); pointer-events: none; }
.build__inner {
  width: 100%; display: flex; flex-direction: column; align-items: center;
  gap: clamp(0.75rem, 2.5vh, 1.8rem); position: relative; z-index: 1;
  text-align: center;
}
.build__head { max-width: 760px; }
.build__head .eyebrow { justify-content: center; }
.build__head .h2 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); }
.build__scene-wrap { width: 100%; display: flex; justify-content: center; }
.build__scene { width: min(1080px, 94vw); height: auto; max-height: 54vh; overflow: visible; }
.build__scene #crane-group, .build__scene #crane-hook, .build__scene #windows, .build__scene #wordmark { will-change: transform, opacity; }

.build__labels { display: flex; gap: clamp(0.8rem, 3vw, 2.6rem); flex-wrap: wrap; justify-content: center; }
.build__label {
  display: flex; flex-direction: column; align-items: center; max-width: 210px;
  opacity: 0.3; transition: opacity 0.5s var(--ease);
}
.build__label.is-active { opacity: 1; }
.build__label-num { font-family: var(--font-display); color: var(--gold); font-size: 0.95rem; letter-spacing: 0.14em; }
.build__label-t { font-weight: 600; font-size: 0.98rem; margin-top: 0.25rem; letter-spacing: 0.01em; }
.build__label-s { font-size: 0.78rem; color: var(--text-muted); font-weight: 300; margin-top: 0.25rem; line-height: 1.4; }
.build__label::after { content: ""; height: 2px; width: 0; background: var(--gold-grad); border-radius: 2px; margin-top: 0.55rem; transition: width 0.5s var(--ease); }
.build__label.is-active::after { width: 42px; }

.build__hint { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-dim); display: inline-flex; gap: 0.5rem; align-items: center; }
.build__hint::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }

/* ============================================================
   TRACK RECORD — STATS
   ============================================================ */
.stats { background: var(--bg-2); overflow: hidden; }
.stats__bg { position: absolute; inset: 0; z-index: 0; }
.orb--stat { width: 40vw; height: 40vw; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, var(--glow), transparent 70%); filter: blur(60px); }
.stats .container { position: relative; z-index: 1; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; max-width: 1000px; margin-inline: auto; }
.stat { text-align: center; padding: 2.5rem 1rem; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--bg-elev); box-shadow: var(--shadow-card); transition: border-color 0.4s, transform 0.4s; }
.stat:hover { border-color: var(--line); transform: translateY(-4px); }
.stat__num { display: flex; align-items: baseline; justify-content: center; gap: 0.35rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--gold); }
[data-theme="dark"] .stat__num { color: var(--gold-bright); }
.stat__unit { font-size: 0.42em; color: var(--text); font-weight: 500; font-family: var(--font-body); }
.stat__label { display: block; margin-top: 0.9rem; font-size: 0.86rem; letter-spacing: 0.06em; color: var(--text-muted); text-transform: uppercase; }

/* ============================================================
   AKTUELLE OBJEKTE — Projekt-Karten
   ============================================================ */
.projects { background: var(--bg-2); }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.project {
  position: relative;
  background: var(--bg-elev); border: 1px solid var(--line-soft); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.project:hover { transform: translateY(-8px); border-color: var(--line); box-shadow: var(--shadow-strong); }
.project__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.project__img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  background-size: cover; background-position: center;
  transition: transform 0.8s var(--ease);
}
.project:hover .project__img { transform: scale(1.06); }
/* Karten mit eigener Projektseite: der Link spannt sich unsichtbar
   ueber die ganze Karte, sichtbar ist nur die Gold-Zeile unten. */
.project__more {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); text-decoration: none;
  transition: gap 0.3s var(--ease);
}
.project:hover .project__more { gap: 0.8rem; }
.project__more::after { content: ""; position: absolute; inset: 0; }
.project__img--ph {
  display: grid; place-items: center;
  background: radial-gradient(90% 90% at 50% 20%, var(--card-hover-glow), transparent 70%), linear-gradient(150deg, var(--bg-2), var(--bg-elev-2));
  color: var(--gold); opacity: 0.85;
}
.project__status {
  position: absolute; top: 0.9rem; left: 0.9rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-gold); background: var(--gold-grad);
  padding: 0.35rem 0.85rem; border-radius: 100px;
  box-shadow: 0 8px 20px -8px var(--glow);
}
.project__status--soft { background: var(--bg-elev); color: var(--gold-deep); border: 1px solid var(--line); box-shadow: none; }
[data-theme="dark"] .project__status--soft { background: var(--bg-elev); color: var(--gold-bright); }
.project__symbol {
  position: absolute; bottom: 0.7rem; right: 0.7rem;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fffdf8; background: rgba(38, 30, 18, 0.42);
  padding: 0.25rem 0.65rem; border-radius: 100px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.project__body { padding: 1.4rem 1.5rem 1.5rem; }
.project__title { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: 0.01em; }
.project__loc { font-size: 0.76rem; color: var(--gold-deep); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem; }
[data-theme="dark"] .project__loc { color: var(--gold-bright); }
.project__type { font-size: 0.92rem; color: var(--text-muted); font-weight: 300; margin-top: 0.55rem; }
.project__facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem;
  margin-top: 1rem; padding-top: 0.95rem; border-top: 1px solid var(--line-soft);
}
.project__facts li { font-size: 0.8rem; color: var(--text-dim); }
.project__facts strong { color: var(--text); font-weight: 600; }
@media (max-width: 980px) { .projects__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ============================================================
   ANKAUFSPROFIL
   ============================================================ */
.acquire { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.acquire__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 1040px; margin: 1rem auto 0; }
.acquire__item { padding: 2.4rem 1.8rem; background: var(--bg-elev); border: 1px solid var(--line-soft); border-radius: 16px; box-shadow: var(--shadow-card); text-align: center; display: flex; flex-direction: column; align-items: center; }
.acquire__item--accent { border-color: var(--line); background: radial-gradient(120% 90% at 50% 0%, var(--card-hover-glow), transparent 62%), var(--bg-elev); }
.acquire__icon { color: var(--gold); margin-bottom: 1.1rem; }
[data-theme="dark"] .acquire__icon { color: var(--gold-bright); }
.acquire__item h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: 0.01em; margin-bottom: 1.1rem; }
.acquire__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.acquire__tags li { font-size: 0.85rem; color: var(--text-muted); border: 1px solid var(--line); border-radius: 100px; padding: 0.35rem 0.9rem; }
.acquire__big { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--gold); line-height: 1; }
[data-theme="dark"] .acquire__big { color: var(--gold-bright); }
.acquire__sub { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 720px) { .acquire__grid { grid-template-columns: 1fr; max-width: 460px; } }

/* ---- Ankaufsprofil-Unterseite ---- */
.acq-hero {
  position: relative; overflow: hidden;
  padding: clamp(8rem, 16vh, 11rem) 0 clamp(3rem, 6vh, 4.5rem);
  background:
    radial-gradient(70% 60% at 78% 8%, var(--glow), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.acq-hero__inner { max-width: 780px; }
.acq-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--text-muted); margin-bottom: 2rem;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.acq-back:hover { gap: 0.85rem; color: var(--gold-deep); }
[data-theme="dark"] .acq-back:hover { color: var(--gold-bright); }
.acq-hero .h2 { margin: 0.4rem 0 1.3rem; }
.acq-hero .lead { max-width: 56ch; }
.acq-hero__rule { border: none; border-top: 1px solid var(--line-soft); margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.acquire__more {
  max-width: 1040px; margin: clamp(2.5rem, 5vw, 3.6rem) auto 0;
  border-top: 1px solid var(--line-soft);
}
.acquire__row {
  display: grid; grid-template-columns: 0.5fr 1fr; gap: 1rem clamp(1.5rem, 4vw, 3rem);
  padding: 1.3rem 0.4rem; border-bottom: 1px solid var(--line-soft);
}
.acquire__row dt {
  font-family: var(--font-display); font-weight: 400; font-size: 1.12rem;
  color: var(--gold); letter-spacing: 0.01em;
}
[data-theme="dark"] .acquire__row dt { color: var(--gold-bright); }
.acquire__row dd { color: var(--text-muted); font-weight: 300; line-height: 1.7; }
@media (max-width: 640px) {
  .acquire__row { grid-template-columns: 1fr; gap: 0.35rem; padding: 1.1rem 0.2rem; }
  .acquire__row dt { font-size: 1.05rem; }
}

/* ============================================================
   KONTAKT — CTA
   ============================================================ */
.cta { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.cta__inner {
  text-align: center; max-width: 760px; margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad);
  position: relative; border: 1px solid var(--line); border-radius: 24px;
  background:
    radial-gradient(90% 120% at 50% 0%, var(--card-hover-glow), transparent 60%),
    var(--bg-elev);
  box-shadow: var(--shadow-strong);
}
.cta__title { margin-bottom: 1rem; }
.cta__lead { margin-inline: auto; margin-bottom: 2.2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-elev-2) 100%);
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  color: var(--text);
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-grad); opacity: 0.75;
}
.footer::after {
  content: ""; position: absolute; top: -42%; right: -6%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  pointer-events: none; opacity: 0.45;
}
.footer__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; max-width: 380px; }
.footer__logo { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--gold); }
[data-theme="dark"] .footer__logo { color: var(--gold-bright); }
.footer__logo .brand-mark { transition: transform 0.7s var(--ease); }
.footer__logo:hover .brand-mark { transform: rotate(-4deg) scale(1.03); }
.footer__logo .brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: 0.2em; line-height: 1; }
.footer__logo .brand-sub { font-size: 0.58rem; font-weight: 500; letter-spacing: 0.4em; color: var(--gold-deep); margin-top: 5px; }
[data-theme="dark"] .footer__logo .brand-sub { color: var(--gold); opacity: 0.8; }
.footer__tagline { font-size: 0.98rem; color: var(--text-muted); line-height: 1.75; font-weight: 300; }
.footer__tagline em { font-family: var(--font-italic); font-style: italic; color: var(--gold); }
.footer__mail {
  font-size: 0.92rem; font-weight: 500; color: var(--gold-deep);
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.footer__mail:hover { color: var(--gold); border-color: var(--gold); }
[data-theme="dark"] .footer__mail { color: var(--gold-bright); }

.footer__col { display: flex; flex-direction: column; gap: 0.9rem; }
.footer__head {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 0.35rem;
}
.footer__col a, .footer__col p { font-size: 0.92rem; color: var(--text-muted); font-weight: 400; line-height: 1.55; }
.footer__col p { margin: 0; }
.footer__col a { width: fit-content; position: relative; transition: color 0.3s; }
.footer__col a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 0;
  background: var(--gold-grad); transition: width 0.35s var(--ease);
}
.footer__col a:hover { color: var(--text); }
.footer__col a:hover::after { width: 100%; }

.footer__bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 0.5rem 1.75rem; padding-block: 1.6rem;
  border-top: 1px solid var(--line-soft); font-size: 0.8rem; color: var(--text-dim);
}
.footer__bar p { margin: 0; }
.footer__bar .footer__gf { color: var(--text-muted); }
.footer__top-link { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--text-dim); transition: color 0.3s, gap 0.3s; }
.footer__top-link:hover { color: var(--gold); gap: 0.7rem; }

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
html.js .reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   MEHR BEWEGUNG — Feinschliff (Juli 2026)
   ============================================================ */

/* 1) Gold-Unterstrich unter dem Hero-Betonungswort (zieht sich nach dem Titel-Reveal) */
.hero__title em { position: relative; display: inline-block; }
.hero__title em::after {
  content: ""; position: absolute; left: 0.02em; bottom: 0.03em;
  height: 0.05em; width: 0; border-radius: 999px;
  background: var(--gold-grad); opacity: 0.9;
}
html.js .hero.reveal-hero .hero__title em::after { width: 100%; transition: width 0.9s var(--ease-out) 1.05s; }

/* 2) Eyebrow-Goldlinien wachsen beim Erscheinen */
html.js .reveal .eyebrow__line { width: 0; transition: width 0.8s var(--ease-out); transition-delay: calc(var(--reveal-delay, 0s) + 0.2s); }
html.js .reveal.in-view .eyebrow__line { width: 34px; }

/* 3) Leistungs-Icons zeichnen sich golden (wie der Kran) */
html.js .card__icon svg * { stroke-dasharray: 170; stroke-dashoffset: 170; }
html.js .card.in-view .card__icon svg * {
  animation: iconDraw 1.4s var(--ease-out) forwards;
  animation-delay: calc(var(--reveal-delay, 0s) + 0.3s);
}
@keyframes iconDraw { to { stroke-dashoffset: 0; } }

/* 4) Glanz-Sweep auf Gold-Buttons */
.btn--gold::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -75%; width: 45%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,244,214,0.75) 50%, transparent 100%);
  transform: skewX(-18deg); z-index: 3; pointer-events: none;
}
.btn--gold:hover::before { left: 135%; transition: left 0.65s ease; }

/* 5) Masken-Reveal für Headlines (Zeile schiebt sich hoch wie im Hero) */
.mask { display: block; overflow: hidden; padding: 0.08em 0.08em 0.18em; margin: -0.08em -0.08em -0.18em; }
.mask__in { display: block; }
html.js .reveal .mask__in { transform: translateY(118%); transition: transform 1s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
html.js .reveal.in-view .mask__in { transform: translateY(0); }
html.js .reveal--mask { opacity: 1; transform: none; transition: none; }

/* 6) Track Record: rollende Ziffern (Odometer) + Goldstrich unter der Zahl */
.odo { display: inline-flex; align-items: flex-start; }
.odo__col { display: block; height: 1em; overflow: hidden; }
.odo__strip { display: block; transform: translateY(0); transition: transform 1.5s var(--ease-out); will-change: transform; }
.odo__strip span { display: block; height: 1em; line-height: 1; }
html.js .stat__num { position: relative; padding-bottom: 0.55rem; }
html.js .stat__num::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  height: 2px; width: 0; border-radius: 2px; background: var(--gold-grad);
  transition: width 0.8s var(--ease-out) 1.3s;
}
html.js .stat.in-view .stat__num::after { width: 52px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; gap: 1.4rem; max-width: 640px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .build__scene { max-height: 46vh; }
}

@media (max-width: 760px) and (min-width: 641px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Navigation: Burger-Menü auf Tablet & schmalem Desktop ---- */
@media (max-width: 1024px) {
  .nav__right {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 2rem;
    background: var(--menu-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 2rem 2.5rem; transform: translateX(100%);
    transition: transform 0.5s var(--ease); border-left: 1px solid var(--line);
  }
  .nav.open .nav__right { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .nav__links a { font-size: 1.2rem; }
  .nav__cta { align-self: flex-start; }
  .nav__burger { display: block; z-index: 51; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 84px; }
  .hero__actions { gap: 0.8rem; margin-bottom: 3rem; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .hero__stats { gap: 1.4rem 1.5rem; }
  .hero__stat { flex: 1 1 42%; }
  .hero__scroll { display: none; }
  .cta__actions { flex-direction: column; }
  .build { --build-vh: 300vh; }
  .build__scene { max-height: 40vh; }
  .build__labels { gap: 0.7rem 1.2rem; }
  .build__label { max-width: 46%; }
  .build__label-s { display: none; }
}

/* ---- Niedrige Viewports (kurze Bildschirme / Querformat) ---- */
@media (max-height: 780px) and (min-width: 641px) {
  .hero { min-height: auto; padding-block: 130px clamp(3rem, 8vh, 5rem); }
  .hero__scroll { display: none; }
  .hero__stats { margin-top: 0.5rem; }
  .build__scene { max-height: 42vh; }
  .build__label-s { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@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; }
  html.js .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none !important; }
  .orb, .wave, .marquee__track { animation: none; }
  html.js .reveal .mask__in { transform: none; }
  html.js .reveal .eyebrow__line { width: 34px; }
  html.js .card__icon svg * { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  html.js .hero.reveal-hero .hero__title em::after { width: 100%; }
  .hero__photo { animation: none; transform: none; }
  .nav--hidden { transform: none; }
}
