:root {
  --black:  #111;
  --white:  #fff;
  --off:    #f8f8f6;
  --dim:    #7d7c7c;
  --yellow: #F4C500;
  --mid:    #767676;
  --border: #e4e4e4;
  --text-body: #555;

  /* Abstände – Vielfache von 1rem (= 16px) */
  --gutter:    3rem;  /*  48px – horizontaler Seitenabstand */
  --section-v: 6rem;  /*  96px – vertikaler Sektionsabstand */
}

/* ── DARK MODE ── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --black:     #f0f0ee;
    --white:     #1c1c1c;
    --off:       #242424;
    --dim:       #161616;
    --mid:       #f0f0ee;
    --border:    #2e2e2e;
    --text-body: #aaa;
  }
}

[data-theme="dark"] {
  --black:     #f0f0ee;
  --white:     #1c1c1c;
  --off:       #242424;
  --dim:       #161616;
  --mid:       #f0f0ee;
  --border:    #2e2e2e;
  --text-body: #aaa;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY: WORD BREAK & HYPHENS ── */
p, h1, h2, h3, h4, h5, h6, li, blockquote, cite {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

/* ── FOCUS ── */
:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 3.5rem; /* 56px */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 0.9375rem; /* 15px */
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--black);
  text-decoration: none;
}

.logo-dot {
  display: inline-block;
  width: 0.4375rem; /* 7px */
  height: 0.4375rem;
  background: var(--yellow);
  border-radius: 50%;
  margin-left: 0.1875rem; /* 3px */
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem; /* 36px */
  list-style: none;
}

.nav-links a {
  font-size: 0.8125rem; /* 13px */
  font-weight: 400;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--black); }

.nav-links .nav-cta {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 1px;
  transition: color 0.15s;
}

.nav-links .nav-cta:hover { color: var(--black); }

.nav-links .submenu-trigger {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--mid);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s;
}

.nav-links .submenu-trigger:hover { color: var(--black); }

/* ── NAV SUBMENU ── */
.has-submenu { position: relative; }

.nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 14rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  
  list-style: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 200;
}

.nav-submenu li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.nav-submenu li a::after {
  content: '↗';
  font-size: 1rem;
  color: var(--mid);
  transition: color 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.nav-submenu li a:hover {
  color: var(--black);
  background: var(--off);
}

.nav-submenu li a:hover::after {
  color: var(--yellow);
  transform: translate(0.25rem, -0.25rem);
}

@media (hover: hover) {
  .has-submenu:hover .nav-submenu { display: block; }
}

.has-submenu:focus-within .nav-submenu { display: block; }
.has-submenu.submenu--open .nav-submenu { display: block; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--black);
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 1.125rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.15s ease;
  transform-origin: center;
}

nav.nav--open .nav-hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.nav--open .nav-hamburger span:nth-child(2) { opacity: 0; }
nav.nav--open .nav-hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE NAV ── */
@media (max-width: 37.5rem) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    padding: 1.5rem var(--gutter) 3rem;
    z-index: 98;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  nav.nav--open .nav-links { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links > li > a {
    display: block;
    padding: 0.875rem 0;
    font-size: 1rem;
    color: var(--black);
    border-bottom: 1px solid var(--border);
  }

  .nav-links > li:last-child > a,
  .nav-links li:last-child .nav-cta,
  .nav-links li:last-child:has(.theme-toggle) {
    border-bottom: none;
  }

  .nav-links .nav-cta {
    margin: 0;
    border-radius: 0;
    padding: 0.875rem 0;
    font-size: 1rem;
    background: none;
    color: var(--black);
    border-bottom: 1px solid var(--border);
  }

  .nav-links .nav-cta:hover { color: var(--black); }

  /* Submenu inline auf Mobile — Akkordeon via max-height */
  .nav-submenu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: auto;
    background: transparent;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .has-submenu.submenu--open .nav-submenu { max-height: 30rem; overflow: hidden; }

  @media (hover: hover) {
    .has-submenu:hover .nav-submenu { max-height: 0; overflow: hidden; }
    .has-submenu.submenu--open .nav-submenu { max-height: 30rem; overflow: hidden; }
  }

  .nav-submenu li a {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--mid);
    background: transparent;
    font-size: 1rem;
  }

  .nav-submenu li a:hover { background: transparent; color: var(--black); }

  /* Chevron auf Projekte-Link */
  .has-submenu > .submenu-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 0;
    font-size: 1rem;
    color: var(--black);
    text-align: left;
    cursor: pointer;
  }

  .has-submenu > .submenu-trigger::after {
    content: '↓';
    font-size: 0.875rem;
    color: var(--mid);
    transition: transform 0.25s ease;
    display: inline-block;
    margin-left: 1rem;
  }

  .has-submenu.submenu--open > .submenu-trigger::after {
    transform: rotate(180deg);
  }

  /* Dark-Mode-Toggle als vollbreite Nav-Zeile */
  .nav-links li:has(.theme-toggle) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
  }

  .theme-toggle {
    width: 2rem;
    height: 2rem;
    margin-left: 0;
    margin-top: 0;
  }

  .theme-toggle[data-tooltip]::before { display: none; }

  .theme-label { display: inline; font-size: 1rem; color: var(--black); }
}

