/* ═══════════════════════════════════════════════════════════════
   Agentur Mondäna — One-Pager
   Palette: Off-White #F8F5F0 / Anthrazit #1A1A1A / Messing #B8722C
   ═══════════════════════════════════════════════════════════════ */

:root {
  --color-bg:        #F8F5F0;
  --color-bg-soft:   #EFEAE2;
  --color-ink:       #1A1A1A;
  --color-ink-soft:  #3A3A3A;
  --color-muted:     #6B6B6B;
  --color-line:      #D8D2C6;
  --color-accent:    #B8722C;
  --color-accent-2:  #8B6F47;
  --color-dark:      #131313;
  --color-dark-soft: #1F1D1B;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --max-w: 1240px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --section-py: clamp(90px, 12vw, 160px);

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
a:hover { color: var(--color-accent); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--color-ink);
}

p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-ink);
  color: #fff;
  padding: 10px 18px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: 820px; }

.section {
  padding-block: var(--section-py);
}
.section-tight { padding-block: clamp(70px, 9vw, 110px); }

.section-light { background: var(--color-bg); }
.section-dark  { background: var(--color-dark); color: #EDE8DD; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #F5EFE2; }
.section-accent {
  background: linear-gradient(180deg, #F1EBDD 0%, var(--color-bg) 100%);
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: .35em;
}
.section-sub {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 56ch;
}
.section-dark .section-sub { color: #C9C3B5; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-accent);
  margin: 0 0 1.25rem;
}

/* ── Reveal Animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1em 1.9em;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .02em;
  border-radius: 1px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
}
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: .85;
}
.btn-ghost:hover { opacity: 1; color: var(--color-accent); border-color: var(--color-accent); }
.btn-wide { width: 100%; padding-block: 1.15em; }

/* ═══════════════ HEADER / NAV ═══════════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 18px;
  transition: background .4s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(248, 245, 240, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  padding-block: 10px;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  transition: color .3s var(--ease);
}
.site-header.is-scrolled .brand { color: var(--color-ink); }

/* Logo via CSS-Mask → nimmt currentColor an → passt sich Hero/Scrolled automatisch an */
.brand-logo {
  display: block;
  width: 170px;
  height: 48px;
  background-color: currentColor;
  -webkit-mask: url('../assets/brand/logo.png') left center / contain no-repeat;
          mask: url('../assets/brand/logo.png') left center / contain no-repeat;
  transition: width .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled .brand-logo { width: 140px; height: 40px; }

.brand-logo-small {
  width: 130px;
  height: 38px;
}

@media (max-width: 720px) {
  .brand-logo { width: 140px; height: 40px; }
  .site-header.is-scrolled .brand-logo { width: 120px; height: 36px; }
}
@media (max-width: 480px) {
  .brand-logo { width: 125px; height: 36px; }
  .site-header.is-scrolled .brand-logo { width: 108px; height: 32px; }
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.primary-nav a {
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  letter-spacing: .04em;
  padding-block: .4em;
  border-bottom: 1px solid transparent;
}
.primary-nav a:hover { color: #fff; border-color: var(--color-accent); }
.site-header.is-scrolled .primary-nav a { color: var(--color-ink-soft); }
.site-header.is-scrolled .primary-nav a:hover { color: var(--color-accent); }
.nav-cta {
  color: var(--color-accent) !important;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  gap: 4px;
  flex-direction: column;
}
.nav-toggle span {
  width: 26px;
  height: 1.5px;
  background: #fff;
  transition: all .3s var(--ease);
}
.site-header.is-scrolled .nav-toggle span { background: var(--color-ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  background: var(--color-bg);
  border-top: 1px solid var(--color-line);
}
.mobile-nav ul {
  list-style: none;
  padding: 1rem var(--gutter) 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.mobile-nav a {
  display: block;
  padding: .6em 0;
  font-size: 1.1rem;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-line);
}

/* ═══════════════ HERO ═══════════════
   Sticky-Container: 250vh hoch, innen bleibt die Hero
   sticky und das Video wird per JS scroll-getrieben.
   ───────────────────────────────────────────────── */
.hero-scroll-section {
  position: relative;
  height: 250vh;
  background: var(--color-dark);
}
/* Zweite Scrub-Sektion (Leistungen-Intro) — etwas kompakter */
.hero-scroll-section.leistungen-scroll {
  height: 200vh;
}
.leistungen-intro .hero-content { max-width: 820px; }
.leistungen-intro .hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
}
/* Etwas weicheres Overlay für den Vorhang */
.hero-overlay-soft {
  background:
    linear-gradient(180deg, rgba(19,19,19,.40) 0%, rgba(19,19,19,.20) 45%, rgba(19,19,19,.55) 100%) !important;
}
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19,19,19,.55) 0%, rgba(19,19,19,.35) 45%, rgba(19,19,19,.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 140px 120px;
  max-width: 900px;
}
.hero-content .eyebrow { color: rgba(255,255,255,.85); }
.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 5.2rem);
  line-height: 1.05;
  margin-bottom: .5em;
  font-weight: 400;
  color: #fff;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: #EBD9BF;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 56ch;
  margin-bottom: 2.5em;
  color: rgba(255,255,255,.9);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-actions .btn-ghost { color: #fff; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 24px;
  height: 60px;
  z-index: 2;
  display: flex;
  justify-content: center;
  opacity: .7;
}
.hero-scroll-line {
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,.5);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 30%;
  background: #fff;
  animation: scrollHint 2.4s var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(-120%); }
  70%  { transform: translateY(380%); }
  100% { transform: translateY(380%); }
}

/* ═══════════════ PHILOSOPHIE ═══════════════ */
.prose { font-size: 1.1rem; color: var(--color-ink-soft); }
.prose p { margin-bottom: 1.3em; max-width: 62ch; }
.prose-signature {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-muted);
  font-size: 1rem;
  margin-top: 2em;
}

