/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-ink:  #0F0F0E;
  --color-bone: #F5F1EA;
  --color-card: #EDE8DF;
  --color-accent: oklch(52% 0.10 38);
  --font-serif: 'Spectral', Georgia, serif;

  --font-family:        'Space Grotesk', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium:  500;

  /* Type scale */
  --text-h1:    clamp(2.5rem, 6vw, 5rem);
  --text-h2:    clamp(2rem, 4.5vw, 3rem);
  --text-h3:    clamp(1.125rem, 1.5vw, 1.375rem);
  --text-body:  clamp(1rem, 1.5vw, 1.125rem);
  --text-label: 0.875rem;

  /* Type: UI elements */
  --text-ui: 0.9375rem;

  /* Line heights */
  --lh-heading:   1.05;
  --lh-h2:        1.1;
  --lh-body:      1.7;

  /* Letter spacing */
  --ls-heading:     -0.02em;
  --ls-label:        0.1em;
  --ls-label-tight:  0.05em;

  /* Spacing */
  --gutter:          clamp(1.5rem, 4vw, 4rem);
  --section-padding: clamp(4rem, 10vw, 8rem);
  --max-width:       1280px;
  --max-width-text:  680px;
  --nav-height:      6rem;

  /* Radius */
  --radius:    8px;
  --radius-sm: 4px;

  /* Opacity */
  --opacity-muted: 0.65;

  /* Animation */
  --duration-micro: 150ms;
  --duration-base:  300ms;
  --duration-enter: 500ms;
  --duration-fade:  550ms;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out:  cubic-bezier(0.45, 0, 0.55, 1);
  --ease-in:      cubic-bezier(0.55, 0, 1, 0.45);
}

