/* ============================================================
   CONCEPT TIRAMISU — styles.css  v5
   Light luxury build · cream base · cacao & amber accents
   ============================================================ */

/* ─── §0a  LOCAL FONTS (self-hosted — no Google CDN, GDPR-safe) ── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('cormorant-garamond.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('cormorant-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('jost.woff2') format('woff2');
}

/* ─── §0  TOKENS ─────────────────────────────────────────── */
:root {
  /* Brand */
  --espresso:      #1A0B05;
  --espresso-deep: #140804;
  --cacao:         #3B1B0C;
  --amber:         #C4811A;
  --amber-light:   #E8B45A;
  --amber-text:    #9A6210;          /* darker amber for small text on cream */
  --dust:          #8B6248;
  --cream:         #F3E8D0;
  --parchment:     #FAF5EB;

  /* Ink on light surfaces — always Espresso, never black */
  --ink:      var(--espresso);
  --ink-soft: rgba(26, 11, 5, .66);

  /* Type */
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  /* Spacing — 4/8dp rhythm */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 16px; --sp-4: 24px;
  --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px;
  --sp-9: 128px;

  /* Motion */
  --dur-micro:  .22s;
  --dur-state:  .35s;
  --dur-reveal: .85s;
  --ease-out:   cubic-bezier(.19, 1, .22, 1);
  --ease-spring: cubic-bezier(.2, .8, .3, 1.15);

  /* Z scale */
  --z-base: 0; --z-ring: 1; --z-content: 10; --z-marquee: 20;
  --z-header: 100; --z-mobile-nav: 200; --z-grain: 500;
  --z-progress: 600; --z-cursor: 1000;
}

/* ─── §1  RESET / BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; }
ul[role="list"], ol[role="list"] { list-style: none; }
em { font-style: italic; }

::selection { background: var(--amber); color: var(--espresso); }

:focus-visible {
  outline: 2px solid var(--amber-text);
  outline-offset: 3px;
  border-radius: 2px;
}

/* hidden attribute must always win over component display rules */
[hidden] { display: none !important; }

.skip-link {
  position: fixed; top: -64px; left: var(--sp-3);
  background: var(--cacao); color: var(--cream);
  padding: var(--sp-2) var(--sp-3); font-size: 13px;
  letter-spacing: .08em; z-index: calc(var(--z-progress) + 1);
  transition: top var(--dur-micro);
}
.skip-link:focus { top: var(--sp-3); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ─── §2  SCROLL PROGRESS ────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
  transform: scaleX(0); transform-origin: 0 50%;
  z-index: var(--z-progress); pointer-events: none;
}

/* ─── §3  FILM GRAIN ─────────────────────────────────────── */
.grain {
  position: fixed; inset: -100px; pointer-events: none;
  z-index: var(--z-grain); opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.2s steps(4) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-28px, 16px); }
  50%  { transform: translate(18px, -22px); }
  75%  { transform: translate(-12px, -14px); }
  100% { transform: translate(0, 0); }
}

/* ─── §4  LOGO CURSOR ────────────────────────────────────── */
/* CT signet as native cursor — crisp, zero lag, no follower ring */
@media (hover: hover) and (pointer: fine) {
  body, a, button {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='30 30 240 240'><circle cx='150' cy='150' r='106' fill='%233B1B0C' stroke='%23F3E8D0' stroke-width='7'/><g transform='rotate(-11,150,125.5)'><rect x='73' y='121' width='154' height='9' rx='4.5' fill='%23C4811A'/></g><rect x='145.5' y='127' width='9' height='49' rx='4.5' fill='%23C4811A'/></svg>") 16 16, auto;
  }
}

