/* ==========================================================================
   Lokale Schriften - frueher via Google Fonts geladen, jetzt aus /fonts/
   Identische woff2-Dateien und Angaben wie von Google ausgeliefert
   (Subsets: latin + latin-ext).
   ========================================================================== */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../../../fonts/fraunces-variable-normal-latin-ext.woff2') format('woff2');
  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: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../../../fonts/fraunces-variable-normal-latin.woff2') format('woff2');
  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: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../../../../fonts/fraunces-variable-normal-latin-ext.woff2') format('woff2');
  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: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../../../../fonts/fraunces-variable-normal-latin.woff2') format('woff2');
  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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/instrument-sans-variable-normal-latin-ext.woff2') format('woff2');
  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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/instrument-sans-variable-normal-latin.woff2') format('woff2');
  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: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/instrument-sans-variable-normal-latin-ext.woff2') format('woff2');
  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: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/instrument-sans-variable-normal-latin.woff2') format('woff2');
  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: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/instrument-sans-variable-normal-latin-ext.woff2') format('woff2');
  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: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/instrument-sans-variable-normal-latin.woff2') format('woff2');
  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: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/instrument-sans-variable-normal-latin-ext.woff2') format('woff2');
  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: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../../../fonts/instrument-sans-variable-normal-latin.woff2') format('woff2');
  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;
}

/* ==========================================================================
   Zahnarztpraxis Klarblick - Demo-Website von Meiers Seiten
   Farbwelt: warmes Porzellan + Gold (bewusst beibehalten)
   Aufbau: 1 Tokens - 2 Basis - 3 Layout - 4 Komponenten - 5 Sektionen
           6 Formulare - 7 Bewegung - 8 Responsive
   ========================================================================== */

/* ---------- 1 Tokens ------------------------------------------------------ */
:root {
  /* Farben */
  --ink: #17232f;
  --ink-deep: #101b25;
  --ink-soft: #46536a;
  --muted: #5b6370; /* AA-tauglich auch auf dem dunkelsten hellen Grund (4.7:1) */
  --porcelain: #f4efe4;
  --porcelain-deep: #ebe3d2;
  --surface: #fffdf7;
  --line: #e3d8c1;
  --line-soft: #efe7d6;

  --gold: #a9793d;
  --gold-deep: #8a6230; /* AA-tauglich auf hellem Grund (5.3:1) */
  --gold-darker: #6f4e26;
  --gold-light: #cfa568;
  --gold-soft: #f3e6cd;
  --clay: #9f5843; /* traegt Text (Pflichtfeld-Stern), daher AA-tauglich (4.6:1) */
  --clay-soft: #f0dcd4;

  /* Radien */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;

  /* Abstände (4/8-Raster) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  /* Schatten */
  --sh-xs: 0 1px 2px rgba(23, 35, 47, 0.05);
  --sh-sm: 0 4px 14px rgba(23, 35, 47, 0.07);
  --sh-md: 0 14px 34px rgba(23, 35, 47, 0.1);
  --sh-lg: 0 28px 60px rgba(23, 35, 47, 0.16);

  /* Bewegung */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 160ms;
  --t-base: 240ms;

  /* Ebenen */
  --z-header: 60;
  --z-nav: 70;
  --z-top: 90;

  --header-h: 74px;
}

/* ---------- 2 Basis ------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  /* Ohne diese Angabe faerbt der Browser im System-Dunkelmodus Formularfelder
     und Rollbalken dunkel - auf dem hellen Porzellangrund sieht das kaputt aus. */
  color-scheme: light;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--surface);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-deep);
  text-decoration-color: rgba(138, 98, 48, 0.35);
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: var(--gold-darker);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--s-3);
  color: var(--ink);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.9rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
  line-height: 1.3;
}

h4 {
  font-size: 1.02rem;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

p {
  margin: 0 0 var(--s-4);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

ul,
ol {
  margin: 0 0 var(--s-4);
  padding-left: 1.25rem;
}

li {
  margin-bottom: var(--s-2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-4);
  z-index: var(--z-top);
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--surface);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--t-base) var(--ease);
}

