/* ============================================================
   EXKLUSIV VERANDA — Design-System
   Hell, clean, viel Weißraum. Anthrazit für Typo, Rot als
   einziger Akzent. Farben bewusst als Variablen, damit ein
   Markenwechsel eine Zeile kostet und nicht einen Umbau.
   ============================================================ */

@import url('vendor/fonts/fontshare.css');
@import url('vendor/fonts/jetbrains.css');

:root {
  /* Marke */
  --rot:        #C8202A;
  --rot-dunkel: #A0161F;
  --rot-hell:   #E63946;
  --anthrazit:  #2E3033;

  /* Flächen */
  --bg:        #FFFFFF;
  --bg-alt:    #F6F5F3;
  --bg-tief:   #EFEDE9;
  --surface:   #FFFFFF;

  /* Text */
  --text:      #2E3033;
  --text-dim:  #6A6C70;
  --text-mute: #A0A2A6;

  /* Linien */
  --line:      rgba(46, 48, 51, 0.10);
  --line-hi:   rgba(46, 48, 51, 0.22);

  /* Semantik */
  --accent:    var(--rot);
  --accent-hi: var(--rot-dunkel);
  --on-accent: #FFFFFF;

  /* 3D / Grafik */
  --glass:      rgba(140, 180, 205, 0.16);
  --glass-line: rgba(110, 150, 180, 0.34);
  --alu:        #B4B8BC;
  --alu-hi:     #8E9398;

  --shadow:     0 24px 60px -32px rgba(46, 48, 51, 0.30);
  --shadow-weich: 0 2px 20px -8px rgba(46, 48, 51, 0.14);

  /* Typo */
  --display: 'Clash Display', 'Helvetica Neue', sans-serif;
  --body:    'Satoshi', 'Helvetica Neue', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Raster */
  --gutter: clamp(20px, 4.5vw, 72px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

/* ============================================================
   TYPOGRAFIE
   ============================================================ */

.h-display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-size: clamp(2.9rem, 6.6vw, 7rem);
}
.h1 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.04;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
}
.h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.14;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
}
.lead {
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  line-height: 1.66;
  color: var(--text-dim);
  max-width: 54ch;
}

/* Mono nur für Maße, RAL-Codes, Kennzahlen */
.tech {
  font-family: var(--mono);
  font-size: .84rem;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
}

.section-label {
  display: flex; align-items: baseline; gap: 16px;
  font-size: .95rem;
  color: var(--text-dim);
  margin-bottom: 34px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-label b {
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--rot);
  font-weight: 500;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}
section { position: relative; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 32px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--line-hi);
  overflow: hidden;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--rot);
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { border-color: var(--rot); color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn-solid {
  background: var(--rot);
  border-color: var(--rot);
  color: #fff;
}
.btn-solid::before { background: var(--anthrazit); }
.btn-solid:hover { color: #fff; border-color: var(--anthrazit); }

/* ============================================================
   BILDER
   ============================================================ */

.photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-tief);
}
.photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.prod-card:hover .photo > img,
.ref:hover .photo > img { transform: scale(1.04); }

.photo-mark {
  position: absolute; inset: 0;
  display: grid; place-content: center; gap: 12px;
  justify-items: center; text-align: center; padding: 20px;
}
.photo-mark svg { width: 34px; opacity: .35; }
.photo-mark span {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mute); max-width: 26ch; line-height: 1.7;
}
.photo-cap {
  position: absolute; left: 22px; right: 22px; bottom: 20px;
  font-family: var(--mono); font-size: .76rem;
  color: #fff; z-index: 2;
  text-shadow: 0 1px 14px rgba(0,0,0,.7);
}

/* ============================================================
   LOGO
   ============================================================ */

.logo {
  display: flex; align-items: center; gap: 13px;
  flex: none;
}
.logo svg { height: 30px; width: auto; flex: none; }
.logo .wort {
  font-family: var(--display);
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--rot);
  border-left: 2px solid var(--rot);
  padding-left: 11px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  transition: background .4s var(--ease), padding .4s var(--ease),
              box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-block: 13px;
}
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-size: 1rem;
  position: relative; padding-block: 5px;
  color: var(--text-dim);
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--rot);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 16px; }

@media (max-width: 1080px) { .nav-links { display: none; } }
@media (max-width: 760px) {
  .nav { padding: 13px var(--gutter); }
  .logo svg { height: 26px; }
  .logo .wort { font-size: .84rem; padding-left: 9px; }
  .nav-right .btn { white-space: nowrap; padding: 13px 18px; font-size: .88rem; }
}
@media (max-width: 420px) {
  .nav-right .btn { padding: 12px 14px; font-size: .82rem; }
  .nav-right .btn .arrow { display: none; }
}

/* ============================================================
   ANIMATION
   ============================================================ */

.reveal { opacity: 0; }
.line-mask { overflow: hidden; display: block; padding-bottom: .05em; }
.line-mask > span { display: block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, [data-fade] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--line);
  padding: 96px 0 36px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
  gap: 52px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rot); font-weight: 500; margin-bottom: 20px;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--text-dim); font-size: .96rem; transition: color .3s; }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 68px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}

/* ── Soziale Netzwerke im Fuß ──────────────────────────── */
.social {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-hi);
  color: var(--text-dim);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.social a:hover {
  color: #fff;
  background: var(--rot);
  border-color: var(--rot);
}
.social svg { width: 19px; height: 19px; }
