@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --ink-950: #10141c;
  --ink-900: #1a2130;
  --ink-800: #232c3f;
  --ink-700: #333d54;
  --ink-600: #4a5570;
  --ink-500: #67728c;
  --ink-400: #8b93a8;
  --ink-300: #b3b9c8;
  --ink-200: #d9dce3;
  --ink-100: #ecedf1;
  --ink-50: #f6f6f8;
  --paper: #faf9f6;
  --accent: #c17f2b;
  --accent-dark: #9c631d;
  --accent-light: #e3a75c;
  --accent-soft: #f7ead3;

  --shadow-sm: 0 1px 2px rgba(16,20,28,.06), 0 1px 1px rgba(16,20,28,.05);
  --shadow-md: 0 6px 16px -4px rgba(16,20,28,.12), 0 2px 6px rgba(16,20,28,.06);
  --shadow-lg: 0 24px 48px -16px rgba(16,20,28,.28), 0 8px 20px rgba(16,20,28,.10);
  --shadow-xl: 0 36px 70px -20px rgba(16,20,28,.38);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --space-2xs: .5rem;
  --space-xs: .75rem;
  --space-sm: 1.25rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4.5rem;
  --space-2xl: 6.5rem;

  --section-pad-y: clamp(4rem, 8vw, 7.5rem);
  --section-pad-x: clamp(1.25rem, 6vw, 5rem);

  --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink-900); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: 1rem; }

.eyebrow-text {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: .8em;
}
.eyebrow-text.light { color: var(--accent-light); }
.section-tag {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: .7em;
}
.section-tag.light { color: var(--accent-light); }
.highlight-text { color: var(--accent-dark); position: relative; }
.highlight-text::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .18em;
  background: var(--accent-soft);
  z-index: -1;
}


.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: .95em 1.9em;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  min-height: 44px;
  white-space: nowrap;
}
.primary-action:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  background: transparent;
  color: var(--ink-900);
  font-weight: 700;
  padding: .9em 1.8em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink-300);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
  min-height: 44px;
}
.secondary-action:hover { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-soft); }


.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250,249,246,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-100);
  transition: transform .4s var(--ease), opacity .35s var(--ease);
}
.site-header.header-condensed { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand-mark { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-logo { width: 34px; height: 34px; }
.brand-name { font-weight: 800; font-size: 1.25rem; color: var(--ink-900); letter-spacing: -.01em; }
.nav-links { display: flex; gap: 1.9rem; margin-left: auto; }
.nav-links a {
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink-600);
  position: relative;
  padding: .3em 0;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink-900); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.header-cta { margin-left: .5rem; }
.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--ink-900);
  font-size: 1.2rem;
  background: var(--ink-100);
  transition: background .25s var(--ease);
}
.menu-toggle:hover { background: var(--ink-200); }

.mini-nav-pill {
  position: fixed;
  top: 1.2rem; right: 1.2rem;
  z-index: 210;
  opacity: 0;
  transform: translateY(-16px) scale(.85);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mini-nav-pill.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.mini-nav-pill button {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.mini-nav-pill button:hover { background: var(--accent-dark); transform: scale(1.06); }


.mobile-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.mobile-menu-panel.open { visibility: visible; opacity: 1; }
.mobile-menu-links {
  width: 55%;
  background: var(--ink-900);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  position: relative;
  transform: translateX(-30px);
  opacity: 0;
  transition: transform .45s var(--ease) .05s, opacity .45s var(--ease) .05s;
}
.mobile-menu-panel.open .mobile-menu-links { transform: translateX(0); opacity: 1; }
.mobile-menu-links a {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -.01em;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.mobile-menu-links a:hover { color: var(--accent-light); padding-left: .3rem; }
.mobile-menu-close {
  position: absolute;
  top: 1.6rem; left: clamp(1.5rem, 5vw, 4rem);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--paper);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease);
}
.mobile-menu-close:hover { background: rgba(255,255,255,.18); }
.mobile-menu-visual { width: 45%; position: relative; overflow: hidden; }
.mobile-menu-visual img { width: 100%; height: 100%; object-fit: cover; }
.mobile-menu-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(193,127,43,.35), rgba(16,20,28,.35));
}


