/* ==========================================================================
   Immobilienfotografie — Einseiter
   Design-System "Apple 2026 Glass", Hellmodus.

   Aufbau dieser Datei:
     1. Schrift (lokal gehostet)
     2. Design-Tokens (:root)  <- hier alle Farben ändern, nirgends sonst
     3. Grundlagen & Hintergrund (Gradient + Körnung)
     4. Bausteine (Icons, Buttons, Pills, Scroll-Reveal)
     5. Navigation
     6. Hero
     7. Galerie + Vorher/Nachher-Regler
     8. Kontakt & Footer
     9. Responsive
   ========================================================================== */


/* 1. SCHRIFT ============================================================== */
/* Inter als Variable Font, lokal aus fonts/ — kein externer Request. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* 2. DESIGN-TOKENS ======================================================== */
:root {
  /* Marke */
  --primary:        #3d5a99;
  --primary-bright: #5d7fd4;

  /* Akzent — ausschließlich für den einen Call-to-Action */
  --accent-from: #ff9550;
  --accent-to:   #f0762a;

  /* Flächen */
  --bg:      #f7f7fb;
  --bg-warm: #fbfbfe;
  --bg-deep: #eceef6;

  /* Getönte Tinte: Basis für alle Textfarben (kein Neutralgrau) */
  --ink: 23, 30, 54;
  --text-96: rgba(var(--ink), 0.96);
  --text-64: rgba(var(--ink), 0.64);
  --text-42: rgba(var(--ink), 0.42);
  --text-on-primary: #ffffff;

  /* Glas: Transluzenz statt Schlagschatten */
  --glass:        rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.74);
  --glass-soft:   rgba(255, 255, 255, 0.34);
  --blur: saturate(1.7) blur(20px);

  /* Hairlines — die Tiefe entsteht hier, nicht über harte Schatten */
  --hairline:        rgba(61, 90, 153, 0.13);
  --hairline-strong: rgba(61, 90, 153, 0.22);
  --hairline-light:  rgba(255, 255, 255, 0.70);

  /* Sehr weiche, großflächige Abhebung — nie als harter Drop-Shadow */
  --lift:       0 18px 48px -28px rgba(31, 44, 82, 0.38);
  --lift-hover: 0 26px 64px -30px rgba(31, 44, 82, 0.46);

  /* Radien */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Bewegung */
  --ease: cubic-bezier(.34, 1.3, .5, 1);
  --t: 220ms;

  /* Raster */
  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
}


/* 3. GRUNDLAGEN & HINTERGRUND ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;      /* Platz für die schwebende Nav */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--text-96);
  background-color: var(--bg);
  /* Getönte Lichtflächen statt Flat-Weiß */
  background-image:
    radial-gradient(1100px 760px at 12% -8%,  rgba(93, 127, 212, 0.20), transparent 62%),
    radial-gradient(880px 620px at 92% 6%,    rgba(61, 90, 153, 0.13),  transparent 60%),
    radial-gradient(760px 700px at 78% 96%,   rgba(255, 149, 80, 0.09), transparent 62%),
    linear-gradient(180deg, var(--bg-warm), var(--bg) 42%, var(--bg-deep));
  background-attachment: fixed;
  overflow-x: hidden;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

/* Körnige Textur über der gesamten Seite — gibt dem Glas Materialität */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

main { position: relative; z-index: 1; }

h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.028em; line-height: 1.06; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: rgba(93, 127, 212, 0.26); }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skiplink {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 99;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: var(--text-on-primary);
  font-weight: 500;
}
.skiplink:focus { left: 12px; }

.sprite { position: absolute; }


/* 4. BAUSTEINE ============================================================ */

/* --- Icons: Lucide, Linien, immer currentColor, 2px Strich --------------- */
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 16px; height: 16px; }