.theme-label { display: none; }

.theme-toggle {
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.25em 0.6em;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
}

.theme-toggle[data-tooltip]:hover::before { opacity: 1; }

/* light mode: dunkles Mond-Icon */
.theme-toggle::after {
  content: '';
  width: 1.125rem;
  height: 1.125rem;
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: background-image 0s;
}

/* dark mode: gelbes Sonnen-Icon */
[data-theme="dark"] .theme-toggle::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4C500' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cline x1='12' y1='2' x2='12' y2='5'/%3E%3Cline x1='12' y1='19' x2='12' y2='22'/%3E%3Cline x1='4.22' y1='4.22' x2='6.34' y2='6.34'/%3E%3Cline x1='17.66' y1='17.66' x2='19.78' y2='19.78'/%3E%3Cline x1='2' y1='12' x2='5' y2='12'/%3E%3Cline x1='19' y1='12' x2='22' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='6.34' y2='17.66'/%3E%3Cline x1='17.66' y1='6.34' x2='19.78' y2='4.22'/%3E%3C/svg%3E");
}

/* ── HERO ──
   .hero ist full-width, damit Gitter und Kreis den ganzen
   Viewport füllen. Textinhalt ist in .hero-inner. */
.hero {
  padding: 10rem var(--gutter) 7.5rem; /* 160px / 120px */
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  bottom: -1px;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 2rem 2rem; /* 32px */
  opacity: .35;
  z-index: 0;
  pointer-events: none;
}

.hero-dot {
  position: absolute;
  top: 4.5rem;   /* 72px */
  right: 4.5rem;
  width: 6rem;   /* 96px */
  height: 6rem;
  background: var(--yellow);
  border-radius: 50%;
  z-index: 1;
  pointer-events: auto;
  transition: transform 0.4s ease;
}


.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-label {
  font-size: 0.75rem; /* 12px */
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 2.5rem; /* 40px */
  display: flex;
  align-items: center;
  gap: 0.75rem; /* 12px */
  animation: fadeUp 0.5s 0.05s ease both;
}

.hero-label-line {
  display: inline-block;
  width: 2rem; /* 32px */
  height: 1.5px;
  background: var(--yellow);
  flex-shrink: 0;
}

.hero-inner h1 {
  font-size: clamp(3.5rem, 7vw, 6rem); /* 56px – 96px */
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 3rem; /* 48px */
  max-width: 56.25rem; /* 900px */
  animation: fadeUp 0.6s 0.15s ease both;
}

.hero-inner h1 .line-accent {
  color: var(--yellow);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem; /* 48px */
  padding-top: 3rem;
  animation: fadeUp 0.5s 0.3s ease both;
}

.hero-desc {
  font-size: 1.125rem; /* 18px */
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 30rem; /* 480px */
}

.hero-action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem; /* 12px */
}

.btn {
  font-size: 0.8125rem; /* 13px */
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.875rem 2rem; /* 14px 32px */
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn-black:hover,
.btn-black:focus-visible {
  background: var(--yellow);
  color: #111;
  outline-color: var(--yellow);
}

/* Dark Mode: gelber Button, dunkle Schrift */
[data-theme="dark"] .btn-black {
  background: var(--yellow);
  color: #111;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-black {
    background: var(--yellow);
    color: #111;
  }
}

[data-theme="dark"] .btn-black:hover,
[data-theme="dark"] .btn-black:focus-visible {
  background: #fff;
  color: #111;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-black:hover,
  :root:not([data-theme="light"]) .btn-black:focus-visible {
    background: #fff;
    color: #111;
  }
}

.hero-scroll {
  font-size: 0.75rem; /* 12px */
  color: var(--mid);
  letter-spacing: 0.06em;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
}

.divider-yellow {
  height: 3px;
  background: var(--yellow);
  width: 4rem;  /* 64px */
  margin: 0 var(--gutter);
}

/* ── LEISTUNGEN ── */
.leistungen {
  padding: var(--section-v) var(--gutter);
  padding-bottom: 0;
}

.section-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--section-v);
}

.section-label {
  font-size: 0.75rem; /* 12px */
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem); /* 28px – 40px */
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.section-intro h2,
.section-intro h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.leistungen-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: repeat(5, auto);
  border-top: 1px solid var(--border);
}

.leistung {
  padding: 3.5rem 3rem 3.5rem 0; /* 56px 48px */
  border-right: 1px solid var(--border);
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
}

.leistung:first-child  { padding-left: 0; }
.leistung:nth-child(2) { padding-left: 3rem; }
.leistung:last-child   { border-right: none; padding-right: 0; padding-left: 3rem; }

.leistung-num {
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 1.75rem; /* 28px */
  display: block;
}