/* ═══════════════ LEISTUNGEN ═══════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}
.service-card {
  background: var(--color-dark);
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1.5rem, 3vw, 2.4rem);
  transition: background .4s var(--ease);
}
.service-card:hover { background: var(--color-dark-soft); }
.service-num {
  display: block;
  font-family: var(--font-serif);
  font-size: .95rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  letter-spacing: .1em;
}
.service-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  margin-bottom: .7em;
  color: #F5EFE2;
}
.service-card p {
  color: #B8B2A6;
  font-size: .98rem;
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════ PORTFOLIO ═══════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: clamp(12px, 1.4vw, 22px);
}
.portfolio-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--color-bg-soft);
}
.portfolio-item.size-tall { grid-row: span 2; }
.portfolio-item.size-wide { grid-column: span 2; }

.portfolio-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter .6s var(--ease);
  filter: saturate(.95) brightness(.98);
}
.portfolio-item:hover img { transform: scale(1.04); filter: saturate(1.05) brightness(1); }

.portfolio-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.5rem;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 100%);
  transform: translateY(8px);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.portfolio-item:hover figcaption,
.portfolio-item:focus-within figcaption {
  transform: none;
  opacity: 1;
}
.pf-category {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.8);
  margin-bottom: .35em;
}
.pf-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  display: block;
}

.portfolio-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-muted);
  text-align: center;
}
.portfolio-note a {
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
}

/* ═══════════════ PROZESS ═══════════════ */
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}
.process-step {
  position: relative;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-line);
}
.process-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--color-accent);
  margin-bottom: .3em;
  line-height: 1;
}
.process-step h3 {
  font-size: 1.4rem;
  margin-bottom: .55em;
}
.process-step p {
  color: var(--color-ink-soft);
  font-size: .96rem;
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════ TEAM ═══════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
}
.team-card {
  text-align: left;
  perspective: 1000px; /* fuer Tilt-3D */
}
.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--color-bg-soft);
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Basis: grau. Animation macht den langsamen Farb-Fade-in,
     Transition ist schnell fuer Hover-Effekte. */
  filter: grayscale(100%) contrast(1.02);
  transition: filter .4s ease, transform 1.2s var(--ease);
}

@keyframes teamColorFadeIn {
  from { filter: grayscale(100%) contrast(1.02); }
  to   { filter: grayscale(0%)   contrast(1);    }
}
.team-card.is-visible .team-photo img {
  animation: teamColorFadeIn 4s ease forwards;
}
/* Gestaffelte Reihenfolge: Regina → Sonja → Markus */
.team-card:nth-of-type(1).is-visible .team-photo img { animation-delay: .4s; }
.team-card:nth-of-type(2).is-visible .team-photo img { animation-delay: 2.4s; }
.team-card:nth-of-type(3).is-visible .team-photo img { animation-delay: 4.4s; }