/* ============================================================
   FONTS (self-hosted)
   ============================================================ */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-latin-ext.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-latin.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Spectral';
  src: url('../fonts/Spectral-Italic-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Spectral';
  src: url('../fonts/Spectral-Italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-bone);
  background-image: radial-gradient(circle, rgba(15, 15, 14, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  background-attachment: fixed;
  color: var(--color-ink);
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  min-height: 100dvh;
  padding-top: var(--nav-height);
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  touch-action: manipulation;
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  background-color: var(--color-ink);
  color: var(--color-bone);
  padding: 0.75rem 1.25rem;
  font-size: var(--text-label);
  font-weight: var(--font-weight-medium);
  z-index: 999;
  transition: top var(--duration-base) var(--ease-smooth);
}

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

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

.section--inverted :focus-visible {
  outline-color: var(--color-bone);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Narrow container for text-heavy sections */
.section__narrow {
  max-width: calc(var(--max-width-text) + var(--gutter) * 2);
}

.section {
  padding-block: var(--section-padding);
}

.section--wide {
  padding-block: clamp(6rem, 14vw, 10rem);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-size: var(--text-h1);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}

h2 {
  font-size: var(--text-h2);
  font-weight: var(--font-weight-regular);
  line-height: var(--lh-h2);
  letter-spacing: -0.015em;
  margin-top: 0;
  margin-bottom: 0;
}

h3 {
  font-size: var(--text-h3);
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
}

.label {
  display: block;
  font-size: var(--text-label);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  opacity: var(--opacity-muted);
  margin-bottom: 0;
}

/* Hero: label left of H1 */
.section__header {
  display: grid;
  grid-template-columns: 8rem 1fr;
  column-gap: 2rem;
  align-items: start;
  margin-bottom: 0;
}

.section__header .label {
  padding-top: 0.3em;
}

.section__header h1 {
  margin-top: 0;
  margin-bottom: 0;
}

/* Sections 02–08: label left column, all content right column */
.section__layout {
  display: grid;
  grid-template-columns: 8rem 1fr;
  column-gap: 2rem;
  align-items: start;
}

.section__layout > .label {
  padding-top: 0.35em;
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.section__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: var(--max-width-text);
  min-width: 0;
}

.section__content--wide {
  max-width: none;
}

.section__content h2 {
  margin-top: 0;
  margin-bottom: 0;
}

.section__content .section__intro {
  margin-top: 0;
  margin-bottom: 0;
}

/* Section 09: centered */
.section--centered {
  text-align: center;
}

.section--centered .label {
  margin-bottom: 1.5rem;
}

.section--centered h2 {
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  body {
    background-attachment: scroll;
  }

  .section__header {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
  }

  .section__layout {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
  }

  .section__layout > .label {
    position: static;
  }
}

.prose p {
  max-width: var(--max-width-text);
  line-height: var(--lh-body);
}

.prose p + p {
  margin-top: 1.25rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-bone);
  border-bottom: 0.5px solid transparent;
  transition: border-color var(--duration-base) var(--ease-smooth);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(15, 15, 14, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav__links {
  display: none;
  gap: 2.5rem;
}

.nav__links a {
  font-size: var(--text-label);
  font-weight: var(--font-weight-regular);
  opacity: 0.65;
  transition: opacity var(--duration-micro) var(--ease-smooth);
}

.nav__links a:hover {
  opacity: 1;
}

/* Hamburger */
.nav__menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.75rem;
  margin-right: -0.75rem;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.nav__menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-ink);
  transition: transform 420ms var(--ease-smooth), opacity 420ms var(--ease-smooth);
  transform-origin: center;
}

/* X animation: outer lines move to center (span 2), middle line fades out.
   Gap 4px + line 2px → center-to-center distance = 6px */
.nav__menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 380ms var(--ease-smooth),
    opacity 260ms var(--ease-smooth);
}

.nav__mobile.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.nav__mobile__inner {
  overflow: hidden;
  padding: 1.75rem var(--gutter) 2rem;
}

.nav__mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nav__mobile a {
  display: block;
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
  padding-block: 0.875rem;
  transition: opacity var(--duration-micro) var(--ease-smooth);
}

.nav__mobile a:hover {
  opacity: 0.6;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }

  .nav__menu-toggle {
    display: none;
  }

  /* Prevent flash if JS hasn't hidden it yet */
  .nav__mobile {
    display: none;
  }
}

/* ============================================================
   TABLET (768–1023px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .section__layout {
    grid-template-columns: 6rem 1fr;
    column-gap: 1.5rem;
  }

  .section__layout > .label {
    top: calc(var(--nav-height) + 1rem);
  }

  .card {
    padding: 2rem;
  }

  .phase {
    grid-template-columns: 90px 1fr;
    column-gap: 1.5rem;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.section--hero {
  min-height: calc(100dvh - var(--nav-height));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero__label {
  margin-bottom: 1.5rem;
}

.hero__claim {
  font-size: clamp(3.5rem, 11vw, 9rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: var(--font-weight-medium);
  margin: 0;
  max-width: none;
}

.hero__claim .word:last-child {
  font-family: var(--font-serif);
  font-style: italic;
}

.hero__sub {
  max-width: 52ch;
  opacity: 0.7;
  line-height: var(--lh-body);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 0.5px solid rgba(15, 15, 14, 0.18);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .hero__sub {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  margin-top: 1.5rem;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee__track.is-ready {
    animation: marquee-scroll 22s linear infinite;
  }

  .marquee:hover .marquee__track {
    animation-play-state: paused;
  }
}

.marquee__track span {
  font-size: var(--text-label);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  opacity: 0.38;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-family);
  font-size: var(--text-ui);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
  transition:
    opacity var(--duration-micro) var(--ease-smooth),
    transform var(--duration-micro) var(--ease-smooth);
}


/* Primary on Bone background */
.btn--primary {
  background-color: var(--color-ink);
  color: var(--color-bone);
}

.btn--primary:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  opacity: 1;
}

/* Primary on Ink background (section--inverted) */
.section--inverted .btn--primary {
  background-color: var(--color-bone);
  color: var(--color-ink);
  margin-top: 2.5rem;
}

.section--inverted .btn--primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Secondary: text link with arrow — underline draws in on hover */
.link-arrow {
  display: inline-block;
  position: relative;
  font-size: var(--text-ui);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  padding-bottom: 2px;
}