.skip-link:focus {
  top: 0;
  color: var(--surface);
}

/* ---------- 3 Layout ------------------------------------------------------ */
.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-narrow {
  width: min(760px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.section-tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-porcelain {
  background: var(--porcelain);
}

.section-gradient {
  background: linear-gradient(180deg, var(--surface) 0%, var(--porcelain) 100%);
}

.section-ink {
  background: var(--ink-deep);
  color: rgba(255, 253, 247, 0.78);
}

.section-ink h2,
.section-ink h3 {
  color: var(--surface);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head.is-center {
  margin-inline: auto;
  text-align: center;
}

/* Die Kopfzeile ist kein Fliesstext - sonst gewinnt --muted gegen --gold-deep */
.section-head p:not(.eyebrow) {
  font-size: 1.06rem;
  color: var(--muted);
}

.section-ink .section-head p:not(.eyebrow) {
  color: rgba(255, 253, 247, 0.72);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 var(--s-3);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.is-center .eyebrow {
  justify-content: center;
}

.section-ink .eyebrow {
  color: var(--gold-light);
}

.section-ink .eyebrow::before {
  background: var(--gold-light);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.small {
  font-size: 0.88rem;
  color: var(--muted);
}

.small.is-note {
  margin-top: var(--s-5);
  text-align: center;
}

/* ---------- 4 Komponenten ------------------------------------------------- */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-full);
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--gold-deep);
  color: var(--surface);
  box-shadow: 0 8px 20px rgba(138, 98, 48, 0.25);
}

.btn-primary:hover {
  background: var(--gold-darker);
  color: var(--surface);
  box-shadow: 0 12px 26px rgba(138, 98, 48, 0.32);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-light);
  color: var(--ink);
}

.btn-light {
  background: var(--surface);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 253, 247, 0.35);
  color: var(--surface);
}

.btn-ghost-light:hover {
  background: rgba(255, 253, 247, 0.12);
  border-color: rgba(255, 253, 247, 0.6);
  color: var(--surface);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--gold-deep);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast) var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Icon-Plakette */
.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--s-4);
  border-radius: var(--r-md);
  background: var(--gold-soft);
  color: var(--gold-deep);
}

.icon-badge svg {
  width: 25px;
  height: 25px;
}

.icon-badge-dark {
  background: rgba(207, 165, 104, 0.16);
  color: var(--gold-light);
}

/* Pill / Marke */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.8rem;
  border-radius: var(--r-full);
  background: var(--gold-soft);
  color: var(--gold-darker);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Karten-Grundform */
.card {
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
}

.grid {
  display: grid;
  gap: var(--s-4);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Checkliste */
.check-list {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--s-3);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6230' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

/* ---------- Kopfbereich --------------------------------------------------- */
.topbar {
  background: var(--ink-deep);
  color: rgba(255, 253, 247, 0.72);
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 40px;
  padding-block: 0.35rem;
}

.topbar-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.topbar-list svg {
  width: 15px;
  height: 15px;
  color: var(--gold-light);
  flex: none;
}

.topbar a {
  color: inherit;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--surface);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--sh-sm);
  background: rgba(255, 253, 247, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--gold-light), var(--gold-deep));
  color: var(--surface);
  box-shadow: 0 6px 14px rgba(138, 98, 48, 0.28);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.main-nav a:not(.btn) {
  position: relative;
  padding-block: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}

.main-nav a:not(.btn):hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
}

.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ---------- 5 Sektionen --------------------------------------------------- */
/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(86vh, 780px);
  padding-block: clamp(4rem, 12vw, 7rem) clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgba(16, 27, 37, 0.9) 0%,
      rgba(16, 27, 37, 0.74) 42%,
      rgba(16, 27, 37, 0.3) 72%,
      rgba(16, 27, 37, 0.15) 100%
    ),
    linear-gradient(to top, rgba(16, 27, 37, 0.75) 0%, rgba(16, 27, 37, 0) 45%);
}

.hero-content {
  max-width: 40rem;
  color: rgba(255, 253, 247, 0.86);
}

