/* ==========================================================================
   HandwerkVisuals — Design Tokens
   ========================================================================== */
:root {
  --ink: #303030;
  --ink-soft: #5c5c5a;
  --paper: #f7f4ec;
  --paper-2: #ffffff;
  --stone: #ece6d6;
  --line: #ddd4bb;
  --line-soft: #e7e0cb;
  --yellow: #fad02c;
  --yellow-dark: #e2ba13;
  --steel: #46565c;
  --steel-soft: #dee4e3;

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Public Sans", "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

body.menu-lock { overflow: hidden; }

/* ==========================================================================
   Promo banner
   ========================================================================== */
.promo-bar {
  background: #b3241c;
  color: #fff8f2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  padding: 11px 44px 11px 16px;
  position: relative;
}
.promo-bar strong { color: #ffe6b3; }
.promo-bar a {
  text-decoration: underline;
  text-decoration-color: rgba(255,248,242,0.6);
  text-underline-offset: 2px;
  white-space: nowrap;
}
.promo-bar a:hover { text-decoration-color: #fff8f2; }
.promo-bar .fill-placeholder-inline {
  background: rgba(255,248,242,0.22);
  padding: 0.05em 0.4em;
  border-radius: 4px;
}
.promo-close {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(255,248,242,0.16);
  color: #fff8f2;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.promo-close:hover { background: rgba(255,248,242,0.3); }
.promo-bar.is-hidden { display: none; }

/* ==========================================================================
   Sale price display (strikethrough previous price + new price)
   ========================================================================== */
.price-sale { display: flex; align-items: baseline; gap: 0.5em; flex-wrap: wrap; }
.price-sale .was {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(247,244,236,0.45);
  text-decoration: line-through;
  text-decoration-color: #e2574a;
  text-decoration-thickness: 2px;
}
.price-sale .now { color: inherit; }
.sale-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #b3241c;
  color: #fff8f2;
  padding: 0.3em 0.7em;
  border-radius: 100px;
  margin-left: 0.6em;
  vertical-align: middle;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3vw + 1rem, 2.9rem); font-weight: 600; }
h3 { font-size: 1.28rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }

/* Inline text links (prose, legal pages, contact details): yellow underline */
.legal-content a,
.contact-list a,
.faq-a a,
.problem-card a,
.about-card a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s var(--ease), color 0.25s var(--ease);
}
.legal-content a:hover,
.contact-list a:hover,
.faq-a a:hover {
  text-decoration-color: var(--ink);
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.1em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--yellow);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85em 1.5em;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.45s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-primary .arrow {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(48,48,48,0.14);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease);
}
.btn-primary:hover .arrow { transform: translate(2px, -2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-small {
  padding: 0.6em 1.1em;
  font-size: 0.86rem;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  padding: 16px 20px;
}
.nav-pill {
  max-width: var(--container);
  margin: 0 auto;
  background: rgba(251, 248, 242, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 12px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.logo img {
  height: 32px;
  width: auto;
  display: block;
}
.logo-on-dark {
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 10px;
}
.logo-on-dark img { height: 30px; }

.nav-desktop { display: contents; }
@media (max-width: 859px) { .nav-desktop { display: none; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--yellow);
  transition: right 0.35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.nav-cta { display: none; }
@media (min-width: 860px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease);
}
@media (min-width: 860px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 18px; height: 18px; overflow: visible; }
.nav-toggle svg line {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.is-open svg line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open svg line:nth-child(2) { opacity: 0; }
.nav-toggle.is-open svg line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle.menu-open-toggle { border-color: var(--ink); }

/* ==========================================================================
   Mobile menu overlay
   Deliberately NOT nested inside .site-header: a position:sticky (or fixed/
   relative/absolute/transform) ancestor becomes the containing block for
   position:fixed descendants, which would trap this overlay inside the
   header's own small box instead of covering the full viewport. Keeping it
   as a sibling of <header> avoids that trap entirely.
   ========================================================================== */
.mobile-menu {
  display: none;
}
@media (max-width: 859px) {
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--steel);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-menu-links {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 32px;
    overflow-y: auto;
  }
  .mobile-menu-links a:not(.btn) {
    position: relative;
    text-decoration: none;
    color: var(--paper);
    font-size: 1.4rem;
    font-family: var(--font-display);
    font-weight: 600;
    padding-bottom: 3px;
  }
  .mobile-menu-links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--yellow);
    transition: right 0.35s var(--ease);
  }
  .mobile-menu-links a:not(.btn):hover::after,
  .mobile-menu-links a:not(.btn):focus-visible::after { right: 0; }
  .mobile-menu-links .btn { font-size: 1rem; margin-top: 8px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 64px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: 0.45em; }
.hero .lede { font-size: 1.14rem; max-width: 46ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 1.6em 0 1.8em;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.trust-row span { display: inline-flex; align-items: center; gap: 0.5em; }
.trust-row span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--steel);
  flex-shrink: 0;
}

/* Blueprint / survey illustration */
.blueprint {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--steel);
  overflow: hidden;
  border: 1px solid var(--steel);
}
.blueprint svg { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   Section shells
   ========================================================================== */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--stone); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-ink { background: var(--steel); color: var(--paper); }
.section-ink p { color: rgba(247,244,236,0.72); }
.section-ink .eyebrow { color: rgba(247,244,236,0.7); }
.section-ink .eyebrow::before { background: var(--yellow); }

.section-head { max-width: 62ch; margin-bottom: 3rem; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Problem cards
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.problem-card .num {
  font-family: var(--font-mono);
  color: var(--steel);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 1em;
}
.problem-card h3 { margin-bottom: 0.5em; }
.problem-card p { margin: 0; font-size: 0.96rem; }

/* ==========================================================================
   Services (double-bezel cards)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

.service-shell {
  background: rgba(48,48,48,0.04);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 8px;
}
.service-core {
  background: var(--paper-2);
  border-radius: calc(var(--radius-lg) - 6px);
  padding: 32px 26px;
  height: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--steel-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3em;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--steel); }
.service-core h3 { margin-bottom: 0.5em; }
.service-core ul { margin: 1em 0 0; padding: 0; list-style: none; }
.service-core li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 0.55em;
}
.service-core li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--yellow);
  border-radius: 50%;
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
@media (max-width: 860px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-card {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(48,48,48,0.35);
}
.portfolio-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: var(--steel);
}
.portfolio-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.portfolio-card:hover .portfolio-media img { transform: scale(1.04); }
.portfolio-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(48,48,48,0.75);
  color: var(--paper);
  padding: 0.4em 0.8em;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.portfolio-body { padding: 24px 26px 26px; }
.portfolio-body h3 { margin-bottom: 0.3em; display: flex; align-items: center; gap: 0.5em; }
.portfolio-body .go {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--steel-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.4s var(--ease);
}
.portfolio-card:hover .go { transform: translate(2px, -2px); }
.portfolio-body p { font-size: 0.94rem; margin-bottom: 0; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-shell {
  background: rgba(48,48,48,0.04);
  border-radius: var(--radius-lg);
  padding: 8px;
}
.price-core {
  background: var(--steel);
  color: var(--paper);
  border-radius: calc(var(--radius-lg) - 6px);
  padding: 40px 36px;
  height: 100%;
}
.price-core .price-tag {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.2em 0 0.1em;
}
.price-tag small { font-size: 1.1rem; font-weight: 500; color: var(--yellow); }
.price-core .label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); }
.price-core p { color: rgba(247,244,236,0.72); }
.price-core ul { list-style: none; padding: 0; margin: 1.6em 0 2em; }
.price-core li {
  padding-left: 1.5em;
  position: relative;
  margin-bottom: 0.75em;
  font-size: 0.95rem;
}
.price-core li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--yellow);
  font-weight: 700;
}

.price-shell.secondary .price-core {
  background: var(--paper-2);
  color: var(--ink);
}
.price-shell.secondary .price-core p { color: var(--ink-soft); }
.price-shell.secondary .price-core .label,
.price-shell.secondary .price-tag small { color: var(--steel); }
.price-shell.secondary li::before { color: var(--steel); }

.price-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 20px;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.process-item .step-num {
  font-family: var(--font-mono);
  color: var(--steel);
  font-size: 0.95rem;
}
.process-item h3 { margin-bottom: 0.25em; }
.process-item p { margin: 0; max-width: 60ch; }
@media (max-width: 600px) {
  .process-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-coords {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(247,244,236,0.55);
  letter-spacing: 0.05em;
  margin-top: 1.4em;
}
.about-card {
  background: rgba(247,244,236,0.07);
  border: 1px solid rgba(247,244,236,0.16);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.about-card ul { list-style: none; padding: 0; margin: 0; }
.about-card li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(247,244,236,0.14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.95rem;
}
.about-card li:last-child { border-bottom: none; }
.about-card li span:first-child { color: rgba(247,244,236,0.55); }

.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(247,244,236,0.16);
  aspect-ratio: 4 / 3;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
}
.about-photo .tag {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(48,48,48,0.6);
  color: var(--paper);
  padding: 0.4em 0.8em;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-q .plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
}
.faq-q .plus::before { width: 10px; height: 1.4px; transform: translate(-50%, -50%); }
.faq-q .plus::after { width: 1.4px; height: 10px; transform: translate(-50%, -50%); transition: opacity 0.3s var(--ease); }
.faq-item.open .plus { transform: rotate(45deg); border-color: var(--yellow-dark); background: var(--yellow); }
.faq-item.open .plus::before, .faq-item.open .plus::after { background: var(--ink); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a p { padding-bottom: 22px; margin: 0; max-width: 68ch; }
.faq-item.open .faq-a { max-height: 300px; }

/* ==========================================================================
   Contact / CTA
   ========================================================================== */
.cta-panel {
  background: var(--steel);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; padding: 40px 26px; } }
.cta-panel p { color: rgba(247,244,236,0.72); }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(247,244,236,0.16);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list .k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 0.35em;
}
.contact-list a {
  color: var(--paper);
  text-decoration-color: var(--yellow);
  font-size: 1.05rem;
  font-weight: 600;
}
.contact-list a:hover { color: var(--yellow); text-decoration-color: var(--yellow); }
.fill-placeholder {
  background: rgba(247,244,236,0.14);
  color: var(--paper) !important;
  text-decoration: none !important;
  padding: 0.05em 0.4em;
  border-radius: 4px;
}

