/* =========================================================
   culturediction · Designsystem
   Modern & klar · geometric sans · warm accent
   ========================================================= */

/* =========================================================
   Lokal gehostete Schrift – DSGVO-konform, keine externen Requests
   ========================================================= */
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-VariableFont_opsz,wght.woff2') format('woff2-variations'),
       url('fonts/DMSans-VariableFont_opsz,wght.woff2') format('woff2'),
       url('fonts/DMSans-VariableFont_opsz,wght.ttf') format('truetype-variations'),
       url('fonts/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Italic-VariableFont_opsz,wght.woff2') format('woff2-variations'),
       url('fonts/DMSans-Italic-VariableFont_opsz,wght.woff2') format('woff2'),
       url('fonts/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations'),
       url('fonts/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Farben – Pure White & Orange */
  --paper:        #FFFFFF;   /* reines Weiß */
  --paper-soft:   #F5F5F4;   /* sehr leichter Stein-Touch */
  --ink:          #0F0F10;
  --ink-soft:     #1F1F23;
  --muted:        #6B6B70;
  --line:         #0F0F10;
  --accent:       #FF5F1F;   /* knalliges Orange */
  --accent-soft:  #FFE0CD;
  --white:        #FFFFFF;

  /* Typografie */
  --font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Maße */
  --max:        1280px;
  --gutter:     clamp(20px, 4vw, 56px);
  --section-y:  clamp(80px, 12vw, 160px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* =========================================================
   Layout
   ========================================================= */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section--tight {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.section--alt {
  background: var(--paper-soft);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.scrolled { border-color: rgba(17,17,17,0.08); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 22px;
  position: relative;
  padding-bottom: 6px;
}
.logo span { display: block; }
.logo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ink);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* CTA „Kontakt" — typografisch: oranger Text + permanenter Unterstrich */
.nav-cta {
  color: var(--accent) !important;
  font-weight: 500;
}
.nav-cta::after {
  background: var(--accent) !important;
  transform: scaleX(1) !important;
}
.nav-cta:hover { opacity: 0.65; }

.nav-toggle { display: none; }

/* =========================================================
   Typografie
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
h1 { font-size: clamp(48px, 8vw, 112px); font-weight: 700; }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; }

.lead {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.italic-tag {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(80px, 12vw, 140px);
  position: relative;
  overflow: hidden;
}

.hero__inner { position: relative; z-index: 2; }

.hero__title {
  font-size: clamp(54px, 10vw, 152px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero__title em {
  font-style: normal;
  display: inline-block;
  position: relative;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.08em;
  background: var(--accent);
  z-index: -1;
  opacity: 0.85;
}

.hero__sub {
  margin-top: 40px;
  max-width: 38ch;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--ink-soft);
  font-weight: 400;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta span::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero__scroll::after {
  content: "";
  width: 1.5px;
  height: 56px;
  background: linear-gradient(to bottom, var(--ink), transparent);
}

@media (max-width: 720px) {
  .hero__scroll { display: none; }
}

/* Hero-Bild direkt unter Titel-Block (Startseite) */
.hero-image {
  padding: 0 0 clamp(64px, 8vw, 120px);
}
.hero-image__frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ECE8E0;
}
.hero-image__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  .hero-image__frame { aspect-ratio: 4 / 3; }
}

/* Editorial-Bildband (z.B. auf Über uns) */
.image-band {
  padding: 0 0 clamp(56px, 7vw, 96px);
}
.image-band__frame {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #ECE8E0;
}
.image-band__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  .image-band__frame { aspect-ratio: 4 / 3; }
}

/* =========================================================
   Teaser-Blöcke (3-Spalter)
   ========================================================= */
.teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(17,17,17,0.12);
}
.teaser {
  padding: 56px 36px 56px 0;
  border-right: 1px solid rgba(17,17,17,0.12);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: background .3s ease;
}
.teaser:nth-child(2) { padding-left: 36px; }
.teaser:nth-child(3) { padding-left: 36px; border-right: none; }