/* --- Eyebrow / Kicker --------------------------------------------------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

/* --- Markenzeile im Hero: Signatur | Haarlinie | Positionierung -------- */
.brandlock {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
}
.brandlock__logo {
  width: clamp(158px, 15vw, 208px);
  height: auto;
}
.brandlock__rule {
  width: 1px;
  align-self: stretch;
  margin: 6px 0;
  background: linear-gradient(180deg,
              transparent, var(--hairline-strong) 22%,
              var(--hairline-strong) 78%, transparent);
}
.brandlock__text {
  font-size: clamp(12.5px, 1.05vw, 14px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.03em;
  color: var(--text-64);
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 27px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              background-color var(--t) var(--ease);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--wide  { width: 100%; }

/* Der eine Akzent — Orange bleibt dieser Aktion vorbehalten */
.btn--accent {
  color: #fff;
  background-image: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34),
              0 14px 32px -18px rgba(240, 118, 42, 0.90);
}
.btn--accent:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.40),
              0 22px 44px -20px rgba(240, 118, 42, 0.95);
}
.btn--accent .icon { stroke-width: 2.2; }

/* Sekundär: reines Glas, Indigo-Schrift */
.btn--glass {
  color: var(--primary);
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--hairline-light);
  box-shadow: 0 0 0 1px var(--hairline), var(--lift);
}
.btn--glass:hover {
  background: var(--glass-strong);
  box-shadow: 0 0 0 1px var(--hairline-strong), var(--lift-hover);
}

/* --- Marker-Pills im Hero ----------------------------------------------- */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--glass-soft);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  color: var(--text-64);
  font-size: 13.5px;
  font-weight: 500;
}
.mark .icon { color: var(--primary); }

/* --- Scroll-Reveal ------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms var(--ease) var(--delay, 0ms),
              transform 720ms var(--ease) var(--delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }


/* 5. NAVIGATION =========================================================== */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: max-content;
  max-width: calc(100vw - 24px);
  transition: top var(--t) var(--ease);
}
.nav.is-compact { top: 10px; }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 9px 9px 9px 18px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--hairline-light);
  box-shadow: 0 0 0 1px var(--hairline), var(--lift);
  transition: padding var(--t) var(--ease),
              gap var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}
/* Beim Scrollen kompakter */
.nav.is-compact .nav__inner {
  gap: 14px;
  padding: 6px 6px 6px 14px;
  box-shadow: 0 0 0 1px var(--hairline-strong), var(--lift-hover);
}

.nav__brand {
  display: flex;
  align-items: center;
  flex: none;
}
/* Signatur-Logo: Breite steuert die Groesse, Hoehe folgt dem Seitenverhaeltnis */
.nav__logo {
  width: 88px;
  height: auto;
  transition: width var(--t) var(--ease), opacity var(--t) var(--ease);
}
.nav__brand:hover .nav__logo { opacity: 0.68; }
.nav.is-compact .nav__logo { width: 72px; }

.nav__list {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Aktiver Zustand: immer Indigo, niemals Orange */
.nav__pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 420ms var(--ease), width 420ms var(--ease);
  will-change: transform, width;
}
.nav__pillwrap { position: static; }

.nav__link {
  position: relative;
  z-index: 1;
  display: block;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-64);
  transition: color var(--t) var(--ease), padding var(--t) var(--ease);
}
.nav__link:hover { color: var(--primary); }
.nav__link.is-active { color: var(--text-on-primary); }
.nav.is-compact .nav__link { padding: 8px 15px; }


/* 6. HERO ================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* knapp gehalten, damit der Scroll-Indikator auf einem 900px hohen
     Laptop-Bildschirm noch sichtbar bleibt */
  padding: 130px var(--pad) 46px;
  overflow: hidden;
}