.hero-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: var(--space-lg);
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--section-pad-x) var(--space-xl);
}
.hero-inner { max-width: 620px; }
.hero-heading { margin-bottom: .5em; }
.hero-lede { font-size: 1.12rem; color: var(--ink-600); max-width: 560px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.8rem 0 3rem; }
.hero-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
  position: relative;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.progress-steps {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-200);
}
.progress-step {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem .9rem .5rem .5rem;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  flex: 1 1 160px;
}
.progress-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.progress-label { font-weight: 700; font-size: .88rem; color: var(--ink-800); }


.trust-band { background: var(--ink-900); color: var(--ink-200); padding: var(--space-lg) var(--section-pad-x); }
.trust-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.trust-statement { font-size: 1.15rem; color: var(--ink-100); max-width: 820px; margin: 0 auto 1.6rem; }
.trust-marks { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.trust-marks span { font-weight: 700; font-size: .92rem; color: var(--accent-light); display: flex; align-items: center; gap: .5em; }


.cq-container { container-type: inline-size; }
.content-block {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--section-pad-y) var(--section-pad-x);
}
.content-block.reverse-layout { flex-direction: row-reverse; }
.content-text { flex: 1 1 420px; }
.content-text p { color: var(--ink-600); }
.content-visual { flex: 1 1 420px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; }
.content-visual img { width: 100%; height: 100%; object-fit: cover; }

@container (max-width: 700px) {
  .content-block { flex-direction: column; }
  .content-block.reverse-layout { flex-direction: column; }
}