.teaser__num {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 28px;
}
.teaser__title {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.teaser__text {
  color: var(--ink-soft);
  margin-bottom: auto;
  padding-bottom: 32px;
}
.teaser__link {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color .25s ease, border-color .25s ease, gap .25s ease;
}
.teaser__link:hover { color: var(--accent); border-color: var(--accent); gap: 16px; }
.teaser__link::after { content: "→"; font-size: 18px; }

@media (max-width: 900px) {
  .teasers { grid-template-columns: 1fr; }
  .teaser { padding: 48px 0; border-right: none; border-bottom: 1px solid rgba(17,17,17,0.12); min-height: 0; }
  .teaser:nth-child(n) { padding-left: 0; }
  .teaser:last-child { border-bottom: none; }
}

/* =========================================================
   Haltung / Editorial Text
   ========================================================= */
.editorial {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
}
.editorial__label { color: var(--muted); }
.editorial__body p {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  margin-bottom: 1.4em;
  color: var(--ink-soft);
}
.editorial__body p:last-child { margin-bottom: 0; }
.editorial__body strong { color: var(--ink); font-weight: 500; }

.editorial__quote {
  margin-top: 48px;
  padding: 32px 0 0;
  border-top: 1px solid rgba(17,17,17,0.15);
  font-size: clamp(22px, 2.2vw, 30px);
  font-style: italic;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

@media (max-width: 800px) {
  .editorial { grid-template-columns: 1fr; }
}

/* =========================================================
   Leistungen Grid
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(17,17,17,0.15);
}
.service {
  padding: 36px 28px 36px 0;
  border-bottom: 1px solid rgba(17,17,17,0.15);
  border-right: 1px solid rgba(17,17,17,0.15);
  position: relative;
  transition: background .3s ease;
}
.service:nth-child(3n) { border-right: none; }
.service:nth-child(3n+2) { padding-left: 28px; }
.service:nth-child(3n) { padding-left: 28px; }

.service__num {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.service__title {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service__text {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.service:hover { background: var(--paper-soft); }

/* Inline Services-Liste (Startseiten-Teaser) */
.services-inline {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  padding: 0;
  margin: 0;
}
.services-inline li {
  display: inline-flex;
  align-items: baseline;
}
.services-inline li::after {
  content: "·";
  color: var(--accent);
  margin: 0 18px;
  font-weight: 400;
}
.services-inline li:last-child::after { display: none; }

.services-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
  padding-bottom: 6px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1.5px solid var(--ink);
  transition: color .25s ease, border-color .25s ease, gap .25s ease;
}
.services-link::after { content: "→"; font-size: 20px; }
.services-link:hover { color: var(--accent); border-color: var(--accent); gap: 18px; }

@media (max-width: 600px) {
  .services-inline { font-size: 22px; }
  .services-inline li::after { margin: 0 12px; }
}

@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3n) { border-right: 1px solid rgba(17,17,17,0.15); padding-left: 0; }
  .service:nth-child(3n+2) { padding-left: 28px; }
  .service:nth-child(2n) { border-right: none; padding-left: 28px; }
  .service:nth-child(2n+1) { padding-left: 0; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .service { border-right: none !important; padding-left: 0 !important; }
}

/* =========================================================
   Projekte
   ========================================================= */