/* ─── §5  HEADER — frosted cream glass on scroll ─────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) clamp(var(--sp-4), 5vw, var(--sp-7));
  z-index: var(--z-header);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-state), border-color var(--dur-state),
              backdrop-filter var(--dur-state), padding var(--dur-state);
}
.header.is-scrolled {
  background: rgba(250, 245, 235, .65);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: rgba(59, 27, 12, .08);
  padding-top: var(--sp-2); padding-bottom: var(--sp-2);
}

.header__logo {
  display: flex; align-items: center; gap: var(--sp-3); min-height: 44px;
}
.logo-signet { flex-shrink: 0; overflow: visible; filter: drop-shadow(0 2px 10px rgba(59,27,12,.18)); }

.logo-wordmark {
  font-family: var(--font-head); font-weight: 400;
  font-size: 17px; letter-spacing: .06em; line-height: 1;
  display: flex; gap: .4em;
}
.logo-wordmark__concept  { color: rgba(42, 21, 10, .6); }
.logo-wordmark__tiramisu { color: var(--amber-text); }

/* Nav links */
.nav__list { display: flex; gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: center; }
.nav__link {
  font-family: var(--font-body); font-weight: 400;
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(42, 21, 10, .6);
  min-height: 44px; display: inline-flex; align-items: center;
  position: relative;
  transition: color var(--dur-micro);
  touch-action: manipulation;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 8px; left: 0;
  height: 1px; width: 0; background: var(--amber);
  transition: width var(--dur-micro) var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--amber-text); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

/* Language switcher */
.lang-switch {
  display: flex; align-items: center; gap: .3rem;
  font-family: var(--font-body); font-size: 10px; letter-spacing: .14em;
}
.lang-sep { color: rgba(59, 27, 12, .25); line-height: 1; }
.lang-btn {
  padding: 4px 3px; min-height: 44px;
  font-family: inherit; font-size: inherit; letter-spacing: inherit;
  color: rgba(42, 21, 10, .45);
  transition: color var(--dur-micro); touch-action: manipulation;
}
.lang-btn:hover     { color: var(--ink); }
.lang-btn.is-active { color: var(--amber-text); }

/* Burger */
.header__burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 44px; height: 44px; padding: 12px 10px;
  touch-action: manipulation;
}
.burger__bar {
  display: block; width: 22px; height: 1px;
  background: rgba(42, 21, 10, .75);
  transition: background var(--dur-micro); pointer-events: none;
}
@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .lang-switch { font-size: 9px; gap: .2rem; margin-left: auto; }
}

/* ─── §6  MOBILE NAV ─────────────────────────────────────── */
.mobile-nav {
  position: fixed; inset: 0; z-index: var(--z-mobile-nav);
  background: rgba(250, 245, 235, .94);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-state) var(--ease-out),
              visibility 0s linear var(--dur-state);
}
.mobile-nav.is-open {
  opacity: 1; visibility: visible;
  transition: opacity var(--dur-state) var(--ease-out);
}
.mobile-nav__close {
  position: absolute; top: var(--sp-4); right: var(--sp-4);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: rgba(42, 21, 10, .7);
  transition: color var(--dur-micro);
}
.mobile-nav__close:hover { color: var(--amber-text); }
.mobile-nav__list { display: flex; flex-direction: column; gap: var(--sp-4); text-align: center; }
.mobile-nav__link {
  font-family: var(--font-head); font-weight: 300;
  font-size: clamp(2rem, 8vw, 3rem); line-height: 1.2;
  color: var(--ink); padding: var(--sp-1) var(--sp-3);
  display: inline-block; min-height: 44px;
  transform: translateY(24px); opacity: 0;
  transition: color var(--dur-micro), transform .55s var(--ease-out), opacity .55s;
  touch-action: manipulation;
}
.mobile-nav.is-open .mobile-nav__link { transform: translateY(0); opacity: 1; }
.mobile-nav__list li:nth-child(1) .mobile-nav__link { transition-delay: .05s; }
.mobile-nav__list li:nth-child(2) .mobile-nav__link { transition-delay: .11s; }
.mobile-nav__list li:nth-child(3) .mobile-nav__link { transition-delay: .17s; }
.mobile-nav__link:hover { color: var(--amber-text); }