.leistung h3 {
  font-size: 1.375rem; /* 22px */
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem; /* 16px */
  line-height: 1.2;
}

.leistung-text {
  font-size: 0.9375rem; /* 15px */
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
  padding-bottom: 1.75rem; /* 28px */
}

.leistung-features {
  list-style: none;
}

.leistung-features li {
  font-size: 0.875rem; /* 14px */
  font-weight: 300;
  color: var(--text-body);
  padding: 0.45rem 0;
  line-height: 1.5;
}

.leistung-features li + li {
  border-top: 1px solid var(--border);
}

.leistung-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.leistung-hint {
  font-size: 0.8125rem; /* 13px */
  font-weight: 300;
  color: var(--mid);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.leistung-price {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
}

/* Add-on */
.leistung-addon {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  gap: 0 3rem;
  align-items: center;
}

.leistung-addon-tag {
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

.leistung-addon-body h3 {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.leistung-addon-body p {
  font-size: 0.9375rem; /* 15px */
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.65;
}

.leistung-addon-body a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.leistung-addon-price {
  text-align: right;
  white-space: nowrap;
}

/* ── PROJEKTE ── */
.projekte {
  padding: var(--section-v) var(--gutter);
}

.projekte-header {
  margin-bottom: 1.5rem;  /* 24px */
  padding-bottom: 4.5rem; /* 72px */
}

.projekte-header + .proj-row {
  border-top: 1px solid var(--border);
}

.proj-row {
  display: grid;
  grid-template-columns: 5rem 1fr 1fr auto; /* 80px */
  align-items: baseline;
  padding: 1.75rem 0; /* 28px */
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--black);
  gap: 2rem; /* 32px */
  position: relative;
}

.proj-row::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--gutter));
  right: calc(-1 * var(--gutter));
  top: 0; bottom: 0;
  background: var(--off);
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 0;
}

.proj-row:hover::before { opacity: 1; }
.proj-row > * { position: relative; z-index: 1; }

.proj-num {
  font-size: 0.75rem; /* 12px */
  color: var(--mid);
  letter-spacing: 0.06em;
}

.proj-title {
  font-size: 1.375rem; /* 22px */
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.proj-cat {
  font-size: 0.875rem; /* 14px */
  color: var(--mid);
  font-weight: 300;
}

.proj-arrow {
  font-size: 1.125rem; /* 18px */
  color: var(--mid);
  transition: color 0.15s, transform 0.15s;
}

.proj-row:hover .proj-arrow {
  color: var(--yellow);
  transform: translate(0.25rem, -0.25rem); /* 4px */
}

/* ── ÜBER MICH ── */
.ueber {
  background: var(--off);
  padding: var(--section-v) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 6rem; /* 96px */
  row-gap: 3rem;
  align-items: start;
}

.ueber-left .section-label {
  display: block;
  margin-bottom: 1.5rem;
}

.ueber-left h2 {
  margin-bottom: 2rem;
}

.ueber-left p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--white);
  padding: var(--section-v) var(--gutter);
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.testimonials-inner {
  width: 100%;
  max-width: 42rem;
}

.testimonials-inner .section-label {
  display: block;
  margin-bottom: 2rem;
}

.ueber-person {
  display: flex;
  align-items: center;
  gap: 1rem; /* 16px */
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  align-self: start;
}

.avatar {
  width: 3rem;  /* 48px */
  height: 3rem;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar span {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.04em;
}

.person-info strong {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  display: block;
  margin-bottom: 0.125rem; /* 2px */
}

.person-info small {
  font-size: 0.8125rem; /* 13px */
  color: var(--mid);
}

.ueber-right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.ueber-portrait {
  display: block;
  width: 400px;
  width: 25rem;
  height: 400px;
  height: 25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--yellow);
}

.ueber-right blockquote {
  font-size: 1.375rem; /* 22px */
  font-weight: 400;
  line-height: 1.55;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem; /* 24px */
  padding-left: 1.5rem;  /* 24px */
  border-left: 3px solid var(--yellow);
}

/* ── TESTIMONIAL CAROUSEL ── */
.testimonial-carousel {
  position: relative;
  min-height: 9rem;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.testimonial-dot.active {
  background: var(--yellow);
}

.testimonial-dot:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.ueber-right cite {
  font-size: 0.8125rem; /* 13px */
  color: var(--mid);
  font-style: normal;
  padding-left: 1.5rem; /* 24px */
  display: block;
}

/* ── CTA ── */
.cta {
  padding: 7.5rem var(--gutter); /* 120px */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem; /* 96px */
  align-items: end;
  position: relative;
  overflow: hidden;
}

.cta-left {
  position: relative;
  z-index: 1;
}

.cta-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem; /* 20px */
}

.cta-label {
  font-size: 0.75rem; /* 12px */
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 2rem; /* 32px */
}

.cta h2 {
  font-size: clamp(2.5rem, 5vw, 4rem); /* 40px – 64px */
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0;
}