.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.project {
  display: grid;
  grid-template-columns: 80px 1fr 2fr auto;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid rgba(17,17,17,0.15);
  align-items: baseline;
  transition: padding .25s ease, color .25s ease;
}
.project:last-child { border-bottom: 1px solid rgba(17,17,17,0.15); }
.project__year {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.project__title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.project__client {
  font-size: 16px;
  color: var(--ink-soft);
}
.project__cta {
  font-size: 24px;
  transition: transform .25s ease, color .25s ease;
}
.project:hover { padding-left: 16px; }
.project:hover .project__cta { transform: translateX(8px); color: var(--accent); }
.project:hover .project__title { color: var(--accent); }

@media (max-width: 800px) {
  .project {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }
  .project:hover { padding-left: 0; }
  .project__cta { display: none; }
}

/* Projekt-Detail Karten (auf Detailseite) */
.project-card {
  padding: 48px 0;
  border-top: 1px solid rgba(17,17,17,0.15);
  display: grid;
  grid-template-columns: 180px 1fr 320px;
  gap: clamp(28px, 4vw, 64px);
}
.project-card:last-of-type { border-bottom: 1px solid rgba(17,17,17,0.15); }
.project-card__meta {
  font-size: 14px;
  color: var(--muted);
}
.project-card__meta strong { color: var(--ink); display: block; font-weight: 500; margin-bottom: 4px; }
.project-card h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  margin-bottom: 8px;
}
.project-card__client {
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 500;
}
.project-card__text {
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 65ch;
}
.project-card__services {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  max-width: 70ch;
  line-height: 1.5;
}

/* Projekt-Bild rechts vom Text */
.project-card__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ECE8E0;
  border-radius: 2px;
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.project-card:hover .project-card__image img { transform: scale(1.025); }

/* Karten ohne Bild: Text spannt sich über die Bildspalte */
.project-card--no-image { grid-template-columns: 180px 1fr; }

@media (max-width: 900px) {
  .project-card,
  .project-card--no-image { grid-template-columns: 1fr; gap: 20px; }
  .project-card__image { aspect-ratio: 16/10; order: -1; }
}

/* =========================================================
   Kundenlogos
   ========================================================= */
.section--logos {
  background: var(--white);
}
.logos-head {
  display: flex;
  align-items: baseline;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.logos-intro {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 60ch;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px) clamp(28px, 5vw, 80px);
  align-items: center;
}
.logo-cell {
  flex: 0 0 auto;
  width: clamp(120px, 13vw, 180px);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}
.logo-cell img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: filter .35s ease, transform .35s ease;
}
.logo-cell:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.04);
}

.logo-fallback {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

@media (max-width: 540px) {
  .logo-cell { width: 38%; height: 64px; }
  .logo-cell img { max-height: 48px; }
}

/* =========================================================
   Wie wir arbeiten – Liste
   ========================================================= */
.principles {
  list-style: none;
  display: grid;
  gap: 0;
}
.principle {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(17,17,17,0.15);
  align-items: baseline;
}
.principle:last-child { border-bottom: 1px solid rgba(17,17,17,0.15); }
.principle__num {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.principle__text {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* =========================================================
   Sektion-Header (Eyebrow + Titel + Beschreibung)
   ========================================================= */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  margin-bottom: clamp(60px, 8vw, 100px);
  align-items: end;
}
.section-head__title { max-width: 14ch; }
.section-head__intro {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  max-width: 50ch;
  padding-bottom: 8px;
}

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
}

/* =========================================================
   CTA Block
   ========================================================= */
.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.cta__title {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 18ch;
  line-height: 1.05;
}
.cta__title em { color: var(--accent); font-style: italic; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--accent); color: var(--paper); transform: translateY(-2px); }
.btn::after { content: "→"; }

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 700px) {
  .cta { grid-template-columns: 1fr; }
}

/* =========================================================
   Legal Pages (Impressum, Datenschutz)
   ========================================================= */