/* ─── §7  BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  min-height: 48px; padding: 14px 34px;
  font-family: var(--font-body); font-weight: 400;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 2px;
  position: relative; overflow: hidden;
  transition: color var(--dur-micro), background var(--dur-micro),
              border-color var(--dur-micro), box-shadow var(--dur-state),
              transform var(--dur-micro);
  touch-action: manipulation;
  will-change: transform;
}
.btn:active { transform: scale(.97); }

.btn--amber {
  background: var(--amber); color: var(--espresso);
}
.btn--amber:hover {
  background: var(--amber-light);
  box-shadow: 0 10px 36px rgba(196, 129, 26, .35);
}
.btn--outline {
  border-color: rgba(59, 27, 12, .35); color: var(--ink);
}
.btn--outline:hover {
  border-color: var(--amber); color: var(--amber-text);
  box-shadow: 0 8px 28px rgba(196, 129, 26, .18);
}

/* sheen sweep on hover */
.btn::before {
  content: ''; position: absolute; top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease-out);
  pointer-events: none;
}
.btn:hover::before { left: 120%; }

.btn--send { width: 100%; }
.btn--send:disabled { opacity: .6; cursor: wait; }
.btn__spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid rgba(26, 11, 5, .3); border-top-color: var(--espresso);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── §8  HERO ───────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 120% 90% at 50% 110%, rgba(196,129,26,.12), transparent 55%),
    linear-gradient(180deg, var(--parchment) 0%, var(--cream) 100%);
  overflow: hidden;
  padding: var(--sp-8) clamp(var(--sp-4), 6vw, var(--sp-8)) var(--sp-7);
}

/* Glow orbs — JS moves position, CSS breathes opacity */
.hero__glow { position: absolute; inset: 0; z-index: var(--z-base); pointer-events: none; }
.glow-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.glow-orb--1 {
  width: 480px; height: 480px; top: 8%; left: -8%;
  background: radial-gradient(circle, rgba(196,129,26,.18), transparent 70%);
  animation: orbBreathe 9s ease-in-out infinite;
}
.glow-orb--2 {
  width: 560px; height: 560px; bottom: -12%; right: -10%;
  background: radial-gradient(circle, rgba(139,98,72,.16), transparent 70%);
  animation: orbBreathe 13s ease-in-out 2s infinite;
}
.glow-orb--3 {
  width: 320px; height: 320px; top: 42%; left: 58%;
  background: radial-gradient(circle, rgba(232,180,90,.14), transparent 70%);
  animation: orbBreathe 7s ease-in-out 1s infinite;
}
@keyframes orbBreathe {
  0%, 100% { opacity: .75; }
  50%      { opacity: 1.0; }
}

/* Dual counter-rotating rings */
.hero__bg-ring {
  position: absolute; top: 50%; right: -12vw;
  width: clamp(420px, 56vw, 880px); height: clamp(420px, 56vw, 880px);
  transform: translateY(-50%);
  z-index: var(--z-ring); pointer-events: none;
  opacity: .5;
  will-change: transform;
}
.hero__bg-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.ring-spin         { animation: slowSpin 90s linear infinite; transform-origin: 50% 50%; }
.ring-spin--reverse{ animation: slowSpinRev 65s linear infinite; }
@keyframes slowSpin    { to { transform: rotate(360deg);  } }
@keyframes slowSpinRev { to { transform: rotate(-360deg); } }

/* Hero content */
.hero__inner {
  position: relative; z-index: var(--z-content);
  max-width: 1100px;
  will-change: transform, opacity;
}

.hero__headline {
  font-family: var(--font-head); font-weight: 300;
  font-size: clamp(3rem, 10.5vw, 8.2rem);
  line-height: 1.04; letter-spacing: -.01em;
  color: var(--cacao);
}
.hero__hl-line { display: block; perspective: 700px; }

/* Amber shimmer on "Tiramisu" */
.hero__headline em {
  font-style: italic;
  color: var(--amber);
  background: linear-gradient(110deg,
              var(--amber) 30%, var(--amber-light) 50%, var(--amber) 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 110% 0; }
  50%      { background-position: -10% 0; }
}