.hero-content h1 {
  color: var(--surface);
  margin-bottom: var(--s-4);
}

.hero-content .eyebrow {
  color: var(--gold-light);
}

.hero-content .eyebrow::before {
  background: var(--gold-light);
}

.hero-text {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.65;
  margin-bottom: var(--s-5);
  max-width: 34rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 253, 247, 0.18);
  font-size: 0.88rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-proof svg {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
  flex: none;
}

/* Quickbar - überlappende Info-Kacheln */
.quickbar {
  position: relative;
  z-index: 5;
  margin-top: -3.75rem;
}

.quickbar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.quick-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: background-color var(--t-base) var(--ease);
}

.quick-item:hover {
  background: var(--gold-soft);
  color: inherit;
}

.quick-item-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--gold-soft);
  color: var(--gold-deep);
}

.quick-item:hover .quick-item-icon {
  background: var(--surface);
}

.quick-item-icon svg {
  width: 22px;
  height: 22px;
}

.quick-item h3 {
  margin-bottom: 0.15rem;
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
}

.quick-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.quick-item strong {
  display: block;
  font-size: 1.02rem;
  color: var(--ink);
}

.quick-urgent {
  background: var(--ink);
  color: rgba(255, 253, 247, 0.75);
}

.quick-urgent h3,
.quick-urgent strong {
  color: var(--surface);
}

.quick-urgent p {
  color: rgba(255, 253, 247, 0.72);
}

.quick-urgent .quick-item-icon {
  background: rgba(207, 165, 104, 0.18);
  color: var(--gold-light);
}

.quick-urgent:hover {
  background: #1c2b39;
  color: rgba(255, 253, 247, 0.85);
}

.quick-urgent:hover .quick-item-icon {
  background: rgba(207, 165, 104, 0.28);
}

/* Werte-Karten */
.value-card {
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: var(--sh-md);
}

.value-card h3 {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0;
}

.value-card p {
  font-size: 0.94rem;
  color: var(--muted);
}

/* Split-Sektion (Bild + Text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-reverse .split-media {
  order: 2;
}

/* Formularspalte darf breiter sein als die Infospalte */
.split-form {
  grid-template-columns: 1.3fr 1fr;
  align-items: start;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}

.split-media-stack img:first-child {
  aspect-ratio: 4 / 3.2;
}

.split-badge {
  position: absolute;
  right: -1rem;
  bottom: -1.5rem;
  max-width: 15rem;
  padding: var(--s-4) var(--s-5);
  background: var(--ink);
  color: rgba(255, 253, 247, 0.75);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
}

.split-badge strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.split-badge span {
  font-size: 0.85rem;
}

/* Leistungskarten mit Foto */
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-light);
  box-shadow: var(--sh-md);
  color: inherit;
}

.service-card-media {
  position: relative;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.service-card:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-tag {
  position: absolute;
  left: var(--s-3);
  top: var(--s-3);
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-full);
  background: rgba(255, 253, 247, 0.94);
  color: var(--gold-darker);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--s-5);
}

.service-card-body h3 {
  margin-bottom: var(--s-2);
}

.service-card-body p {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: var(--s-4);
}

.service-card-body .link-arrow {
  margin-top: auto;
  font-size: 0.9rem;
}

/* Ablauf / Schritte */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

.step {
  position: relative;
  padding-top: var(--s-6);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-light);
  opacity: 0.55;
}

.step::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 3.4rem;
  right: -1rem;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--gold-light) 0 6px,
    transparent 6px 12px
  );
}

.step:last-child::after {
  display: none;
}

.step h3 {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: var(--s-2);
}

.step p {
  font-size: 0.93rem;
  color: var(--muted);
}

.section-ink .step p {
  color: rgba(255, 253, 247, 0.68);
}

.section-ink .step::before {
  color: var(--gold-light);
  opacity: 0.7;
}

/* Kennzahlen */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--s-2);
}

.section-porcelain .stat strong,
.section-gradient .stat strong {
  color: var(--gold-deep);
}

