
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:    #f7f6f2;
  --white: #ffffff;
  --black: #0d0d0c;
  --muted: #5a5a56;
  --rule:  #e0ded7;
  --text:  #1a1a18;
  --dark:  #111110;
}
html { scroll-behavior: auto; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247,246,242,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.nav-logo img { height: 42px; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--black); }
.nav-cta {
  background: var(--black) !important; color: #fff !important;
  padding: 9px 18px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; transition: opacity .2s;
}
.nav-cta:hover { opacity: .7; }

/* ── BURGER ── */
.burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 120;
  padding: 0; flex-shrink: 0;
}
.burger span {
  display: block; width: 100%; height: 2px;
  background: var(--black); border-radius: 2px;
  position: absolute; left: 0;
  transition: transform .3s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3) { bottom: 0; }
.burger.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: auto;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  background: rgba(247,246,242,0.84);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid rgba(255,255,255,0.38);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 105;
  padding: 24px 28px calc(24px + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .32s ease, transform .32s ease, visibility 0s linear .32s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .32s ease, transform .32s ease;
}
.mobile-menu a {
  font-size: 1.1rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  opacity: 0;
  transform: translateY(18px);
  transition: color .2s, opacity .42s cubic-bezier(.22,.61,.36,1), transform .42s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open a:nth-child(1) { transition-delay: .05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .09s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .13s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .17s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .21s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .25s; }
.mobile-menu.open a:nth-child(7) { transition-delay: .29s; }
.mobile-menu a:hover { color: var(--black); }
.mobile-menu .nav-cta {
  margin-top: 14px;
  padding: 14px 28px;
  font-size: 0.82rem;
  min-width: min(100%, 320px);
  text-align: center;
}

/* ── WRAP ── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 48px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--bg);
  padding-top: 64px;
}
.hero-inner {
  display: flex; align-items: center; gap: 72px;
  padding-top: clamp(24px, 5vh, 72px);
  padding-bottom: clamp(24px, 5vh, 72px);
  width: 100%;
}
.hero-left { flex: 1; display: flex; flex-direction: column; gap: 26px; }
.hero-right {
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 420px);
}
.hero-right img {
  width: 100%;
  height: clamp(300px, 72vh, 580px);
  aspect-ratio: unset;
  object-fit: cover; object-position: top center;
  border-radius: 16px; display: block;
}

/* Laptop-Monitor (768px–1280px Höhe) */
@media (max-height: 800px) {
  .hero-inner { gap: 48px; padding-top: 16px; padding-bottom: 16px; }
  .hero-left { gap: 16px; }
  .hero-right { width: clamp(240px, 30vw, 380px); }
  .hero-right img { height: clamp(280px, 65vh, 480px); }
  .h1 { font-size: clamp(1.7rem, 2.6vw, 2.7rem); }
  .hero-p { font-size: 0.9rem; line-height: 1.7; }
  .hero-stats { padding-top: 14px; }
  .st-n { font-size: 1.2rem; }
}
.hero-name {
  text-align: center; margin-top: 11px;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.kicker {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ''; width: 18px; height: 1px; background: var(--muted); flex-shrink: 0; }
.h1 {
  font-size: clamp(3.4rem, 5.5vw, 6rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; color: var(--black);
}
.h1 .dim { font-weight: 300; color: var(--muted); }
.hero-p { font-size: 1rem; font-weight: 400; line-height: 1.82; color: var(--muted); max-width: 460px; }
.hero-p strong { font-weight: 600; color: var(--text); }
.hero-btns { display: flex; align-items: center; gap: 20px; }
.btn {
  background: var(--black); color: #fff;
  padding: 13px 26px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: 7px; text-decoration: none; border: none; cursor: pointer;
  transition: opacity .2s, transform .15s; display: inline-block;
  font-family: 'Inter', sans-serif;
}
.btn:hover { opacity: .76; transform: translateY(-1px); }
.btn-ghost { font-size: 0.82rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.btn-ghost:hover { color: var(--black); }
.hero-stats {
  display: flex; gap: 36px;
  margin-top: 8px;
  padding-top: 20px; border-top: 1px solid var(--rule);
}
.st-n { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--black); line-height: 1; }
.st-l { font-size: 0.67rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ── HERO ANIMATIONS ── */
.ha {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeup .7s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes fadeup { to { opacity: 1; transform: translateY(0); } }
.ha1 { animation-delay: .1s; }
.ha2 { animation-delay: .28s; }
.ha3 { animation-delay: .44s; }
.ha4 { animation-delay: .58s; }
.ha5 { animation-delay: .72s; }
.hphoto {
  opacity: 0; transform: translateX(36px);
  animation: fadein-r .9s cubic-bezier(.22,.61,.36,1) .2s forwards;
}
@keyframes fadein-r { to { opacity: 1; transform: translateX(0); } }

/* ── SECTIONS ── */
.sec { padding: 96px 0; border-top: 1px solid var(--rule); }
.sec.white { background: var(--white); }
.sec.dark  { background: var(--dark); }
.sec.cream { background: var(--bg); }

.eyebrow {
  font-size: 0.67rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 12px; height: 1px; background: currentColor; flex-shrink: 0; }
.sec.dark .eyebrow { color: rgba(255,255,255,.5); }

h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.7rem); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.03em; color: var(--black);
}
.sec.dark h2 { color: #fff; }

.sec-p { font-size: 0.93rem; color: var(--muted); line-height: 1.88; max-width: 520px; margin-top: 14px; }
.sec-p strong { font-weight: 600; color: var(--text); }
.sec.dark .sec-p { color: rgba(255,255,255,.72); }
.sec.dark .sec-p strong { color: #fff; }

/* ── LEISTUNG ── */
.leistung-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.l-sticky { position: sticky; top: 84px; }
.steps { margin-top: 6px; border-top: 1px solid var(--rule); }
.step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.step-n { font-size: 0.67rem; font-weight: 600; color: var(--muted); padding-top: 2px; }
.step-title { font-size: 0.91rem; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.step-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.75; }

/* ── FÜR WEN ── */
.fw-cards {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; overflow: hidden; margin-top: 48px;
}
.fw-card { background: var(--dark); padding: 36px 30px; transition: background .2s; }
.fw-card:hover { background: #1e1e1c; }
.fw-num { font-size: 0.63rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 12px; }
.fw-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.fw-desc { font-size: 0.84rem; color: rgba(255,255,255,.72); line-height: 1.8; }

/* ── STATEMENT ── */
.stmt { text-align: center; max-width: 720px; margin: 0 auto; }
.stmt-line { width: 28px; height: 1px; background: var(--muted); margin: 0 auto 28px; }
.stmt-q { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 300; line-height: 1.5; color: var(--black); letter-spacing: -0.02em; }
.stmt-q em { font-style: italic; }
.stmt-by { margin-top: 22px; font-size: 0.67rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ── ÜBER MICH ── */
.about-grid { display: grid; grid-template-columns: minmax(240px, 280px) minmax(0, 1fr); gap: 64px; align-items: center; }
.about-img { width: min(280px, 100%); max-width: 280px; height: auto; aspect-ratio: auto; object-fit: cover; object-position: center top; border-radius: 12px; display: block; justify-self: start; align-self: center; }
.about-body { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.about-h2 { font-size: clamp(1.8rem, 2.3vw, 2.3rem); font-weight: 700; line-height: 1.12; color: var(--black); letter-spacing: -0.03em; }
.about-quote { font-size: 0.96rem; font-style: italic; line-height: 1.75; color: var(--text); padding-left: 18px; border-left: 2px solid var(--rule); }
.about-p { font-size: 0.89rem; color: var(--muted); line-height: 1.9; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag { background: var(--bg); border: 1px solid var(--rule); border-radius: 100px; font-size: 0.71rem; font-weight: 500; padding: 5px 14px; color: var(--text); }

/* ── PROZESS ── */
.pz-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 48px; }
.pz-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 32px 28px; }
.pz-num { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.pz-title { font-size: 0.95rem; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.pz-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.8; }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.faq-sticky { position: sticky; top: 84px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); cursor: pointer; user-select: none; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; font-size: 0.89rem; font-weight: 600; color: var(--black); transition: color .2s; }
.faq-item:hover .faq-q { color: var(--muted); }
.faq-icon { color: var(--muted); font-size: 1.2rem; font-weight: 300; transition: transform .3s; flex-shrink: 0; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { font-size: 0.86rem; color: var(--muted); line-height: 1.85; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding-bottom .3s; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 18px; }

/* ── KONTAKT ── */
.k-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 80px; align-items: start; }
.k-sticky { position: sticky; top: 84px; }
.k-h2 { font-size: clamp(1.6rem,2.3vw,2.2rem); font-weight: 700; line-height: 1.12; color: #fff; letter-spacing: -0.03em; margin-bottom: 36px; }
.k-rows { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.12); }
.k-row { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.k-lbl { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 3px; }
.k-val { font-size: 0.87rem; color: #fff; }
.form { display: flex; flex-direction: column; gap: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.fg input, .fg select, .fg textarea {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-family: 'Inter', sans-serif; font-size: 0.87rem;
  padding: 11px 13px; outline: none; width: 100%; border-radius: 7px;
  transition: border-color .2s, background .2s;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.3); }
.fg select option { background: #1a1a18; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.1); }
.fg textarea { resize: vertical; min-height: 96px; }
.btn-white {
  background: #fff; color: var(--black); border: none;
  padding: 12px 24px; font-family: 'Inter', sans-serif;
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; border-radius: 7px; align-self: flex-start; margin-top: 4px;
  transition: opacity .2s, transform .15s;
}
.btn-white:hover { opacity: .8; transform: translateY(-1px); }
.success { display: none; text-align: center; padding: 52px 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.success.show { display: block; }
.success h3 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.success p { font-size: 0.84rem; color: rgba(255,255,255,.55); }

/* ── FOOTER ── */
footer {
  background: #0a0a09; padding: 22px 48px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.f-logo img { height: 36px; display: block; }
.f-meta {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; justify-content: flex-end;
}
.f-links {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.f-links a {
  font-size: 0.67rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,.62);
  transition: color .2s ease, opacity .2s ease;
}
.f-links a:hover { color: #fff; }
.f-copy { font-size: 0.67rem; color: rgba(255,255,255,.4); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.anchor-no-transition { transition: none !important; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: block; }
  nav, footer { padding-left: 28px; padding-right: 28px; }
  .wrap { padding-left: 28px; padding-right: 28px; }
  footer {
    justify-content: center;
    text-align: center;
  }
  .f-meta {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }
  .f-links {
    justify-content: center;
    gap: 12px 16px;
  }


  .hero {
    min-height: unset;
    height: auto;
    align-items: flex-start;
    padding-top: 64px;
    padding-bottom: 32px;
  }
  .hero-inner {
    align-items: flex-start;
    padding-top: 32px;
    padding-bottom: 0;
  }

  .leistung-grid, .about-grid, .faq-grid, .k-grid { grid-template-columns: 1fr; gap: 48px; }
  .l-sticky, .faq-sticky, .k-sticky { position: static; }
  .about-img { width: min(220px, 100%); max-width: 220px; display: block; margin: 0; justify-self: start; }
  .fw-cards, .pz-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sec { padding: 52px 0; }
  .about-img { display: block; margin: 0 auto; }

  /* ── MOBILE TEXTGRÖSSEN ── */
  .hero-p { font-size: 0.95rem; line-height: 1.65; margin-bottom: 18px; }
  .sec-p { font-size: 1.01rem; }
  .step-desc { font-size: 0.92rem; }
  .fw-desc { font-size: 0.92rem; }
  .about-p { font-size: 0.97rem; }
  .pz-desc { font-size: 0.92rem; }
  .faq-q { font-size: 0.97rem; }
  .faq-a { font-size: 0.94rem; }
  .k-val { font-size: 0.95rem; }
  .stmt-q { font-size: clamp(1.3rem, 5vw, 1.8rem); }

  nav { padding-left: 18px; padding-right: 18px; }
  footer { padding-left: 18px; padding-right: 18px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }

  /* ── MOBILE HERO ── */
  .hero {
    min-height: unset;
    height: auto;
    padding-top: 64px;
    padding-bottom: 16px;
  }
  .hero > .wrap { height: auto; }

  /* Zweispalter: Text links, Foto rechts — Stats darunter volle Breite */
  .hero-inner {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    gap: 0;
    padding-top: 24px;
    padding-bottom: 0;
    align-items: flex-start;
    justify-content: space-between;
  }

  .hero-left {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding-right: 24px;
  }

  .hero-right {
    display: block;
    flex: 0 0 36%;
    max-width: 36%;
    margin: 0;
    align-self: stretch;
  }
  .hero-right img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    display: block;
  }
  .hero-name { display: none; }

  .kicker { font-size: 0.65rem; margin-bottom: 10px; }

  .h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.04;
    margin-bottom: 14px;
  }

  .hero-p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 0;
  }

  .btn { padding: 13px 16px; font-size: 0.73rem; }
  .btn-ghost { font-size: 0.82rem; }

  /* Stats: aus hero-left herausbrechen, volle hero-inner Breite */
  .hero-inner {
    overflow: visible;
    position: relative;
    padding-bottom: 56px; /* Platz für die Stats */
  }
  .hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    justify-content: space-between;
    gap: 0;
    display: flex;
    margin-top: 0;
  }
  .hero-stats > div { flex: 1; text-align: center; }
  .st-n { font-size: 1rem; }
  .st-l { font-size: 0.6rem; }

  .btn {
    padding: 14px 24px;
    font-size: 0.75rem;
    width: 100%;
    text-align: center;
    display: block;
    box-sizing: border-box;
  }

  .btn-ghost { font-size: 0.82rem; }
}
@media (max-width: 390px) {
  .hero-right {
    flex: 0 0 32%;
    max-width: 32%;
  }
}


.legal-main {
  flex: 1 0 auto;
  padding-top: 64px;
}
.legal-wrap {
  width: 100%;
  padding-top: clamp(36px, 7vh, 84px);
  padding-bottom: clamp(48px, 9vh, 104px);
}
.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: start;
}
.legal-copy .kicker { margin-bottom: 18px; }
.legal-title {
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 22px;
}
.legal-intro,
.legal-content p,
.legal-content li,
.legal-address,
.legal-note {
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--muted);
}
.legal-intro {
  max-width: 780px;
  margin-bottom: 28px;
}
.legal-content {
  display: grid;
  gap: 28px;
}
.legal-block {
  display: grid;
  gap: 12px;
}
.legal-block h2 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--black);
}
.legal-block h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--black);
  margin-top: 6px;
}
.legal-content ul,
.legal-content ol {
  padding-left: 1.2rem;
  display: grid;
  gap: 8px;
}
.legal-address {
  white-space: pre-line;
}
.legal-note {
  padding-top: 6px;
}
@media (max-width: 980px) {
  .legal-wrap {
    padding-top: 40px;
    padding-bottom: 64px;
  }
}
@media (max-width: 600px) {
  .legal-intro,
  .legal-content p,
  .legal-content li,
  .legal-address,
  .legal-note {
    font-size: 0.95rem;
    line-height: 1.72;
  }
  .legal-block {
    gap: 10px;
  }
}


/* Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: none;
}
.cookie-banner.is-visible {
  display: block;
}
.cookie-card {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 28px;
  background: rgba(245, 244, 239, 0.9);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  backdrop-filter: blur(24px) saturate(135%);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.12);
}
.cookie-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}
.cookie-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.cookie-kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}
.cookie-title {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 10px;
}
.cookie-text {
  max-width: 760px;
  font-size: 0.97rem;
  line-height: 1.72;
  color: var(--muted);
}
.cookie-text a {
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  appearance: none;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  border-radius: 999px;
  min-height: 48px;
  padding: 0 20px;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cookie-btn:hover {
  transform: translateY(-1px);
}
.cookie-btn.primary {
  background: var(--black);
  color: var(--bg);
}
.cookie-btn.ghost {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.35);
}
.cookie-panel {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.cookie-panel.is-open {
  display: block;
}
.cookie-options {
  display: grid;
  gap: 12px;
}
.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.38);
}
.cookie-option-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 4px;
}
.cookie-option-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}
.cookie-required-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.cookie-toggle {
  appearance: none;
  width: 54px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  border: 0;
}
.cookie-toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease;
}
.cookie-toggle:checked {
  background: var(--black);
}
.cookie-toggle:checked::after {
  transform: translateX(22px);
}
.cookie-toggle:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}
.cookie-panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}
@media (max-width: 980px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .cookie-card {
    padding: 20px 20px 18px;
    border-radius: 24px;
  }
  .cookie-top {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }
  .cookie-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-card {
    padding: 18px 16px 16px;
    border-radius: 22px;
  }
  .cookie-kicker {
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.72rem;
  }
  .cookie-kicker::before {
    width: 28px;
  }
  .cookie-title {
    font-size: 1.03rem;
  }
  .cookie-text {
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .cookie-actions,
  .cookie-panel-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cookie-btn {
    width: 100%;
  }
  .cookie-option {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .cookie-option-control {
    justify-self: start;
  }
}


@media (min-width: 981px) {
  .cookie-card {
    width: min(100%, 860px);
    padding: 18px 20px;
    border-radius: 24px;
  }
  .cookie-top {
    gap: 18px;
  }
  .cookie-text {
    max-width: 56ch;
    font-size: 0.94rem;
  }
  .cookie-btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }
  .cookie-panel {
    margin-top: 14px;
    padding-top: 14px;
  }
}