.hero__subline {
  max-width: 620px; margin: var(--sp-5) auto 0;
  font-size: clamp(.95rem, 1.6vw, 1.1rem); line-height: 1.75;
  color: var(--ink-soft);
  min-height: 3.5em;
}
.cursor-blink {
  display: inline-block; width: 1px; height: 1.1em;
  background: var(--amber); vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__ctas {
  display: flex; gap: var(--sp-3); justify-content: center;
  flex-wrap: wrap; margin-top: var(--sp-6);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: var(--sp-4); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  z-index: var(--z-content);
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--amber));
  animation: scrollPulse 2.2s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
.hero__scroll-label {
  font-size: 8px; letter-spacing: .4em; text-transform: uppercase;
  color: rgba(42, 21, 10, .45);
}

/* ─── §10  SECTION SHARED ────────────────────────────────── */
.section-header { margin-bottom: var(--sp-7); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-size: 10px; letter-spacing: .38em; text-transform: uppercase;
  color: var(--amber-text); margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--amber);
}
.section-title {
  font-family: var(--font-head); font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.1;
  color: var(--cacao);
}

/* Spotlight — warm light follows mouse */
[data-spotlight] { position: relative; }
[data-spotlight]::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px circle at var(--sx, 50%) var(--sy, 38%),
              rgba(196, 129, 26, .09), transparent 65%);
  opacity: 0; transition: opacity .6s;
  z-index: 1;
}
[data-spotlight]:hover::after { opacity: 1; }

/* ─── §11  LEISTUNGEN — parchment glass cards ────────────── */
.leistungen {
  position: relative;
  background: var(--cream);
  padding: var(--sp-9) clamp(var(--sp-4), 6vw, var(--sp-8));
  overflow: hidden;
}
.leistungen__bg-ring {
  position: absolute; top: -18%; left: -14%;
  width: clamp(380px, 44vw, 720px); height: clamp(380px, 44vw, 720px);
  opacity: .5; pointer-events: none; z-index: var(--z-ring);
  will-change: transform;
}
.leistungen .section-header,
.leistungen .cards-grid { position: relative; z-index: var(--z-content); }

.cards-grid {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  max-width: 1240px; margin: 0 auto;
}

.card {
  position: relative;
  padding: var(--sp-6) var(--sp-5);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 253, 248, .85), rgba(250, 245, 235, .7));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 27, 12, .08);
  box-shadow: 0 4px 18px rgba(59, 27, 12, .05);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color var(--dur-state), box-shadow var(--dur-state);
  --mx: 50%; --my: 50%;
}
.card:hover {
  border-color: rgba(196, 129, 26, .35);
  box-shadow: 0 24px 50px rgba(59, 27, 12, .14);
}

/* inner glow follows mouse */
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx) var(--my),
              rgba(196, 129, 26, .10), transparent 62%);
  opacity: 0; transition: opacity var(--dur-state);
}
.card:hover::before { opacity: 1; }

/* glowing border follows mouse */
.card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my),
              rgba(196, 129, 26, .6), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0; transition: opacity var(--dur-state);
}
.card:hover::after { opacity: 1; }

.card__num {
  font-family: var(--font-head); font-style: italic;
  font-size: 15px; color: var(--amber-text);
  display: inline-block; margin-bottom: var(--sp-4);
}
.card__title {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2;
  color: var(--cacao); margin-bottom: var(--sp-3);
  transform: translateZ(28px);
}
.card__rule {
  border: none; height: 1px; width: 44px;
  background: linear-gradient(90deg, var(--amber), transparent);
  margin-bottom: var(--sp-3);
  transition: width var(--dur-state) var(--ease-out);
}
.card:hover .card__rule { width: 100%; }
.card__desc {
  font-size: .92rem; line-height: 1.7;
  color: var(--ink-soft);
  transform: translateZ(16px);
}