.cta h2 span,
.cta h3 span,
.cta h2 span { color: var(--yellow); }

.cta h2,
.cta h3 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0;
}

.cta-sub {
  font-size: 1rem; /* 16px */
  font-weight: 300;
  color: var(--mid);
  margin-top: 1.9rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem var(--gutter); /* 28px */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  color: var(--black);
}

.footer-links {
  display: flex;
  gap: 1.5rem; /* 24px */
  list-style: none;
}

.footer-links a {
  font-size: 0.75rem; /* 12px */
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--black); }

.footer-copy {
  font-size: 0.75rem; /* 12px */
  color: var(--mid);
}

/* ── KONTAKT ── */
.kontakt-page {
  padding: var(--section-v) var(--gutter);
}

.kontakt-header {
  margin-bottom: 4rem;
}

.kontakt-header .section-label {
  display: block;
  margin-bottom: 1rem;
}

.kontakt-header h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.kontakt-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: 5rem;
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}

/* Formular */
.form-row {
  margin-bottom: 1.75rem;
}

.form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.form-required {
  color: var(--mid);
}

.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mid);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 300;
  padding: 0.75rem 1rem;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--mid);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--black);
}

.form-field textarea {
  resize: vertical;
  min-height: 9rem;
  line-height: 1.6;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23767676' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.form-field--checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-field--checkbox label {
  font-size: 0.875rem;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-body);
  cursor: pointer;
  padding-left: 1.5rem;
  position: relative;
}

.form-field--checkbox label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 0.875rem;
  height: 0.875rem;
  border: 1px solid var(--border);
  background: var(--white);
  transition: background 0.15s, border-color 0.15s;
}

.form-field--checkbox input[type="checkbox"]:checked + label::before {
  background: var(--black);
  border-color: var(--black);
}

.form-field--checkbox input[type="checkbox"]:checked + label::after {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.38rem;
  width: 0.25rem;
  height: 0.44rem;
  border: 1.5px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.form-field--checkbox input[type="checkbox"]:focus-visible + label::before {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.form-field--checkbox label a {
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 1px;
  transition: color 0.15s;
}

.form-field--checkbox label a:hover {
  color: var(--black);
}

/* Erfolgs- / Fehlermeldung */
.form-success,
.form-error {
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
}
.form-error a {
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 1px;
  transition: color 0.15s;
}

.form-error a:hover { color: var(--black); }

.field-error {
  font-size: 0.75rem;
  color: var(--mid);
  margin-top: 0.375rem;
}

.form-field input[aria-invalid="true"] {
  border-color: var(--black);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Aside */
.kontakt-aside {
  border-left: 1px solid var(--border);
  padding-left: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.aside-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

.aside-mail {
  width: fit-content;
  font-size: 1rem;
  font-weight: 400;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 1px;
  word-break: break-all;
  transition: color 0.15s;
}

.aside-mail:hover,
.aside-mail:focus-visible {
  color: var(--black);
}

.aside-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aside-meta li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.aside-meta-key {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
}

.aside-meta-val {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-body);
}

.aside-name {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.6;
}

/* ── SCROLL-TO-TOP ── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 2.75rem;  /* 44px */
  height: 2.75rem;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.2s, transform 0.2s, background 0.15s;
  pointer-events: none;
}

.scroll-top::after {
  content: '↑';
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--yellow);
  color: var(--black);
}

/* ── SKIP-LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--yellow);
  color: #111;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 1rem;
}

/* ── SCREENREADER-ONLY ── */
.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;
}

/* ── TESTIMONIAL PAUSE ── */
.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 0;
}

.testimonial-pause {
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--border);
  background: none;
  color: var(--mid);
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, border-color 0.15s;
  padding: 0;
}

.testimonial-pause:hover,
.testimonial-pause:focus-visible {
  color: var(--black);
  border-color: var(--black);
}

.testimonial-pause[aria-pressed="true"] {
  color: var(--yellow);
  border-color: var(--yellow);
}

/* ── ANIMATIONEN ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE 900px ── */
@media (max-width: 56.25rem) { /* 900px */
  :root {
    --gutter:    1.5rem; /*  24px */
    --section-v: 4.5rem; /*  72px */
  }

  nav { height: 3.5rem; }

  .hero { padding: 7.5rem var(--gutter) 5rem; } /* 120px / 80px */
  .hero-dot { width: 4rem; height: 4rem; top: 3rem; right: var(--gutter); }

  .leistungen-list { grid-template-columns: 1fr; grid-template-rows: none; }
  .leistung { border-right: none; border-bottom: 1px solid var(--border); padding: 2.5rem 0; display: block; grid-row: auto; }
  .leistung:nth-child(2) { padding-left: 0; }
  .leistung:last-child   { border-bottom: none; padding-left: 0; }

  .leistung-addon { grid-template-columns: 1fr; gap: 1rem; }
  .leistung-addon-price { text-align: left; }

  .kontakt-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row--half { grid-template-columns: 1fr; }
  .kontakt-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 2.5rem; }

  .ueber { grid-template-columns: 1fr; gap: 3rem; }
  .ueber-left { justify-content: flex-start; }
  .ueber-right { justify-content: flex-start; }
  .ueber-portrait { width: min(25rem, 100%); height: auto; aspect-ratio: 1 / 1; }

  .cta { padding: 5rem var(--gutter); }

  footer { flex-direction: column; gap: 1rem; align-items: flex-end; }

  .section-intro { flex-direction: column; gap: 1rem; }
}