/* Hover: kurzer Grau-Flash (Animation wird abgebrochen) */
.team-card.is-visible:hover .team-photo img {
  animation: none;
  filter: grayscale(100%) contrast(1.05);
}
/* Alter Hover-Scale entfaellt — Tilt-3D uebernimmt das jetzt in JS */
.team-card h3 {
  font-size: 1.45rem;
  margin-bottom: .2em;
}
.team-role {
  color: var(--color-accent);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: .9em;
}
.team-bio {
  color: var(--color-ink-soft);
  font-size: .96rem;
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════ BRANDS ═══════════════ */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 1.8vw, 1.8rem);
}
.brand-tile {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--color-line);
  background: #fff;
  transition: transform .4s var(--ease), border-color .3s var(--ease);
}
.brand-tile:hover { transform: translateY(-3px); border-color: var(--color-accent); }
.brand-tile-eyebrow {
  display: block;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-weight: 500;
}
.brand-tile h3 {
  font-size: 1.6rem;
  margin-bottom: .4em;
}
.brand-tile p {
  color: var(--color-muted);
  font-size: .95rem;
  margin: 0;
  line-height: 1.6;
}

/* Brand-Tile-Logos via CSS-Mask → folgen currentColor */
.brand-tile-logo {
  display: block;
  height: 56px;
  width: 100%;
  max-width: 220px;
  margin-bottom: 1.2rem;
  background-color: var(--color-ink);
  -webkit-mask-position: left center;
          mask-position: left center;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transition: background-color .3s var(--ease), transform .4s var(--ease);
}
.brand-tile:hover .brand-tile-logo {
  background-color: var(--color-accent);
  transform: translateX(2px);
}

.brand-logo-agentur {
  -webkit-mask-image: url('../assets/brand/logo-agentur-mask.png');
          mask-image: url('../assets/brand/logo-agentur-mask.png');
}
.brand-logo-aura {
  -webkit-mask-image: url('../assets/brand/logo-aura-mask.png');
          mask-image: url('../assets/brand/logo-aura-mask.png');
}
.brand-logo-alimentari {
  -webkit-mask-image: url('../assets/brand/logo-alimentari-mask.png');
          mask-image: url('../assets/brand/logo-alimentari-mask.png');
}

/* ═══════════════ KONTAKT ═══════════════ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-intro .section-title { margin-bottom: .4em; }
.contact-address {
  font-style: normal;
  margin-top: 2.5rem;
  line-height: 1.9;
  color: #D5CFBF;
}
.contact-address strong { color: #F5EFE2; font-weight: 500; }
.contact-address a { color: #F5EFE2; border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-address a:hover { color: var(--color-accent); border-color: var(--color-accent); }
.contact-address .hours {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .08em;
  color: #A49D8D;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  background: var(--color-dark-soft);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid rgba(255,255,255,.08);
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label {
  font-size: .82rem;
  color: #B8B2A6;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85em 1em;
  font-family: inherit;
  font-size: 1rem;
  color: #F5EFE2;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255,255,255,.07);
}
.field select option { color: var(--color-ink); }
.field-check {
  flex-direction: row;
  align-items: flex-start;
  gap: .7rem;
}
.field-check input {
  width: 18px; height: 18px;
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: var(--color-accent);
}
.field-check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: .88rem;
  line-height: 1.5;
  color: #C9C3B5;
}
.field-check label a { color: var(--color-accent); border-bottom: 1px solid; }

/* Honeypot */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: .92rem;
  color: #B8B2A6;
  min-height: 1.4em;
}
.form-status.is-success { color: #A9C9A6; }
.form-status.is-error   { color: #D39090; }

.contact-map {
  grid-column: 1 / -1;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.contact-map iframe,
.contact-map #map {
  width: 100%;
  height: 420px;
  border: 0;
  background: #e8e4dd;
}
.contact-map #map {
  filter: saturate(.85);
}
/* Leaflet Popup in unserem Stil */
.leaflet-popup-content-wrapper {
  border-radius: 2px !important;
  box-shadow: 0 6px 30px rgba(0,0,0,.2) !important;
}
.leaflet-popup-content {
  font-family: var(--font-sans);
  font-size: .88rem;
  line-height: 1.5;
  margin: 12px 16px !important;
  color: var(--color-ink);
}
.leaflet-popup-content strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: .01em;
}
.leaflet-popup-content .map-nav {
  display: inline-block;
  margin-top: .6em;
  padding: .4em .8em;
  font-size: .8rem;
  letter-spacing: .04em;
  color: #fff !important;
  background: var(--color-accent);
  border: none;
  text-decoration: none !important;
  transition: background .2s var(--ease);
}
.leaflet-popup-content .map-nav:hover {
  background: var(--color-ink);
  color: #fff !important;
}
.map-pin {
  background: none !important;
  border: none !important;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.3));
}
.map-link {
  display: block;
  padding: .9em 1.2em;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #B8B2A6;
  background: var(--color-dark-soft);
  border-top: 1px solid rgba(255,255,255,.08);
}
.map-link:hover { color: var(--color-accent); }