/* Prevent stretching in flex-column containers (cards, sections) */
.card .link-arrow,
.section__content .link-arrow {
  align-self: flex-start;
}

.link-arrow::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--duration-enter) var(--ease-smooth);
}

.link-arrow:hover::after,
.card:hover .link-arrow::after {
  width: 100%;
}

/* ============================================================
   CARDS (Leistungen – 03)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
  padding-top: 2rem; /* Platz für Badge der mittleren Kachel */
}

.card {
  background-color: var(--color-card);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

/* Mittlere Kachel (Auftritt) */
.card--featured {
  background-color: var(--color-bone);
  border: 2px solid var(--color-ink);
}

/* Badge „Kernangebot" */
.card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(calc(-100% - 0.5rem));
  background-color: var(--color-ink);
  color: var(--color-bone);
  font-size: 0.6875rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--ls-label-tight);
  padding: 0.1875rem 0.625rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.card__number {
  font-size: var(--text-label);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--ls-label);
  opacity: 0.4;
}

.card__title {
  margin-top: 0.25rem;
}

.card__subtitle {
  font-size: var(--text-body);
  opacity: 0.65;
  line-height: var(--lh-body);
}

.card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card__features li {
  font-size: 0.9375rem;
  opacity: 0.75;
  line-height: 1.5;
}

.card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card__price {
  font-size: var(--text-h3);
  font-weight: var(--font-weight-medium);
  font-variant-numeric: tabular-nums;
}

.card__duration {
  font-size: var(--text-label);
  opacity: 0.5;
}

.card .link-arrow {
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: 0.75rem;
}

/* Card lift on hover */
.card {
  transition: transform var(--duration-enter) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
}

@media (max-width: 767px) {
  .card--featured {
    margin-top: 1.5rem;
  }
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

/* ============================================================
   GALLERY (Arbeit – 05)
   ============================================================ */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.gallery__nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery__nav::-webkit-scrollbar {
  display: none;
}

.gallery__tab {
  font-size: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  opacity: 0.4;
  padding: 0.375rem 0;
  margin-right: 2rem;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity var(--duration-micro) var(--ease-smooth);
}

.gallery__tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--duration-enter) var(--ease-smooth);
}

.gallery__tab.is-active {
  opacity: 1;
}

.gallery__tab.is-active::after {
  width: 100%;
}

.gallery__tab:hover {
  opacity: 0.75;
}

.gallery__tab:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.gallery__tab:disabled:hover {
  opacity: 0.25;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  transition: opacity 180ms var(--ease-smooth);
}

.gallery__grid.is-switching {
  opacity: 0;
}

.gallery__item {
  background-color: var(--color-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
}

.gallery__item--hero {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform var(--duration-fade) var(--ease-smooth);
}

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

@media (max-width: 767px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
  }

  .gallery__item--hero {
    grid-column: span 2;
  }
}

/* ============================================================
   PHASES (Ablauf – 04)
   ============================================================ */

.section__intro {
  max-width: var(--max-width-text);
  opacity: 0.65;
  line-height: var(--lh-body);
  margin-bottom: 2.5rem;
  margin-top: -1rem;
}

.price-note {
  max-width: var(--max-width-text);
  font-size: var(--text-label);
  opacity: var(--opacity-muted);
  line-height: var(--lh-body);
  margin-top: 1.5rem;
}

.price-note--legal {
  margin-top: 1rem;
}

/* Callout (Nicht für dich) */
.callout {
  margin-top: 0;
  background-color: var(--color-card);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-sm);
}

.callout__label {
  font-size: var(--text-label);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.75rem;
}

.callout__text {
  max-width: var(--max-width-text);
  opacity: 0.65;
  line-height: var(--lh-body);
  font-size: var(--text-body);
}

/* ============================================================
   PHASES (Ablauf – 04) — horizontale Kacheln, gestapelt
   ============================================================ */
