/* ========================================
   S+C Audit GmbH – Modernized Styles
   ======================================== */

/* ---------- Local Fonts (DSGVO-konform, kein Google Fonts CDN) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/inter-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: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/inter-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;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #162a4a;
  --navy-light:  #1e3a5f;
  --navy-dark:   #0f1f38;
  --accent:      #c0392b;
  --accent-hover:#a93226;
  --accent-soft: rgba(192, 57, 43, .08);
  --gray-bg:     #f7f8fa;
  --gray-text:   #5a6577;
  --gray-border: #e2e6ec;
  --white:       #fff;
  --font-heading:'Inter', 'Open Sans', Arial, sans-serif;
  --font-body:   'Inter', 'Open Sans', Arial, sans-serif;
  --radius:      12px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.05);
  --shadow-md:   0 8px 30px rgba(0,0,0,.08);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.12);
  --transition:  .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: #2d3748;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}

/* Flex-Items dürfen schmaler als ihr Inhalt werden -> kein Überlauf durch lange Wörter */
body > * { min-width: 0; }
body > main, body > .legal-page { flex: 1; }
.site-footer { margin-top: auto; }

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

/* ---------- Animations ---------- */
[data-animate] {
  opacity: 0;
  transition: opacity .7s var(--transition), transform .7s var(--transition);
}
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].is-visible {
  opacity: 1;
  transform: translate(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  border-radius: 6px;
  padding: 14px 32px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .02em;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: var(--accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-full { width: 100%; text-align: center; }

.center-cta { text-align: center; margin-top: 40px; }

/* ---------- Section Titles ---------- */
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.25;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.left-title { text-align: left; }
.left-title + .left-divider,
.section-label + .left-title { text-align: left; }

.divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 48px;
  border-radius: 2px;
}
.left-divider { margin-left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: all .35s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 130px;
  gap: 24px;
  transition: height .4s cubic-bezier(.4,0,.2,1);
}
.site-header.scrolled .header-inner {
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.logo-img {
  height: 110px;
  width: auto;
  display: block;
  transition: height .4s cubic-bezier(.4,0,.2,1);
}

.site-header.scrolled .logo-img {
  height: 48px;
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 32px; }
.nav-cta-mobile { display: none; }
.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: color .2s;
  white-space: nowrap;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s ease;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 6px;
  padding: 8px 20px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.header-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.header-cta-main {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.header-cta-sub {
  font-size: 0.62rem;
  opacity: .8;
  font-weight: 400;
  margin-top: 1px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: 0;
  padding-top: 130px;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,31,56,.75) 0%, rgba(30,58,95,.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 8px 24px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  width: 4px; height: 8px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ---------- Stats Banner ---------- */
.stats-banner {
  background: var(--navy);
  padding: 48px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat { color: var(--white); }
.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  display: inline;
}
.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: .03em;
}

/* ---------- Leistungen / Card Grid ---------- */
.leistungen { background: var(--gray-bg); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-border);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  color: var(--navy);
  transition: color var(--transition);
}
.card:hover .card-icon { color: var(--accent); }
.card-icon svg { width: 100%; height: 100%; }

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 10px;
  min-height: 2.6em;
}
.card p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ---------- Über Uns ---------- */
.ueber-uns {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text .section-label { text-align: left; }

.about-text p {
  margin-bottom: 16px;
  color: var(--gray-text);
  font-size: 0.95rem;
}

.about-features {
  margin: 32px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 8px;
}
.feature-icon svg { width: 100%; height: 100%; }

.about-feature strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.about-feature span {
  font-size: 0.88rem;
  color: var(--gray-text);
}

.section-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ---------- Parallax Banner ---------- */
.parallax-banner {
  position: relative;
  min-height: 380px;
  background: url('assets/parallax-banner.png') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,31,56,.82) 0%, rgba(30,58,95,.7) 100%);
}
.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 700px;
}
.parallax-content h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.parallax-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
}

/* ---------- Split Sections (Digital & Sicherheit) ---------- */
.digital { background: var(--gray-bg); }
.sicherheit { background: var(--white); }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-text .section-label { text-align: left; }

.split-text p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.split-image .section-img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