/* ═══════════════ FOOTER ═══════════════ */
.site-footer {
  background: var(--color-dark);
  color: #A49D8D;
  padding-block: 3rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: space-between;
  font-size: .9rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #F5EFE2;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
}
.footer-nav a { color: #A49D8D; }
.footer-nav a:hover { color: var(--color-accent); }
.footer-copy { margin: 0; color: #6E6860; font-size: .82rem; }

/* ═══════════════ LEGAL PAGES ═══════════════ */
.legal-page {
  padding-block: clamp(120px, 14vw, 180px) clamp(80px, 10vw, 120px);
  background: var(--color-bg);
  min-height: 100vh;
}
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}
.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 2.2em;
  margin-bottom: .6em;
}
.legal-page h3 {
  font-size: 1.1rem;
  margin-top: 1.6em;
  margin-bottom: .4em;
  font-family: var(--font-sans);
  font-weight: 600;
}
.legal-page p,
.legal-page li {
  color: var(--color-ink-soft);
  font-size: .98rem;
  line-height: 1.75;
}
.legal-page ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-bottom: 2rem;
  font-size: .88rem;
  color: var(--color-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-back:hover { color: var(--color-accent); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .portfolio-item.size-wide,
  .portfolio-item.size-tall { grid-column: auto; grid-row: auto; }
}

@media (max-width: 720px) {
  :root {
    --section-py: clamp(60px, 10vw, 100px);
    --gutter: 1.1rem;
  }

  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open { background: rgba(248,245,240,.98); }
  .site-header.nav-open .brand { color: var(--color-ink); }
  .site-header.nav-open .nav-toggle span { background: var(--color-ink); }

  /* Hero-Scroll: kompakter, sonst ewiges Scrollen */
  .hero-scroll-section              { height: 180vh; }
  .hero-scroll-section.leistungen-scroll { height: 150vh; }

  .hero-content { padding-block: 90px 100px; }
  .hero-title   { font-size: clamp(1.9rem, 10vw, 3rem); line-height: 1.1; }
  .hero-lead    { font-size: 1rem; margin-bottom: 1.8em; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .6rem; }
  .hero-actions .btn { width: 100%; }

  .section-title { font-size: clamp(1.6rem, 8vw, 2.3rem); }
  .section-sub   { font-size: .98rem; }

  .service-card     { padding: 2rem 1.3rem; }
  .service-card h3  { font-size: 1.3rem; }
  .process-num      { font-size: 1.9rem; }
  .process-step h3  { font-size: 1.2rem; }
  .brand-tile       { padding: 1.5rem 1.3rem; }
  .brand-tile-logo  { height: 44px; margin-bottom: .9rem; }

  .team-grid { gap: 1.75rem; }
  .team-photo { aspect-ratio: 5 / 6; }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
    gap: 10px;
  }
  .portfolio-item figcaption { transform: none; opacity: 1; }

  .contact-form  { padding: 1.5rem 1.3rem; }
  .contact-map iframe { height: 280px; }

  .footer-row { flex-direction: column; align-items: flex-start; text-align: left; }
  .hero-scroll { display: none; } /* Scroll-Hinweis verstecken, Scrollen ist offensichtlich */
}

@media (max-width: 480px) {
  .section-title { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .hero-title    { font-size: clamp(1.8rem, 11vw, 2.8rem); }
  .eyebrow       { font-size: .72rem; letter-spacing: .16em; }
}