/* Asymmetrischer Lichtschleier rechts oben */
.hero__glow {
  position: absolute;
  top: -22%;
  right: -14%;
  width: min(760px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 34%,
              rgba(93, 127, 212, 0.34), rgba(61, 90, 153, 0.10) 52%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  /* Bewusst aus der Mitte gerückt */
  padding-left: clamp(0px, 4vw, 64px);
}

.hero__title {
  margin: 28px 0 0;
  font-weight: 650;          /* steht als <p> im Markup, nicht als Überschrift */
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  line-height: 0.97;
  letter-spacing: -0.042em;
  max-width: 16ch;
}
.hero__title-em {
  background-image: linear-gradient(104deg, var(--primary) 12%, var(--primary-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 26px;
  max-width: 58ch;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.66;
  color: var(--text-64);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

/* --- Scroll-Indikator --------------------------------------------------- */
.scrollcue {
  position: relative;
  z-index: 1;
  align-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  /* fester Abstand statt margin-top:auto — sonst reisst der Indikator auf
     hohen Fenstern weit vom Inhalt weg und es entsteht ein leeres Loch */
  padding-top: clamp(38px, 5.5vh, 76px);
  color: var(--text-42);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--t) var(--ease);
}
.scrollcue:hover { color: var(--primary); }

.scrollcue__dot {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--hairline-light);
  box-shadow: 0 0 0 1px var(--hairline), var(--lift);
  color: var(--primary);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); }
  46%      { transform: translateY(7px); }
}


/* 7. GALERIE ============================================================== */
.gallery {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad) 120px;
}

.sectionhead { max-width: 62ch; margin-bottom: clamp(48px, 7vw, 92px); }
.sectionhead__title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.035em;
}
.sectionhead__lead {
  margin-top: 22px;
  max-width: 56ch;
  color: var(--text-64);
  font-size: clamp(0.98rem, 1.2vw, 1.09rem);
}

/* Asymmetrisches Raster: abwechselnd 7|5 und 5|7 Spalten */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(24px, 3.4vw, 56px);
  row-gap: clamp(56px, 7vw, 116px);
  align-items: start;
}
.item { grid-column: span 12; }

@media (min-width: 900px) {
  .item:nth-child(4n + 1) { grid-column: 1 / span 7; }
  .item:nth-child(4n + 2) { grid-column: 8 / span 5; transform: translateY(clamp(28px, 4.4vw, 72px)); }
  .item:nth-child(4n + 3) { grid-column: 1 / span 5; transform: translateY(clamp(14px, 2vw, 34px)); }
  .item:nth-child(4n + 4) { grid-column: 6 / span 7; }
}

/* --- Kopfzeile eines Blocks --------------------------------------------- */
.item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 0 4px;
}
.item__name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.item__num {
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-42);
  letter-spacing: 0.06em;
}
.item__tag {
  flex: none;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--glass-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

/* --- Vorher/Nachher-Regler ---------------------------------------------- */
/* --p ist der Reveal-Fortschritt 0 … 1 und wird von script.js gesetzt. */
.cmp {
  --p: 0;
  position: relative;
  aspect-ratio: var(--ar, 3 / 2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--hairline-light);
  box-shadow: 0 0 0 1px var(--hairline), var(--lift);
  cursor: ew-resize;
  touch-action: pan-y;          /* vertikales Scrollen bleibt möglich */
  isolation: isolate;
  transition: box-shadow var(--t) var(--ease);
}
.cmp:hover { box-shadow: 0 0 0 1px var(--hairline-strong), var(--lift-hover); }
.cmp:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }

.cmp__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
/* Das Nachher-Bild wird von links her aufgedeckt */
.cmp__img--after { clip-path: inset(0 calc(100% - var(--p) * 100%) 0 0); }

/* Trennlinie mit Griff */
.cmp__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--p) * 100%);
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(180deg,
              rgba(255, 255, 255, 0.55),
              rgba(255, 255, 255, 0.92) 18%,
              rgba(255, 255, 255, 0.92) 82%,
              rgba(255, 255, 255, 0.55));
  box-shadow: 0 0 0 1px rgba(31, 44, 82, 0.10);
  pointer-events: none;
}
.cmp__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: #fff;
  /* hält den Griff auch über hellen Bildstellen lesbar */
  filter: drop-shadow(0 1px 3px rgba(var(--ink), 0.45));
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease);
}
.cmp:hover .cmp__grip { transform: translate(-50%, -50%) scale(1.08); }
.cmp.is-dragging .cmp__grip {
  transform: translate(-50%, -50%) scale(0.94);
  background: rgba(255, 255, 255, 0.4);
}