/* ─── §12  ÜBER UNS ──────────────────────────────────────── */
.ueber {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 72vh;
}
.ueber__dark {
  background: var(--espresso);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: var(--sp-8) clamp(var(--sp-5), 6vw, var(--sp-8));
  position: relative; overflow: hidden;
}
.ueber__rule {
  width: 56px; height: 1px; background: var(--amber);
  margin-bottom: var(--sp-5); display: block;
  box-shadow: 0 0 12px rgba(196, 129, 26, .6);
}
.ueber__quote p {
  font-family: var(--font-head); font-weight: 300; font-style: italic;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.25;
  color: var(--cream);
}
.ueber__light {
  background: var(--parchment);
  padding: var(--sp-8) clamp(var(--sp-5), 6vw, var(--sp-8));
  display: flex; flex-direction: column; justify-content: center;
}
.ueber__body {
  color: var(--ink-soft); font-size: .98rem; line-height: 1.8;
  max-width: 54ch; margin-bottom: var(--sp-4);
}
@media (max-width: 900px) {
  .ueber { grid-template-columns: 1fr; }
  .ueber__dark, .ueber__light { padding: var(--sp-7) var(--sp-5); }
}

/* ─── §13  KONTAKT — heading directly above the form ─────── */
.kontakt {
  position: relative;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(196,129,26,.08), transparent 60%),
    var(--cream);
  padding: var(--sp-9) clamp(var(--sp-4), 6vw, var(--sp-8));
  overflow: hidden;
}
.kontakt__bg-ring {
  position: absolute; top: 50%; left: -16vw;
  width: clamp(420px, 50vw, 800px); height: clamp(420px, 50vw, 800px);
  transform: translateY(-50%);
  opacity: .45; pointer-events: none; z-index: var(--z-ring);
  will-change: transform;
}
.kontakt__inner {
  position: relative; z-index: var(--z-content);
  max-width: 680px; margin: 0 auto;
}
.kontakt__head {
  text-align: center;
  margin-bottom: var(--sp-6);
}
.kontakt__title {
  font-family: var(--font-head); font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.05;
  color: var(--cacao); margin-bottom: var(--sp-4);
}
.kontakt__title em {
  font-style: italic; color: var(--amber);
}
.kontakt__sub {
  color: var(--ink-soft); font-size: 1rem; line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.kontakt__email {
  font-family: var(--font-head); font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--amber-text);
  display: inline-block; min-height: 44px;
  border-bottom: 1px solid rgba(196, 129, 26, .4);
  transition: border-color var(--dur-micro), color var(--dur-micro);
}
.kontakt__email:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* Glass form on light */
.kontakt__form {
  background: linear-gradient(165deg, rgba(255, 253, 248, .9), rgba(250, 245, 235, .75));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(59, 27, 12, .09);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(59, 27, 12, .10);
  padding: clamp(var(--sp-5), 4vw, var(--sp-6));
}
.form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3);
}
.form__field { margin-bottom: var(--sp-4); }
.form__label {
  display: block; font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(42, 21, 10, .65);
  margin-bottom: var(--sp-2);
}
.form__req { color: var(--amber-text); }
.form__input {
  width: 100%; min-height: 48px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(59, 27, 12, .16);
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--font-body); font-weight: 300; font-size: 16px;
  padding: 12px 14px;
  transition: border-color var(--dur-micro), box-shadow var(--dur-micro),
              background var(--dur-micro);
}
.form__input:hover { border-color: rgba(59, 27, 12, .3); }
.form__input:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(196, 129, 26, .16);
  background: #FFFDF8;
}
.form__input.has-error { border-color: #B03A2E; }
.form__input.has-error:focus { box-shadow: 0 0 0 3px rgba(176, 58, 46, .16); }
.form__textarea { resize: vertical; min-height: 110px; }

.form__error {
  display: block; min-height: 1.2em; margin-top: var(--sp-1);
  font-size: 12px; color: #B03A2E;
}
.form__summary {
  border: 1px solid rgba(176, 58, 46, .45); border-radius: 8px;
  background: rgba(176, 58, 46, .07);
  padding: var(--sp-3); margin-bottom: var(--sp-4);
}
.form__summary-title { font-size: 13px; color: #B03A2E; margin-bottom: var(--sp-1); }
.form__summary-list { padding-left: var(--sp-4); font-size: 12.5px; color: var(--ink-soft); }
.form__summary-list li { margin-bottom: 2px; }

.form__confirm {
  display: flex; align-items: center; gap: var(--sp-2);
  color: var(--amber-text); font-size: .95rem;
  padding: var(--sp-3) 0;
}

/* Send failure message */
.form__senderror {
  margin-top: var(--sp-3);
  font-size: 13px; line-height: 1.5; color: #B03A2E;
}

/* Honeypot — visually removed, kept in the DOM for bots */
.form__hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; gap: 0; }
}