/* ── RESPONSIVE 600px ── */
@media (max-width: 37.5rem) { /* 600px */
  .proj-row { grid-template-columns: 2.5rem 1fr auto; }
  .proj-cat { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-action { align-items: flex-start; }
  .cta { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-right { align-items: flex-start; }
  footer { align-items: center; text-align: center; }
}

/* ── ACCESSIBILITY WIDGET ── */
.a11y-widget {
  position: fixed;
  left: 0;
  bottom: 32px;
  z-index: 200;
  display: flex;
  align-items: flex-end;
}

.a11y-trigger {
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}

.a11y-trigger:hover,
.a11y-trigger:focus-visible {
  background: var(--yellow);
  color: #111;
}

.a11y-trigger-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* Aktiv-Indikator: gelber Punkt */
.a11y-trigger.has-active {
  background: var(--yellow);
  color: #111;
}

.a11y-trigger.has-active:hover,
.a11y-trigger.has-active:focus-visible {
  background: var(--black);
  color: var(--white);
}

.a11y-panel[hidden] { display: none; }

.a11y-panel {
  position: absolute;
  bottom: 0;
  left: 100%;
  width: 256px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.a11y-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 4px;
}

.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.a11y-label {
  font-size: 14px;
  color: var(--black);
}

.a11y-font-controls {
  display: flex;
  gap: 4px;
}

.a11y-font-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.a11y-font-btn:hover,
.a11y-font-btn:focus-visible {
  background: var(--yellow);
  color: #111;
  border-color: var(--yellow);
}

.a11y-toggle {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.a11y-toggle:hover,
.a11y-toggle:focus-visible {
  border-color: var(--black);
}

.a11y-toggle[aria-pressed="true"] {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.a11y-reset {
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: none;
  color: var(--mid);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  margin-top: 4px;
  transition: color 0.15s;
}

.a11y-reset:hover { color: var(--black); }

/* ── A11Y WIDGET MOBILE ── */
@media (max-width: 37.5rem) {
  .a11y-widget {
    left: 24px;
    bottom: 0;
    transform: none;
    align-items: flex-end;
  }

  .a11y-trigger {
    flex-direction: row;
    border-radius: 4px 4px 0 0;
    padding: 8px 16px;
    gap: 8px;
  }

  .a11y-trigger-label {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .a11y-panel {
    bottom: 100%;
    left: 0;
    transform: none;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── A11Y STATES ── */
html.a11y-contrast {
  filter: grayscale(1) contrast(1.6);
}

html.a11y-no-motion *,
html.a11y-no-motion *::before,
html.a11y-no-motion *::after {
  animation: none !important;
  transition: none !important;
}

html.a11y-underline a {
  text-decoration: underline !important;
}

html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='8' cy='8' r='6' fill='%23e53935' /%3E%3C/svg%3E") 8 8, auto !important;
}

@font-face {
  font-family: 'OpenDyslexic';
  src: url('../fonts/OpenDyslexic-Regular.woff2') format('woff2'),
       url('../fonts/OpenDyslexic-Regular.woff')  format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html.a11y-dyslexia,
html.a11y-dyslexia * {
  font-family: 'OpenDyslexic', sans-serif !important;
}

html.a11y-spacing,
html.a11y-spacing * {
  line-height: 1.8 !important;
  letter-spacing: 0.05em !important;
  word-spacing: 0.1em !important;
}

html.a11y-desaturate {
  filter: grayscale(1);
}

.a11y-reading-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 62px;
  background: rgba(0,0,0,0.08);
  pointer-events: none;
  z-index: 9999;
  display: none;
  box-shadow: 0 0 0 100vmax rgba(0,0,0,0.35);
}

html.a11y-reading-mask-active .a11y-reading-mask {
  display: block;
}

.a11y-shortcuts {
  font-size: 16px;
}

.a11y-shortcuts-hd {
  width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--mid);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.a11y-shortcuts-list {
  list-style: none;
  padding: 8px 12px;
  margin: 0;
  font-size: 12px;
  color: var(--mid);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  border-top: none;
}

.a11y-shortcuts-list[hidden] { display: none; }

.a11y-shortcuts-list kbd {
  font-family: monospace;
  background: var(--border);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 11px;
}

/* ── A11Y DARK MODE ── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .a11y-panel {
    background: #1c1c1c;
    border-color: #2e2e2e;
  }
  :root:not([data-theme="light"]) .a11y-label {
    color: #f0f0ee;
  }
  :root:not([data-theme="light"]) .a11y-title {
    color: #aaa;
  }
  :root:not([data-theme="light"]) .a11y-font-btn {
    background: #1c1c1c;
    color: #f0f0ee;
    border-color: #2e2e2e;
  }
  :root:not([data-theme="light"]) .a11y-font-btn:hover,
  :root:not([data-theme="light"]) .a11y-font-btn:focus-visible {
    background: #F4C500;
    color: #111;
    border-color: #F4C500;
  }
  :root:not([data-theme="light"]) .a11y-toggle {
    background: #1c1c1c;
    color: #f0f0ee;
    border-color: #2e2e2e;
  }
  :root:not([data-theme="light"]) .a11y-toggle:hover,
  :root:not([data-theme="light"]) .a11y-toggle:focus-visible {
    border-color: #f0f0ee;
  }
  :root:not([data-theme="light"]) .a11y-toggle[aria-pressed="true"] {
    background: #f0f0ee;
    color: #111;
    border-color: #f0f0ee;
  }
  :root:not([data-theme="light"]) .a11y-reset {
    color: #aaa;
  }
  :root:not([data-theme="light"]) .a11y-reset:hover {
    color: #f0f0ee;
  }
  :root:not([data-theme="light"]) .a11y-shortcuts-hd {
    background: #1c1c1c;
    color: #aaa;
    border-color: #2e2e2e;
  }
  :root:not([data-theme="light"]) .a11y-shortcuts-list {
    background: #1c1c1c;
    color: #aaa;
    border-color: #2e2e2e;
  }
  :root:not([data-theme="light"]) .a11y-shortcuts-list kbd {
    background: #2e2e2e;
    color: #f0f0ee;
  }
  :root:not([data-theme="light"]) .a11y-reading-mask {
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 100vmax rgba(0,0,0,0.6);
  }
}

[data-theme="dark"] .a11y-panel {
  background: #1c1c1c;
  border-color: #2e2e2e;
}
[data-theme="dark"] .a11y-label {
  color: #f0f0ee;
}
[data-theme="dark"] .a11y-title {
  color: #aaa;
}
[data-theme="dark"] .a11y-font-btn {
  background: #1c1c1c;
  color: #f0f0ee;
  border-color: #2e2e2e;
}
[data-theme="dark"] .a11y-font-btn:hover,
[data-theme="dark"] .a11y-font-btn:focus-visible {
  background: #F4C500;
  color: #111;
  border-color: #F4C500;
}
[data-theme="dark"] .a11y-toggle {
  background: #1c1c1c;
  color: #f0f0ee;
  border-color: #2e2e2e;
}
[data-theme="dark"] .a11y-toggle:hover,
[data-theme="dark"] .a11y-toggle:focus-visible {
  border-color: #f0f0ee;
}
[data-theme="dark"] .a11y-toggle[aria-pressed="true"] {
  background: #f0f0ee;
  color: #111;
  border-color: #f0f0ee;
}
[data-theme="dark"] .a11y-reset {
  color: #aaa;
}
[data-theme="dark"] .a11y-reset:hover {
  color: #f0f0ee;
}
[data-theme="dark"] .a11y-shortcuts-hd {
  background: #1c1c1c;
  color: #aaa;
  border-color: #2e2e2e;
}
[data-theme="dark"] .a11y-shortcuts-list {
  background: #1c1c1c;
  color: #aaa;
  border-color: #2e2e2e;
}
[data-theme="dark"] .a11y-shortcuts-list kbd {
  background: #2e2e2e;
  color: #f0f0ee;
}
[data-theme="dark"] .a11y-reading-mask {
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 100vmax rgba(0,0,0,0.6);
}

/* ════════════════════════════════════════
   PROJEKT-DETAIL-SEITEN
   ════════════════════════════════════════ */

/* ── HEADER ── */
.proj-page-header {
  padding: calc(3.5rem + var(--section-v)) var(--gutter) var(--section-v);
  animation: fadeUp 0.5s 0.1s ease both;
}

/* 2-Spalten-Layout (ibig-Stil) */
.proj-page-header--2col {
  display: grid;
  grid-template-columns: 1fr 22.5rem; /* 360px */
  gap: 5rem; /* 80px */
  align-items: end;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
}

.proj-page-header h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.0;
  padding-top: 3rem;
  margin-bottom: 1.25rem;
}

.proj-page-header h1 em,
.proj-page-header h1 span.accent { color: var(--yellow); font-style: normal; }

/* ── BREADCRUMB ── */
.proj-breadcrumb {
  font-size: 0.75rem; /* 12px */
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
}

.proj-breadcrumb a {
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s;
}

.proj-breadcrumb a:hover { color: var(--black); }
.proj-breadcrumb span   { color: var(--dim); }

/* ── UNTERTITEL ── */
.proj-subtitle {
  font-size: 1.25rem; /* 20px */
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.5;
}

/* ── META-TABELLE (ibig) ── */
.proj-meta {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.meta-row:last-child { border-bottom: none; }

.meta-label {
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  flex-shrink: 0;
}

.meta-value {
  font-size: 0.8125rem; /* 13px */
  font-weight: 500;
  color: var(--black);
  text-align: right;
}

.meta-value a { color: var(--black); text-decoration: none; }
.meta-value a:hover { color: var(--mid); }

.meta-tag {
  display: inline-block;
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.1875rem 0.5rem;
  background: var(--off);
  color: var(--black);
  margin-left: 0.25rem;
}

/* ── INTRO-GRID (sojka) ── */
.proj-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.25rem; /* 100px */
  align-items: end;
  padding: 0 0 6rem;
  border-bottom: 1px solid var(--border);
}

.proj-desc {
  font-size: 1.25rem; /* 20px */
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.7;
}

.proj-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-line {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.875rem; /* 14px */
}

.info-key {
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  min-width: 5rem;
  flex-shrink: 0;
}

.info-val { color: var(--black); }

.info-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tag {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  padding: 0;
}

.tag--link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  color: var(--black);
  text-decoration: none;
}
.tag--link::after {
  content: '';
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
  position: relative;
  top: 2px;
}
.tag--link:hover { text-decoration: underline; }
[data-theme="dark"] .tag--link::after {
  filter: invert(1);
}

[data-theme="dark"] .footer-links a:hover {
  color: var(--yellow);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-submenu li a:hover {
  color: var(--yellow);
}

/* ── HERO-BILD ── */
.proj-hero-img {
  width: 100%;
  height: 61.8vh;
  height: 61.8svh;
  min-height: 25rem;
  overflow: hidden;
  background: var(--off);
}

.proj-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-fullwidth {
  width: 100%;
}

.img-fullwidth picture {
  display: block;
  max-height: 60vh;
}

.img-fullwidth img {
  width: 100%;
  height: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}

/* ── INHALT + SIDEBAR (ibig) ── */
.proj-content {
  display: grid;
  grid-template-columns: 1fr 22.5rem; /* 360px */
  gap: 5rem; /* 80px */
  padding: 5rem var(--gutter);
  align-items: start;
}

.proj-text h2 {
  font-size: 0.8125rem; /* 13px */
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
  margin-top: 3.5rem;
}

.proj-text h2:first-child { margin-top: 0; }

.proj-text p {
  font-size: 1.125rem; /* 18px */
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  max-width: 36.25rem; /* 580px */
}

.proj-text p:last-child { margin-bottom: 0; }

.proj-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sidebar-block h3 {
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-block li {
  font-size: 0.875rem; /* 14px */
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.sidebar-block li::before {
  content: '';
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

.sidebar-link {
  font-size: 0.8125rem; /* 13px */
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 2px;
  transition: color 0.15s;
}

.sidebar-link:hover { color: var(--mid); }

/* ── BILDER-GALERIE (ibig) ── */
.proj-images {
  padding: 0 var(--gutter) 5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.img-row {
  display: grid;
  gap: 2px;
}

.img-row-2 { grid-template-columns: 1fr 1fr; }
.img-row-1 { grid-template-columns: 1fr; }

.img-wrap {
  overflow: hidden;
  background: var(--off);
  position: relative;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.img-wrap:hover img { transform: scale(1.02); }

.img-tall { height: 30rem; }   /* 480px */
.img-wide { height: 33.75rem; } /* 540px */

.img-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.3);
  padding: 0.25rem 0.5rem;
}

/* ── STORY BLOCKS (sojka) ── */
.story-block {
  padding: var(--section-v) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.25rem; /* 100px */
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.story-block.reverse { direction: rtl; }
.story-block.reverse > * { direction: ltr; }

.story-text h2 {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.story-text h2::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1.5px;
  background: var(--yellow);
  flex-shrink: 0;
}

.story-text h3 {
  font-size: clamp(1.625rem, 2.5vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.story-text p {
  font-size: 1rem; /* 16px */
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.story-text p:last-child { margin-bottom: 0; }

.story-img {
  overflow: hidden;
  height: 33.75rem; /* 540px */
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.story-img:hover img { transform: scale(1.03); }

/* ── SPLIT VISUAL ── */
.split-visual {
  height: 33.75rem;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  overflow: hidden;
}

.split-visual-item {
  overflow: hidden;
  background: var(--off);
}

.split-visual-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.split-visual-item:hover img { transform: scale(1.03); }

/* ── GALERIE (sojka) ── */
.proj-gallery {
  padding: 0 var(--gutter) var(--section-v);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}

.gallery-item {
  overflow: hidden;
  background: var(--off);
  height: 23.75rem; /* 380px */
}

.gallery-item.wide {
  grid-column: span 2;
  height: 31.25rem; /* 500px */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.03); }

/* ── ERGEBNIS-SEKTION ── */
.proj-result {
  background: var(--white);
  padding: var(--section-v) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.25rem;
  align-items: center;
}


.result-eyebrow,
.result-label {
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.result-eyebrow::before,
.result-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1.5px;
  background: var(--yellow);
  flex-shrink: 0;
}

.proj-result h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.25rem;
}

.proj-result p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
}

.result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.result-stat,
.stat {
  padding: 2.25rem 2rem;
}

.stat{
    gap: 1rem;
}

.result-stat-val,
.stat-val {
  font-size: 3rem; /* 48px */
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.result-stat-val sup,
.stat-val sup { font-size: 1.5rem; }

.result-stat-label,
.stat-label {
  font-size: 0.75rem;
  color: var(--mid);
  letter-spacing: 0.04em;
}

/* ── PROJEKT NAVIGATION (ZURÜCK / WEITER) ── */
.proj-nav {
  display: grid;
  grid-template-columns: 1fr 3fr;
  border-top: 1px solid var(--border);
}

.proj-prev,
.proj-next {
  padding: var(--section-v) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--black);
  transition: background 0.2s;
}

.proj-prev { border-right: 1px solid var(--border); gap: 1rem; }

.proj-prev:hover,
.proj-next:hover { background: var(--off); }

.proj-prev-label,
.proj-next-label {
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.75rem;
}

.proj-prev h3,
.proj-next h3 {
  font-size: 2rem; /* 32px */
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.proj-prev-arrow,
.proj-next-arrow {
  font-size: 2.5rem; /* 40px */
  color: var(--yellow);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.proj-prev:hover .proj-prev-arrow { transform: translate(-0.375rem, -0.375rem); }
.proj-next:hover .proj-next-arrow { transform: translate(0.375rem, -0.375rem); }

@media (max-width: 600px) {
  .proj-nav { grid-template-columns: 1fr 1fr; }
  .proj-prev { border-right: none; border-bottom: 1px solid var(--border); }
  .proj-prev h3,
  .proj-next h3 { font-size: 1.5rem; }
}

/* ── RESPONSIVE PROJEKT-SEITEN ── */
@media (max-width: 56.25rem) { /* 900px */
  .proj-page-header--2col {
    grid-template-columns: 1fr;
  }

  .proj-intro { grid-template-columns: 1fr; gap: 2rem; }
  .proj-content { grid-template-columns: 1fr; }
  .proj-sidebar { position: static; }

  .story-block { grid-template-columns: 1fr; gap: 2rem; }
  .story-block.reverse { direction: ltr; }
  .story-img { height: 20rem; }
  .split-visual { height: 20rem; }

  .proj-gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: 1 / -1; }

  .proj-result { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 37.5rem) { /* 600px */
  .proj-gallery { grid-template-columns: 1fr; }
  .gallery-item.wide { height: 20rem; }
  .img-row-2 { grid-template-columns: 1fr; }
  .result-stat-val,
  .stat-val { font-size: clamp(1.5rem, 6vw, 3rem); }
}

/* ════════════════════════════════════════
   LEGAL-SEITEN (Impressum, Datenschutz, AGB)
   ════════════════════════════════════════ */

.legal-content {
  padding: calc(3.5rem + var(--section-v)) var(--gutter) var(--section-v);
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =====================================================================
   LANDING PAGES (Orphan Pages)
   ===================================================================== */

/* Minimal-Nav: nur Logo + CTA, kein Hamburger */
.nav-links--minimal {
  gap: 1.25rem;
}

/* Problem-Block: zwei Spalten, linke Spalte Personas, rechte Spalte Fazit + CTA */
.lp-problem {
  padding: var(--section-v) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.lp-problem-col--text p {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.lp-problem-col--text p:last-child {
  margin-bottom: 0;
}

.lp-problem-col--conclusion {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.lp-problem-conclusion {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--black);
}

.lp-problem-punchline {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--yellow);
}

/* Referenz-Block: zwei Spalten */
.lp-referenz {
  padding: var(--section-v) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  border-bottom: 1px solid var(--border);
}

.lp-referenz-left .section-label {
  display: block;
  margin-bottom: 1.5rem;
}

.lp-referenz-left h2 {
  margin-bottom: 1.5rem;
}

.lp-referenz-left p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.lp-referenz-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.lp-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lp-stat-val {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--yellow);
}

.lp-stat-label {
  font-size: 0.75rem;
  color: var(--mid);
  letter-spacing: 0.04em;
}

.lp-referenz-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 2px;
  transition: color 0.15s;
}

.lp-referenz-link:hover { color: var(--mid); }

.lp-referenz-right {
  padding-top: 0.5rem;
}

.lp-referenz-quote {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--black);
  letter-spacing: -0.01em;
  padding-left: 1.5rem;
  border-left: 3px solid var(--yellow);
}

.lp-referenz-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--mid);
  font-style: normal;
  padding-left: 1.5rem;
}

@media (max-width: 56.25rem) {
  .lp-problem {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .lp-referenz {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .lp-referenz-quote {
    padding-left: 1.25rem;
  }
  .lp-referenz-quote cite {
    padding-left: 1.25rem;
  }
}