.stat span {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* Team */
.team-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: center 20%;
  background: var(--porcelain-deep);
}

.team-card-body {
  padding: var(--s-5);
}

.team-card-body h3 {
  margin-bottom: 0.1rem;
}

.team-role {
  margin-bottom: var(--s-3);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.team-bio {
  font-size: 0.94rem;
  color: var(--muted);
}

.team-focus {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-soft);
  font-size: 0.88rem;
  color: var(--muted);
}

/* Zitate */
.quote-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
}

.quote-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--s-4);
  color: var(--gold);
}

.quote-stars svg {
  width: 17px;
  height: 17px;
}

.quote-card blockquote {
  margin: 0 0 var(--s-5);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--ink);
}

.quote-author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: auto;
}

.quote-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-darker);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.quote-author-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.3;
}

.quote-author-meta {
  font-size: 0.83rem;
  color: var(--muted);
}

/* FAQ */
.faq {
  display: grid;
  gap: var(--s-3);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.faq-item[open] {
  border-color: var(--gold-light);
  box-shadow: var(--sh-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  min-height: 56px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--gold-deep);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 var(--s-5) var(--s-5);
  font-size: 0.96rem;
  color: var(--muted);
}

/* CTA-Banner */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  color: rgba(255, 253, 247, 0.78);
}

.cta::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 121, 61, 0.32) 0%, rgba(169, 121, 61, 0) 68%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.cta h2 {
  color: var(--surface);
  margin-bottom: var(--s-3);
}

.cta p {
  max-width: 34rem;
  margin: 0;
}

/* Seiten-Hero (Unterseiten) */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(160deg, var(--porcelain) 0%, var(--surface) 60%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -6rem;
  top: -10rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 165, 104, 0.2) 0%, rgba(207, 165, 104, 0) 70%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  max-width: 44rem;
}

.page-hero p {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 var(--s-4);
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold-deep);
}

/* Sprungmarken-Leiste */
.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.jump-nav a:hover {
  background: var(--gold-soft);
  border-color: var(--gold-light);
  color: var(--ink);
}

/* Detail-Blöcke Leistungen */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-soft);
}

.detail:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.detail:nth-child(even) .detail-media {
  order: 2;
}

.detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.detail-body h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.tag {
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: var(--surface);
}

/* Info-Kachel / Öffnungszeiten */
.info-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.contact-lines {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
}

.contact-lines li {
  display: flex;
  gap: var(--s-4);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}

.contact-lines li:last-child {
  border-bottom: 0;
}

.contact-lines svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.3rem;
  color: var(--gold-deep);
}

.contact-lines .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-lines a {
  font-weight: 600;
  text-decoration: none;
}

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: 0.6rem;
  border-bottom: 1px dashed var(--line);
  margin: 0;
  font-size: 0.95rem;
}

.hours li:last-child {
  border-bottom: 0;
}

.hours li span:last-child {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hours li.is-closed span:last-child {
  color: var(--muted);
  font-weight: 500;
}

/* Anfahrt */
.route-card {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

a.route-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--sh-sm);
  color: inherit;
}

.route-card svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--gold-deep);
  margin-top: 0.2rem;
}

.route-card h3 {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: var(--s-1);
}

.route-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.map-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-5);
  padding: var(--s-5);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
}

.map-hint h3 {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0;
  margin-bottom: var(--s-1);
}

.map-hint p {
  max-width: 34rem;
  margin: 0;
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
}

.gallery-tall img {
  aspect-ratio: 3 / 4;
}

/* ---------- 6 Formulare --------------------------------------------------- */
.form-note {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  margin-bottom: var(--s-5);
  background: var(--gold-soft);
  border-radius: var(--r-md);
  font-size: 0.88rem;
  color: var(--gold-darker);
}

.form-note svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.15rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.req {
  color: var(--clay);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  caret-color: var(--gold-deep);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346536a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 18px;
  padding-right: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169, 121, 61, 0.18);
}

.field .hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.checkbox input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--gold-deep);
  flex: none;
}