/* Beschriftungen — blenden sich passend zum Reglerstand aus/ein */
.cmp__tag {
  position: absolute;
  bottom: 14px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(var(--ink), 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}
/* Aufgedeckt wird von links: dort liegt das Nachher-Bild, rechts bleibt das Vorher-Bild. */
.cmp__tag--after  { left: 14px;  opacity: calc(var(--p) * 1.9 - 0.15); }
.cmp__tag--before { right: 14px; opacity: calc(1 - var(--p) * 0.8); }

.noscript {
  padding: 22px 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--glass);
  color: var(--text-64);
}


/* 8. KONTAKT & FOOTER ===================================================== */
.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(72px, 9vw, 128px);
}

.contact__card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  padding: clamp(32px, 4.6vw, 68px);
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--hairline-light);
  box-shadow: 0 0 0 1px var(--hairline), var(--lift);
}

.contact__title {
  font-size: clamp(1.9rem, 3.7vw, 2.9rem);
  letter-spacing: -0.035em;
}
.contact__lead {
  margin-top: 20px;
  max-width: 42ch;
  color: var(--text-64);
}

.contact__pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 18px;
}

.pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 18px;
  border-radius: var(--r-md);
  background: var(--glass-soft);
  border: 1px solid var(--hairline);
  transition: transform var(--t) var(--ease),
              background-color var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.pill:hover {
  transform: translateY(-2px);
  background: var(--glass-strong);
  border-color: var(--hairline-strong);
}
.pill .icon { color: var(--primary); margin-bottom: 4px; }
.pill__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-42);
}
.pill__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-96);
  overflow-wrap: anywhere;
}

.contact__hint {
  margin-top: 11px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-42);
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--pad) 40px;
  border-top: 1px solid var(--hairline);
  color: var(--text-42);
  font-size: 13px;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
}
.footer__logo { width: 116px; height: auto; opacity: 0.82; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { transition: color var(--t) var(--ease); }
.footer__links a:hover { color: var(--primary); }


/* 9. RESPONSIVE =========================================================== */
@media (max-width: 899px) {
  .item { transform: none !important; }
  .contact__card { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 92px; }

  .nav__inner { gap: 10px; padding: 7px 7px 7px 13px; }
  .nav__brandname { max-width: 0; opacity: 0; }   /* Mobil nur das Zeichen */
  .nav__link { padding: 9px 13px; font-size: 13.5px; }

  .hero { padding-top: 128px; padding-bottom: 88px; }
  .hero__inner { padding-left: 0; }
  /* Nebeneinander wird es zu eng: Logo nach oben, Text darunter */
  .brandlock { flex-direction: column; align-items: flex-start; gap: 13px; }
  .brandlock__rule { display: none; }
  .brandlock__logo { width: 152px; }
  .brandlock__text { font-size: 12.5px; letter-spacing: 0.02em; }
  .hero__title { max-width: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__marks { gap: 8px; margin-top: 40px; }
  .mark { font-size: 12.5px; padding: 8px 13px; }

  .item__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cmp__grip { width: 40px; height: 40px; }
  .cmp__tag { bottom: 10px; font-size: 10.5px; padding: 5px 11px; }
  .cmp__tag--after  { left: 10px; }
  .cmp__tag--before { right: 10px; }

  .contact__pills { grid-template-columns: 1fr; }
  .footer { justify-content: center; text-align: center; }
}

/* Sehr schmale Geräte (ab iPhone SE abwärts): Navigation enger setzen */
@media (max-width: 380px) {
  .nav__inner { gap: 6px; padding: 6px 6px 6px 10px; }
  .nav__link  { padding: 8px 10px; font-size: 13px; }
  .nav__logo, .nav.is-compact .nav__logo { width: 62px; }
}

/* Bewegung reduzieren: Animationen aus, Inhalte bleiben vollständig sichtbar */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .item { transform: none !important; }
}