.process-section { background: var(--ink-900); color: var(--ink-100); padding: var(--section-pad-y) var(--section-pad-x); }
.process-header { max-width: 720px; margin: 0 auto var(--space-lg); text-align: center; }
.process-header h2 { color: #fff; }
.process-lede { color: var(--ink-300); font-size: 1.05rem; }
.process-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.process-card {
  background: var(--ink-800);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.process-card:hover { transform: translateY(-6px); background: var(--ink-700); }
.process-number { font-size: .85rem; font-weight: 800; color: var(--accent-light); letter-spacing: .1em; }
.process-card h3 { color: #fff; margin-top: .5rem; }
.process-card p { color: var(--ink-300); margin-bottom: 0; font-size: .95rem; }


.highlight-band {
  padding: var(--space-xl) var(--section-pad-x);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.highlight-quote { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 600; color: var(--ink-900); line-height: 1.5; font-style: italic; }
.highlight-source { display: block; margin-top: 1.2rem; font-weight: 700; font-size: .85rem; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .08em; }


.info-grid-section { padding: var(--section-pad-y) var(--section-pad-x); max-width: 1280px; margin: 0 auto; }
.info-grid-section.alt-surface { background: var(--ink-50); border-radius: var(--radius-xl); }
.section-heading-block { max-width: 720px; margin-bottom: var(--space-lg); }
.section-heading-block.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading-block p { color: var(--ink-600); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.info-grid.four-up { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  container-type: inline-size;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.info-card-media { aspect-ratio: 16/10; overflow: hidden; }
.info-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.info-card:hover .info-card-media img { transform: scale(1.06); }
.info-card-body { padding: 1.9rem; }
.info-card.compact { padding: 1.9rem; }
.info-card-icon { font-size: 1.5rem; color: var(--accent); margin-bottom: .8rem; display: inline-block; }
.info-card p { color: var(--ink-600); font-size: .96rem; margin-bottom: 0; }

@container (min-width: 520px) {
  .info-card:not(.compact) .info-card-body { display: flex; flex-direction: column; }
}


.location-section { padding: var(--section-pad-y) var(--section-pad-x); max-width: 1280px; margin: 0 auto; }
.location-inner { display: flex; gap: var(--space-lg); flex-wrap: wrap; align-items: stretch; }
.location-text { flex: 1 1 380px; }
.location-text p { color: var(--ink-600); }
.contact-detail-list { margin: 1.6rem 0; display: flex; flex-direction: column; gap: .8rem; }
.contact-detail-list li { display: flex; align-items: center; gap: .8rem; font-weight: 600; color: var(--ink-800); }
.contact-detail-list i { color: var(--accent); width: 20px; }
.location-map { flex: 1 1 380px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 340px; }
.location-map iframe { width: 100%; height: 100%; min-height: 340px; }


.contact-preview-section { padding: var(--section-pad-y) var(--section-pad-x); max-width: 1280px; margin: 0 auto; }
.contact-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem; }
.contact-preview-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.contact-preview-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-preview-card i { font-size: 1.5rem; color: var(--accent); margin-bottom: .8rem; }
.contact-preview-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.contact-preview-card p { color: var(--ink-600); margin: 0; font-size: .95rem; }
.contact-preview-card a { color: var(--accent-dark); font-weight: 700; }


.cta-band {
  margin: 0 auto var(--space-2xl);
  max-width: 1280px;
  padding: var(--space-xl) var(--section-pad-x);
}
.cta-inner {
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(193,127,43,.35), transparent 70%);
  top: -100px; right: -80px;
}
.cta-inner h2 { color: #fff; position: relative; }
.cta-inner p { color: var(--ink-200); max-width: 560px; margin: 0 auto 1.8rem; position: relative; }
.cta-inner .primary-action { position: relative; }


.page-hero { max-width: 1280px; margin: 0 auto; padding: var(--space-2xl) var(--section-pad-x) var(--space-xl); display: flex; gap: var(--space-lg); align-items: center; flex-wrap: wrap; }
.page-hero-text { flex: 1 1 420px; max-width: 640px; }
.page-hero-text p { color: var(--ink-600); font-size: 1.08rem; }
.page-hero-visual { flex: 1 1 380px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.3; }
.page-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.dark-hero { background: var(--ink-900); border-radius: var(--radius-xl); margin-top: 2.5rem; color: var(--ink-100); }
.page-hero.dark-hero h1 { color: #fff; }
.page-hero.dark-hero .eyebrow-text.light { color: var(--accent-light); }
.page-hero.dark-hero p { color: var(--ink-300); }


.contact-grid-section { max-width: 1280px; margin: 0 auto; padding: var(--space-xl) var(--section-pad-x) var(--section-pad-y); display: flex; gap: var(--space-lg); flex-wrap: wrap; align-items: flex-start; }
.contact-form-block { flex: 1.2 1 420px; background: #fff; border-radius: var(--radius-lg); padding: 2.4rem; box-shadow: var(--shadow-md); }
.contact-info-block { flex: 1 1 340px; }
.form-field { margin-bottom: 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.form-field label { font-weight: 700; font-size: .92rem; color: var(--ink-800); }
.form-field input[type="text"], .form-field input[type="email"], .form-field textarea {
  padding: .85em 1em;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm);
  background: var(--ink-50);
  transition: border-color .25s var(--ease), background .25s var(--ease);
  min-height: 44px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.checkbox-field { flex-direction: row; align-items: flex-start; gap: .8rem; }
.checkbox-field input { width: 20px; height: 20px; margin-top: .2rem; flex-shrink: 0; accent-color: var(--accent); }
.checkbox-field label { font-weight: 400; font-size: .92rem; color: var(--ink-600); }
.checkbox-field a { color: var(--accent-dark); font-weight: 700; }
.form-submit { width: 100%; margin-top: .5rem; }
.form-note { margin-top: 1rem; font-size: .88rem; color: var(--accent-dark); font-weight: 600; min-height: 1.2em; }


.thanks-section { max-width: 720px; margin: 0 auto; padding: var(--space-2xl) var(--section-pad-x); text-align: center; }
.thanks-card { background: #fff; border-radius: var(--radius-xl); padding: clamp(2.5rem, 5vw, 4rem); box-shadow: var(--shadow-lg); }
.thanks-icon { font-size: 3rem; color: var(--accent); margin-bottom: 1rem; }
.thanks-card p { color: var(--ink-600); }
.redirect-note { font-weight: 700; color: var(--ink-800); }
.redirect-note span { color: var(--accent-dark); font-size: 1.2rem; }


.legal-page { max-width: 900px; margin: 0 auto; padding: var(--space-2xl) var(--section-pad-x) var(--space-2xl); }
.legal-updated { color: var(--ink-500); font-weight: 600; margin-bottom: 2.2rem; }
.legal-page h2 { margin-top: 2.4rem; font-size: 1.4rem; }
.legal-page p { color: var(--ink-600); }
.impressum-table { width: 100%; border-collapse: collapse; margin: 2rem 0; box-shadow: var(--shadow-sm); border-radius: var(--radius-md); overflow: hidden; }
.impressum-table th, .impressum-table td { text-align: left; padding: .9rem 1.2rem; border-bottom: 1px solid var(--ink-100); font-size: .95rem; }
.impressum-table th { background: var(--ink-50); color: var(--ink-800); width: 40%; font-weight: 700; }
.impressum-table tr:last-child th, .impressum-table tr:last-child td { border-bottom: none; }


.site-footer { background: var(--ink-950); color: var(--ink-300); margin-top: var(--space-xl); }
.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-xl) var(--section-pad-x) var(--space-lg);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: var(--space-lg);
}
.footer-brand p { color: var(--ink-400); font-size: .92rem; margin-top: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: .8rem; }
.footer-links h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.footer-links a, .footer-links span { color: var(--ink-400); font-size: .93rem; transition: color .25s var(--ease); display: flex; align-items: center; gap: .5em; }
.footer-links a:hover { color: var(--accent-light); }
.footer-links i { color: var(--accent-light); width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem var(--section-pad-x); text-align: center; }
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--ink-500); }


.cookie-preferences-link {
  position: fixed;
  bottom: 1.2rem; left: 1.2rem;
  z-index: 300;
  background: var(--ink-900);
  color: var(--ink-100);
  font-size: .82rem;
  font-weight: 600;
  padding: .7em 1.1em;
  border-radius: var(--radius-pill);
  display: flex; align-items: center; gap: .5em;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.cookie-preferences-link:hover { background: var(--ink-700); transform: translateY(-2px); }
.cookie-preferences-link.pulse-attention { animation: cookiePulse 1.8s ease-in-out 2; }
@keyframes cookiePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193,127,43,.5), var(--shadow-md); }
  50% { box-shadow: 0 0 0 10px rgba(193,127,43,0), var(--shadow-md); }
}
.cookie-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(16,20,28,.6);
  backdrop-filter: blur(4px);
  z-index: 600;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.cookie-modal-overlay.open { opacity: 1; visibility: visible; }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  max-width: 480px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(.94); transition: transform .3s var(--ease);
}
.cookie-modal-overlay.open .cookie-modal { transform: scale(1); }
.cookie-modal h3 { margin-bottom: .6rem; }
.cookie-modal > p { color: var(--ink-600); font-size: .92rem; }
.cookie-category { border-top: 1px solid var(--ink-100); padding: 1rem 0; }
.cookie-category-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ink-800); }
.cookie-category p { color: var(--ink-500); font-size: .86rem; margin: .4rem 0 0; }
.switch-toggle { position: relative; display: inline-block; width: 46px; height: 26px; }
.switch-toggle input { opacity: 0; width: 0; height: 0; }
.switch-track { position: absolute; inset: 0; background: var(--ink-200); border-radius: var(--radius-pill); transition: background .25s var(--ease); }
.switch-track::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .25s var(--ease); box-shadow: var(--shadow-sm); }
.switch-toggle input:checked + .switch-track { background: var(--accent); }
.switch-toggle input:checked + .switch-track::before { transform: translateX(20px); }
.switch-toggle.disabled { opacity: .6; }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.cookie-modal-actions button { flex: 1 1 140px; font-size: .88rem; padding: .8em 1em; }


.scroll-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }


.pace .pace-progress { background: var(--accent); height: 3px; }
.pace .pace-progress-inner { box-shadow: 0 0 10px var(--accent), 0 0 5px var(--accent); }
.pace .pace-activity { border-top-color: var(--accent); border-left-color: var(--accent); }


@media (max-width: 1024px) {
  .nav-links { gap: 1.2rem; }
  .header-cta { display: none; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .hero-section { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer-main { grid-template-columns: 1fr; }
  .mobile-menu-links { width: 62%; }
  .mobile-menu-visual { width: 38%; }
  .content-block { flex-direction: column; }
  .content-block.reverse-layout { flex-direction: column; }
  .cookie-preferences-link span { display: none; }
  .cookie-preferences-link { padding: .8em; }
}
@media (max-width: 420px) {
  .progress-steps { flex-direction: column; }
  .process-grid { grid-template-columns: 1fr; }
}