/* Gleiche Bauweise wie .form-note, nur mit der Haarlinie, die in dieser
   Farbwelt sonst den offenen FAQ-Eintrag markiert. */
.form-status {
  margin: var(--s-4) 0 0;
  padding: var(--s-4);
  background: var(--gold-soft);
  border: 1px solid var(--gold-light);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  color: var(--gold-darker);
}

.form-status[hidden] {
  display: none;
}

/* ---------- 7 Bewegung ---------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Fußbereich ---------------------------------------------------- */
.site-footer {
  background: var(--ink-deep);
  color: rgba(255, 253, 247, 0.66);
  font-size: 0.93rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--s-6);
  padding-block: clamp(3rem, 6vw, 4.5rem) var(--s-7);
}

.site-footer h4 {
  margin-bottom: var(--s-4);
  color: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer .logo {
  color: var(--surface);
  margin-bottom: var(--s-4);
}

.site-footer .logo-sub {
  color: rgba(255, 253, 247, 0.5);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: var(--s-2);
}

.site-footer a {
  color: rgba(255, 253, 247, 0.72);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-block: var(--s-4);
  border-top: 1px solid rgba(255, 253, 247, 0.12);
  font-size: 0.84rem;
  color: rgba(255, 253, 247, 0.5);
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}

.demo-note {
  padding-block: var(--s-4);
  border-top: 1px solid rgba(255, 253, 247, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 253, 247, 0.58);
}

.demo-note p {
  margin: 0;
}

/* ---------- 8 Responsive -------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-6) var(--s-5);
  }

  .step:nth-child(2)::after {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .quickbar-grid {
    grid-template-columns: 1fr;
  }

  .quickbar {
    margin-top: -2.5rem;
  }

  .split,
  .detail {
    grid-template-columns: 1fr;
  }

  .split-reverse .split-media,
  .detail:nth-child(even) .detail-media {
    order: 0;
  }

  .split-badge {
    right: var(--s-4);
    bottom: -1rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .topbar-inner {
    justify-content: center;
  }

  /* Auf schmalen Geräten nur Adresse und Telefon zeigen */
  .topbar-list li.topbar-secondary {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* Panel hängt am Header, nicht am Viewport - damit es nie darunterrutscht */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    padding: var(--s-4) 1.25rem calc(var(--s-6) + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--line-soft);
    box-shadow: var(--sh-md);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease),
      visibility var(--t-base);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav a:not(.btn) {
    padding: 1rem 0.25rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .main-nav a:not(.btn)::after {
    display: none;
  }

  .main-nav a[aria-current="page"] {
    color: var(--gold-deep);
  }

  .main-nav .btn {
    margin-top: var(--s-5);
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-block: clamp(3.5rem, 14vw, 5rem) clamp(3rem, 10vw, 4rem);
  }

  .hero::after {
    background: linear-gradient(
      to bottom,
      rgba(16, 27, 37, 0.72) 0%,
      rgba(16, 27, 37, 0.82) 55%,
      rgba(16, 27, 37, 0.92) 100%
    );
  }

  .split-media img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 66px;
  }

  .container,
  .container-narrow {
    width: calc(100% - 2rem);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .form-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-6) var(--s-4);
  }

  .step::after {
    display: none;
  }

  .step {
    padding-top: var(--s-5);
  }

  .step::before {
    font-size: 2rem;
  }

  .split-badge {
    position: static;
    max-width: none;
    margin-top: var(--s-4);
  }

  .topbar-list {
    gap: var(--s-4);
    justify-content: center;
    font-size: 0.78rem;
  }

  .logo-name {
    font-size: 1.15rem;
  }

  .btn-row .btn {
    width: 100%;
  }

  .hero-proof {
    gap: var(--s-2) var(--s-4);
  }
}

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Druck */
@media print {
  .topbar,
  .site-header,
  .cta,
  .nav-toggle {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* Rechtliche Links zur Hauptseite (Demo-Hinweis) */
.demo-note-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.6rem;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

.demo-note-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-note-links a:hover,
.demo-note-links a:focus-visible {
  text-decoration-thickness: 2px;
}
