:root {
  --black: #111111;
  --white: #ffffff;
  --gold: #f5b400;
  --gray-100: #f7f7f7;
  --gray-200: #ececec;
  --gray-400: #888888;
  --gray-600: #555555;
  --font-display: "Satoshi", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(17, 17, 17, 0.06);
  --shadow-hover: 0 12px 40px rgba(17, 17, 17, 0.12);
  --header-h: 80px;
  --header-h-scrolled: 64px;
  --topbar-h: 38px;
  --site-top-offset: calc(var(--topbar-h) + var(--header-h));
  --site-top-offset-scrolled: calc(var(--topbar-h) + var(--header-h-scrolled));
  --layout-max: 1280px;
  --layout-inline: max(24px, calc((100vw - min(var(--layout-max), 100vw - 48px)) / 2));
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Typografie-Skala */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: clamp(1.5rem, 2.5vw, 2rem);
  --text-3xl: clamp(2rem, 3.8vw, 3rem);
  --leading-body: 1.6;
  --leading-snug: 1.45;
  --leading-tight: 1.25;
  --tracking-label: 0.12em;
  --tracking-ui: 0.06em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
footer[id],
.examples__head[id],
.seo-content__head[id] {
  scroll-margin-top: calc(var(--site-top-offset) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  background: var(--white);
  color: var(--black);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--layout-max), calc(100% - 48px));
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Kontakt-Leiste oben */
.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--topbar-h);
  background: var(--black);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-sm);
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.site-topbar__text {
  margin: 0;
  line-height: 1.35;
}

.site-topbar a {
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

.site-topbar a:hover {
  color: var(--gold);
}

.site-topbar__sep {
  margin: 0 0.55em;
  opacity: 0.45;
}

/* Header – transparent, wird beim Scrollen kompakt */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: height 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: color-mix(in srgb, var(--gray-400) 35%, var(--gray-200));
  box-shadow: var(--shadow);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  justify-self: start;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 28px;
}

.btn--header {
  justify-self: end;
}

.logo__mark {
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  border-radius: 0;
  line-height: 1;
}

.logo--footer .logo__mark {
  color: var(--white);
}

.logo__text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
}

.logo__dot {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gray-400);
}

.logo--footer .logo__text {
  color: var(--white);
}

.logo--footer .logo__dot {
  color: rgba(255, 255, 255, 0.45);
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  color: var(--gray-600);
  transition: color 0.2s var(--ease);
}

.nav-chevron {
  font-size: var(--text-xs);
  opacity: 0.45;
  transform: translateY(1px);
}

.nav a:hover {
  color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--black);
  transition: transform 0.2s var(--ease);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 26px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn--sm {
  padding: 11px 20px;
  font-size: var(--text-xs);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--header {
  background: var(--black);
  color: var(--white);
  padding: 12px 24px;
  flex-shrink: 0;
}

.btn--header:hover {
  background: #222;
  box-shadow: var(--shadow);
}

.btn--primary {
  background: var(--black);
  color: var(--white);
}

.btn--primary:hover {
  background: #222;
  box-shadow: var(--shadow-hover);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
}

.btn--gold:hover {
  box-shadow: 0 8px 32px rgba(245, 180, 0, 0.35);
}

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 56px;
}

.site-footer__brand p {
  margin: 20px 0 0;
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 280px;
}

.site-footer__col h4 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer__col a,
.site-footer__col span {
  display: block;
  margin-bottom: 10px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.site-footer__col a:hover {
  color: var(--white);
}

.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-sm);
}

.site-footer__legal {
  display: flex;
  gap: 24px;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: var(--text-sm);
}

.site-footer__legal a:hover {
  color: var(--white);
}

.site-footer__bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__col--contact .btn--footer {
  margin-top: 16px;
}

.site-footer__bar-wrap {
  background: #0a0a0a;
}

@media (max-width: 960px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--site-top-offset);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }

  .site-header.is-scrolled ~ .nav.is-open,
  .nav.is-open {
    top: var(--site-top-offset-scrolled);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-toggle {
    display: flex;
  }

  .btn--header {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.page-legal {
  background: var(--white);
}

.legal-main {
  padding: calc(var(--site-top-offset) + 48px) 0 80px;
}

.legal-main > .container {
  display: flex;
  justify-content: flex-start;
}

.legal-content {
  width: 100%;
  max-width: 1180px;
  margin-right: auto;
  margin-left: 0;
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-100);
  box-sizing: border-box;
  text-align: left;
}

.legal-content h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
}

.legal-lead {
  margin: 0 0 32px;
  color: var(--gray-600);
  font-size: var(--text-base);
  text-align: left;
}

.legal-block {
  margin-bottom: 28px;
  text-align: left;
}

.legal-block h2 {
  margin: 0 0 10px;
  font-size: var(--text-lg);
  font-weight: 600;
  text-align: left;
}

.legal-block p {
  margin: 0;
  color: var(--gray-600);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  text-align: left;
}

.legal-block p + p {
  margin-top: 12px;
}

.legal-block a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-block ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--gray-600);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  text-align: left;
}

.legal-block li {
  margin-bottom: 6px;
}

.legal-block strong {
  color: var(--black);
  font-weight: 600;
}

.legal-back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  font-size: var(--text-sm);
  text-align: left;
}

@media (max-width: 700px) {
  .legal-content {
    padding: 24px 20px;
  }
}

.site-footer__hours {
  display: block;
  margin-top: 4px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__contact-name {
  display: block;
  margin-bottom: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 560px) {
  :root {
    --topbar-h: 34px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-topbar {
    font-size: var(--text-xs);
  }

  .site-topbar__sep,
  .site-topbar__hours {
    display: none;
  }
}