/* ─── §14  FOOTER — cacao closing band ───────────────────── */
.footer {
  background: linear-gradient(180deg, var(--cacao), var(--espresso-deep));
  border-top: 1px solid rgba(196, 129, 26, .2);
  padding: var(--sp-7) clamp(var(--sp-4), 6vw, var(--sp-8)) var(--sp-4);
  color: var(--cream);
}
.footer__inner {
  display: flex; flex-wrap: wrap; gap: var(--sp-6);
  justify-content: space-between; align-items: flex-start;
  max-width: 1240px; margin: 0 auto var(--sp-6);
}
.footer__logo {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  min-height: 44px; margin-bottom: var(--sp-3);
}
.logo-signet--sm { flex-shrink: 0; filter: none; }
.footer .logo-wordmark__concept  { color: rgba(243, 232, 208, .5); }
.footer .logo-wordmark__tiramisu { color: var(--amber); }
.footer__tagline {
  font-family: var(--font-head); font-style: italic;
  font-size: 14px; color: var(--dust);
}
.footer__insta {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-3);
  min-height: 44px; padding: 8px 18px;
  border: 1px solid rgba(243, 232, 208, .22); border-radius: 999px;
  font-size: 11px; letter-spacing: .12em;
  color: rgba(243, 232, 208, .65);
  transition: color var(--dur-micro), border-color var(--dur-micro),
              box-shadow var(--dur-state);
  touch-action: manipulation;
}
.footer__insta svg { flex-shrink: 0; }
.footer__insta:hover {
  color: var(--amber); border-color: var(--amber);
  box-shadow: 0 6px 24px rgba(196, 129, 26, .2);
}
.footer__nav ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__link {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(243, 232, 208, .5);
  display: inline-flex; align-items: center; min-height: 32px;
  transition: color var(--dur-micro);
  touch-action: manipulation;
}
.footer__link:hover { color: var(--amber); }
.footer__legal { display: flex; gap: var(--sp-4); }
.footer__link--sm { font-size: 11px; }
.footer__copy {
  text-align: center; font-size: 11px; letter-spacing: .1em;
  color: rgba(243, 232, 208, .35);
  max-width: 1240px; margin: 0 auto;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(243, 232, 208, .08);
}