.legal {
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal p {
  margin-bottom: 1.4em;
}
.legal h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 2.5em;
  margin-bottom: 0.8em;
  line-height: 1.3;
}
.legal h2:first-child { margin-top: 0; }
.legal a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  word-break: break-word;
}
.legal a:hover { opacity: 0.75; }
.legal ul {
  margin: 0 0 1.4em 1.4em;
  padding: 0;
}
.legal ul li {
  margin-bottom: 0.5em;
}
.legal strong {
  color: var(--ink);
  font-weight: 500;
}
.legal__address {
  background: var(--paper-soft);
  padding: 28px 32px;
  border-radius: 4px;
  margin-bottom: 2.5em;
  font-size: 15px;
  line-height: 1.7;
}
.legal__address p { margin-bottom: 0.6em; }
.legal__address p:last-child { margin-bottom: 0; }
.legal__address strong { display: block; margin-bottom: 0.3em; }

/* =========================================================
   Abbinder / Closer (heller, refinierter CTA)
   ========================================================= */
.closer {
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(80px, 12vw, 140px);
  border-top: 1px solid rgba(15,15,16,0.1);
}
.closer__inner {
  max-width: 720px;
}
.closer__title {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin: 24px 0 28px;
  max-width: 18ch;
}
.closer__title span {
  color: var(--accent);
  font-weight: 600;
}
.closer__lead {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 52ch;
  margin-bottom: 56px;
}
.closer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: baseline;
}
.closer__email {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.015em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  transition: color .25s ease, border-color .25s ease;
}
.closer__email:hover { color: var(--accent); border-color: var(--accent); }
.closer__link {
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 4px;
  transition: color .25s ease, border-color .25s ease, gap .25s ease;
}
.closer__link::after { content: "→"; font-size: 18px; }
.closer__link:hover { color: var(--accent); border-color: var(--accent); gap: 14px; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0 24px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand { max-width: 32ch; }
.footer__brand .logo { color: var(--paper); font-size: 18px; }
.footer__brand .logo::after { background: var(--paper); }
.footer__tag {
  margin-top: 18px;
  font-size: 15px;
  color: var(--paper);
  line-height: 1.4;
  font-weight: 400;
}
.footer__col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 8px; }
.footer__col a, .footer__col li {
  font-size: 14px;
  color: var(--paper);
  transition: color .25s ease;
}
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer__bottom a { color: rgba(255,255,255,0.6); margin-left: 20px; }
.footer__bottom a:hover { color: var(--paper); }

@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer__bottom a { margin-left: 0; margin-right: 16px; }
}

/* =========================================================
   Page Header (Detailseiten)
   ========================================================= */
.page-header {
  padding-top: clamp(60px, 10vw, 120px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.page-header h1 {
  font-size: clamp(42px, 7vw, 92px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 0.98;
  max-width: 14ch;
}
.page-header__intro {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.5;
}

/* =========================================================
   Kontakt
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
}
.contact-info h3 {
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
  margin-top: 36px;
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p, .contact-info a {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}
.contact-info a { border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.contact-info a:hover { color: var(--accent); border-color: var(--accent); }

.contact-form { display: grid; gap: 20px; }
.contact-form label {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(17,17,17,0.25);
  padding: 12px 0;
  font-family: inherit;
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  justify-self: start;
  margin-top: 16px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
/* Submit-Button im services-link-Stil (Textlink mit Pfeil) */
.contact-form button.services-link {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 0 0 6px 0;
  margin-top: 16px;
  cursor: pointer;
  font-family: inherit;
}
.contact-form button.services-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Misc
   ========================================================= */
.divider {
  height: 1px;
  background: rgba(17,17,17,0.15);
  margin: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.tag {
  background: transparent;
  border: 1px solid rgba(17,17,17,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Responsive Nav */
@media (max-width: 800px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #FFFFFF;
  }
  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 40px var(--gutter);
    gap: 24px;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 60;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 22px; }
  .nav-toggle {
    display: block;
    background: none; border: none; cursor: pointer;
    width: 32px; height: 24px; position: relative;
  }
  .nav-toggle span {
    position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
    transition: transform .3s ease;
  }
  .nav-toggle span:nth-child(1) { top: 4px; }
  .nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .nav-toggle span:nth-child(3) { bottom: 4px; }
  .nav-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
}