/* ==========================================================================
   Map / Anfahrt (cookie-gated)
   ========================================================================== */
.map-block {
  margin-top: 60px;
}
.map-frame {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--stone);
}
.map-frame iframe {
  width: 100%; height: 100%; border: 0; display: block;
}
.map-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 20px;
  background:
    linear-gradient(rgba(70,86,92,0.9), rgba(70,86,92,0.9)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px);
  color: var(--paper);
}
.map-placeholder p {
  color: rgba(247,244,236,0.75);
  max-width: 46ch;
  margin: 0;
  font-size: 0.92rem;
}
.map-placeholder .map-pin {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-weight: 700;
}

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 100;
  max-width: 620px;
  margin: 0 auto;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  box-shadow: 0 30px 60px -20px rgba(48,48,48,0.35);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner h3 { font-size: 1.05rem; margin-bottom: 0.5em; }
.cookie-banner p { font-size: 0.88rem; margin-bottom: 1em; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-settings {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.cookie-settings.open { display: block; }
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.cookie-toggle-row + .cookie-toggle-row { border-top: 1px solid var(--line-soft); }
.cookie-toggle-row strong { display: block; font-size: 0.9rem; }
.cookie-toggle-row span.desc { font-size: 0.8rem; color: var(--ink-soft); }

.switch {
  position: relative;
  width: 42px; height: 24px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute; inset: 0;
  background: var(--line);
  border-radius: 100px;
  transition: background 0.3s var(--ease);
  cursor: pointer;
}
.switch .track::before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
}
.switch input:checked + .track { background: var(--yellow); }
.switch input:checked + .track::before { transform: translateX(18px); }
.switch input:disabled + .track { background: var(--steel); opacity: 0.6; cursor: not-allowed; }

.cookie-settings-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  cursor: pointer;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 56px 0 34px;
  background: var(--ink);
  color: var(--paper);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(247,244,236,0.15);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0; margin: 0;
}
.footer-nav a { text-decoration: none; font-size: 0.9rem; color: rgba(247,244,236,0.75); }
.footer-nav a:hover { color: var(--yellow); }
.footer-nav button.footer-nav-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none; font-size: 0.9rem; color: rgba(247,244,236,0.75);
  padding: 0;
}
.footer-nav button.footer-nav-btn:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(247,244,236,0.55);
}

/* ==========================================================================
   Legal pages (Impressum / Datenschutz)
   ========================================================================== */
.legal-hero { padding: 56px 0 20px; }
.legal-content {
  padding-top: 20px;
  padding-bottom: 90px;
  max-width: 780px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.legal-content a { overflow-wrap: break-word; word-break: break-word; }
.legal-content h2 { font-size: 1.35rem; margin-top: 2em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.fill {
  background: rgba(250,208,44,0.28);
  color: #6b5a08;
  padding: 0.05em 0.4em;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}
.back-link:hover { color: var(--ink); }