.phases {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phase {
  background-color: var(--color-bone);
  border: 0.5px solid var(--color-ink);
  border-radius: var(--radius-sm);
  padding: 2rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 2rem;
  align-items: start;
}

.phase__number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 1;
}

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

.phase__title {
  font-size: var(--text-h3);
  font-weight: var(--font-weight-medium);
}

.phase__desc {
  opacity: 0.75;
  line-height: var(--lh-body);
  font-size: var(--text-body);
}

.phase__week {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}

@media (max-width: 767px) {
  .phase {
    grid-template-columns: 70px 1fr;
    column-gap: 1rem;
    padding: 1.25rem;
  }

  .phase__number {
    font-size: 2.5rem;
  }
}

/* ============================================================
   ABOUT (Wer ich bin – 06)
   ============================================================ */
.about {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about__portrait {
  float: right;
  width: 260px;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  margin: 0 0 1.5rem 2rem;
}

@media (max-width: 767px) {
  .about__portrait {
    display: none;
  }
}

@media (min-width: 768px) {
  .about {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* ============================================================
   FAQ (Fragen – 08)
   ============================================================ */
.faq {
  margin-top: 0;
}

.faq__item {
  overflow: hidden;
}

.faq__item + .faq__item {
  border-top: 0.5px solid rgba(15, 15, 14, 0.14);
}

.faq__item:last-child {
  margin-bottom: 0;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.5rem;
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

/* Remove default marker in all browsers */
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { display: none; }

/* Indicator: + rotates to × when open */
.faq__question::after {
  content: '+';
  font-size: 1.375rem;
  font-weight: var(--font-weight-regular);
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-in-out);
}

.faq__item.is-open > .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding-bottom: 1.5rem;
}

.faq__answer p {
  opacity: 0.75;
  line-height: var(--lh-body);
}

/* ============================================================
   KONTAKT (invertiert – 09)
   ============================================================ */
.section--inverted {
  background-color: var(--color-ink);
  color: var(--color-bone);
}

.section--inverted .label {
  opacity: var(--opacity-muted);
}

.section--inverted .prose {
  opacity: 0.8;
}

.kontakt__email-sub {
  display: block;
  width: fit-content;
  margin: 0.75rem auto 0;
  font-size: var(--text-label);
  opacity: 0.5;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.kontakt__email-sub:hover {
  opacity: 0.8;
}

/* Copy toast */
.copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(0.5rem);
  background: var(--color-ink);
  color: var(--color-bone);
  font-size: var(--text-label);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--ls-label-tight);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth);
  z-index: 9999;
}

.copy-toast.copy-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.kontakt__sub {
  font-size: var(--text-label);
  opacity: 0.4;
  margin-top: 2rem;
  letter-spacing: var(--ls-label);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-bone);
  padding-block: 2rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer__copy {
  font-size: var(--text-label);
  opacity: var(--opacity-muted);
}

.footer__email {
  font-size: var(--text-label);
  opacity: 0.45;
  transition: opacity var(--duration-micro) var(--ease-smooth);
}

.footer__email:hover {
  opacity: 1;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: var(--text-label);
  opacity: var(--opacity-muted);
  transition: opacity var(--duration-micro) var(--ease-smooth);
}

.footer__links a:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ============================================================
   FADE-IN ANIMATIONS (Intersection Observer)
   Scoped to .js class set by main.js – no-JS users see
   content immediately. prefers-reduced-motion disables
   animations entirely (not merely slowed).
   ============================================================ */
@keyframes wordIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__claim .word {
    display: inline-block;
    opacity: 0;
    animation: wordIn 700ms var(--ease-out) forwards;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity var(--duration-fade) var(--ease-smooth),
      transform var(--duration-fade) var(--ease-smooth);
  }

  .js .fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgb(15 15 14 / 0.92);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: min(92vw, 1600px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  cursor: zoom-out;
}

.lightbox__close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-bone);
  color: var(--color-ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fade) var(--ease-smooth);
}

.lightbox__close:hover {
  transform: scale(1.08);
}

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