/* ─── §15  REVEAL SYSTEM ─────────────────────────────────── */
.reveal-fade {
  opacity: 0; transform: translateY(36px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-fade.is-visible { opacity: 1; transform: translateY(0); }

/* 3D flip-up entrance */
.reveal-3d {
  opacity: 0;
  transform: perspective(900px) rotateX(9deg) translateY(52px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-3d.is-visible { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0); }

/* Kinetic char split — 3D flip-up letters */
.split-chars .char {
  display: inline-block; overflow: hidden; vertical-align: bottom;
}
.split-chars .char-inner {
  display: inline-block;
  transform: translateY(115%) rotateX(-70deg);
  transform-origin: 50% 100%;
  transition: transform .95s var(--ease-out);
}
.split-chars.is-visible .char-inner { transform: translateY(0) rotateX(0); }

/* ─── §15b  LEGAL PAGES ──────────────────────────────────── */
.legal {
  max-width: 760px; margin: 0 auto;
  padding: calc(var(--sp-8) + 48px) clamp(var(--sp-4), 5vw, var(--sp-6)) var(--sp-8);
}
.legal h1 {
  font-family: var(--font-head); font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1;
  color: var(--cacao); margin-bottom: var(--sp-5);
}
.legal h2 {
  font-family: var(--font-head); font-weight: 400;
  font-size: 1.45rem; color: var(--cacao);
  margin: var(--sp-6) 0 var(--sp-3);
}
.legal h3 {
  font-family: var(--font-body); font-weight: 400;
  font-size: 1rem; color: var(--ink);
  margin: var(--sp-4) 0 var(--sp-2);
}
.legal p, .legal li {
  color: var(--ink-soft); font-size: .95rem; line-height: 1.8;
}
.legal p  { margin-bottom: var(--sp-3); }
.legal ul { padding-left: var(--sp-4); margin-bottom: var(--sp-3); }
.legal li { margin-bottom: var(--sp-1); }
.legal address { font-style: normal; margin-bottom: var(--sp-3); }
.legal a {
  color: var(--amber-text);
  border-bottom: 1px solid rgba(196, 129, 26, .35);
  transition: color var(--dur-micro), border-color var(--dur-micro);
}
.legal a:hover { color: var(--amber); border-color: var(--amber); }
.legal .placeholder {
  background: rgba(196, 129, 26, .16); border-radius: 3px;
  padding: 0 .3em; font-style: italic;
}
.legal__updated {
  font-size: .8rem; color: rgba(26, 11, 5, .45);
  margin-top: var(--sp-6);
}
.header__right {
  display: flex; align-items: center;
  gap: clamp(var(--sp-3), 3vw, var(--sp-5));
}
.legal__back {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 44px; white-space: nowrap;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(42, 21, 10, .6);
  transition: color var(--dur-micro);
}
.legal__back:hover { color: var(--amber-text); }
@media (max-width: 600px) {
  .legal__back { font-size: 9px; letter-spacing: .18em; }
}

/* Tables (e.g. cookie policy) */
.legal table {
  display: block; overflow-x: auto;
  border-collapse: collapse;
  margin: var(--sp-3) 0 var(--sp-4);
  font-size: .85rem;
}
.legal th, .legal td {
  border: 1px solid rgba(59, 27, 12, .15);
  padding: var(--sp-2) var(--sp-3);
  text-align: left; vertical-align: top;
  color: var(--ink-soft); line-height: 1.6;
  min-width: 110px;
}
.legal th {
  background: rgba(196, 129, 26, .10);
  color: var(--ink); font-weight: 400;
  font-size: .8rem; letter-spacing: .04em;
}
.legal code {
  font-family: Consolas, 'Courier New', monospace;
  font-size: .85em;
  background: rgba(59, 27, 12, .08);
  border-radius: 3px;
  padding: 1px 5px;
}

/* ─── §16  REDUCED MOTION ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain                    { animation: none; }
  .reveal-fade, .reveal-3d  { opacity: 1; transform: none; transition: none; }
  .split-chars .char-inner  { transform: none; transition: none; }
  .hero__headline em        { animation: none; }
  .hero__scroll-line        { animation: none; }
  .ring-spin                { animation: none; }
  .glow-orb                 { animation: none; }
  .btn::before              { display: none; }
  .cursor-blink             { animation: none; }
  .card, .btn               { transition-duration: .01ms; }
  *, *::before, *::after    { animation-duration: .01ms !important; }
}

/* ─── §17  SMALL SCREENS ─────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding-top: var(--sp-9); }
  .hero__bg-ring { right: -40vw; opacity: .35; }
  .hero__ctas .btn { width: 100%; }
  .leistungen, .kontakt { padding-left: var(--sp-4); padding-right: var(--sp-4); }
  .section-header { margin-bottom: var(--sp-6); }
  .card { padding: var(--sp-5) var(--sp-4); }
}