/* ---------- Geschäftsführung ---------- */
.geschaeftsfuehrung { background: var(--gray-bg); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-photo-wrap {
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top;
  transition: transform .6s ease;
}
.team-card:hover .team-photo { transform: scale(1.03); }

.placeholder-img {
  background: linear-gradient(135deg, #d6dce5, #c5cdd8);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8899aa;
  font-size: 0.9rem;
  font-weight: 600;
}
.placeholder-person {
  width: 100%;
  height: 360px;
}

.team-info {
  padding: 28px 24px;
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--gray-text);
  font-style: italic;
  line-height: 1.6;
}

/* ---------- Kontaktformular ---------- */
.kontakt { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
  color: var(--gray-text);
  font-size: 0.92rem;
}

.contact-icon-wrap {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-detail strong {
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}

.contact-form {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--gray-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #2d3748;
  transition: all var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22, 42, 74, .1);
}
.form-group textarea { resize: vertical; }

/* Honeypot spam protection */
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* Datenschutz checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--gray-text);
}
.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.form-checkbox a {
  color: var(--accent);
  text-decoration: underline;
}
.form-checkbox a:hover {
  color: var(--accent-hover);
}

/* Team member grid */
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 520px;
  margin: 40px auto 0;
}
.team-member-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.team-member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-member-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
}
.team-member-name {
  padding: 32px 20px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 768px) {
  .team-members-grid { grid-template-columns: 1fr; max-width: 280px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
}

.footer-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left .logo-img {
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-center {
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-addresses {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-addresses address {
  font-style: normal;
  display: inline;
}
.footer-sep { color: rgba(255,255,255,.3); }
.footer-contact-line {
  margin-top: 4px;
  color: rgba(255,255,255,.5);
}

.footer-right {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
}
.footer-right a {
  opacity: .6;
  transition: opacity .2s;
}
.footer-right a:hover { opacity: 1; color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,.35);
}

/* ---------- Legal Pages (Impressum, Datenschutz) ---------- */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 60vh;
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-light);
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-page p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 14px;
  max-width: 800px;
}
.legal-page a { overflow-wrap: anywhere; }

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
  max-width: 800px;
}

.legal-page ul li {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.legal-page .legal-note {
  margin-top: 48px;
  padding: 20px 24px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
  color: #664d03;
  max-width: 800px;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.45);
  pointer-events: none;
}
.cookie-inner {
  pointer-events: auto;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  box-shadow: 0 -4px 32px rgba(0,0,0,.12);
  padding: 28px 32px;
  max-width: 640px;
  width: 100%;
  text-align: center;
}
.cookie-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.cookie-text {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 20px;
}
.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-text a:hover {
  color: var(--accent-hover);
}
.cookie-options {
  text-align: left;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--gray-bg);
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
}
.cookie-option:hover {
  background: #eef0f4;
}
.cookie-option input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent);
}
.cookie-option strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.cookie-option span {
  font-size: 0.8rem;
  color: var(--gray-text);
  line-height: 1.5;
}
.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    padding: 20px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 16px; }
  .mobile-toggle { display: flex; margin-left: auto; }

  /* CTA-Button raus aus der Kopfzeile, stattdessen ins Burger-Menü */
  .header-cta { display: none; }
  .nav-cta-mobile {
    display: block;
    border-top: 1px solid var(--gray-border);
    padding-top: 16px;
    margin-top: 4px;
  }
  .nav-cta-mobile a {
    color: var(--accent);
    font-weight: 700;
  }

  /* Kompakter Header auf Mobile (großes Logo überläuft sonst) */
  .header-inner { height: 72px; }
  .site-header.scrolled .header-inner { height: 64px; }
  .logo-img { height: 46px; }
  .site-header.scrolled .logo-img { height: 42px; }
  .hero { padding-top: 72px; }

  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2rem; }
  .hero-text { font-size: 0.95rem; }
  .hero-badge { font-size: 0.7rem; padding: 6px 18px; }
  .section { padding: 72px 0; }
  .section-title { font-size: 1.8rem; }

  .card-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; }
  .split-grid.split-reverse .split-image { order: -1; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .left-title { text-align: center; }
  .left-divider { margin: 0 auto 40px; }
  .about-text .section-label,
  .split-text .section-label { text-align: center; }

  .parallax-banner { min-height: 300px; background-attachment: scroll; }
  .parallax-content h2 { font-size: 1.6rem; }
  .parallax-content p { font-size: 0.95rem; }

  .section-img { height: auto; }
  .split-image .section-img { height: auto; }

  .footer-compact { flex-direction: column; text-align: center; gap: 20px; }
  .footer-right { justify-content: center; }

  .hero-scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .stat-number { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }
}
