/* ============================================================
   Co-Hostly – Shared Design System
   Wird von allen Seiten geladen (1× pflegen, überall konsistent).
   ============================================================ */
:root {
  --color-bg: #FAFAF7;
  --color-surface: #FFFFFF;
  --color-dark: #1A1A18;
  --color-text: #3A3A36;
  --color-muted: #7A7A72;
  --color-accent: #2C5F4B;
  --color-accent-light: #3A7D63;
  --color-accent-glow: #2C5F4B18;
  --color-warm: #D4A96A;
  --color-warm-light: #F5EDE0;
  --color-border: #E8E6E0;
  --color-highlight: #F0EDE6;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 2px 20px rgba(0,0,0,0.04);
  --shadow-card: 0 4px 32px rgba(0,0,0,0.06);
  --shadow-elevated: 0 12px 48px rgba(0,0,0,0.1);
  --max-width: 1400px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITY ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--dark { background: var(--color-dark); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.7); }
.section--dark .label { color: var(--color-warm); }
.section--highlight { background: var(--color-highlight); }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--color-dark); }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
p { max-width: 640px; }
.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
  display: inline-block;
}
.prose p { margin-bottom: 18px; }
.prose ul { padding-left: 22px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,95,75,0.25), 0 0 40px rgba(44,95,75,0.15);
}
.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border: 1.5px solid var(--color-border);
}
.btn--outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.section--dark .btn--outline { color: #fff; border-color: rgba(255,255,255,0.4); }
.section--dark .btn--outline:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--white { background: #fff; color: var(--color-dark); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.btn svg { width: 18px; height: 18px; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(26,26,24,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0;
}
.nav.scrolled .nav__links > li > a { color: rgba(255,255,255,0.8); }
.nav.scrolled .nav__links > li > a:hover { color: #fff; }
.nav.scrolled .nav__logo img { filter: brightness(0) invert(1); }
.nav.scrolled .nav__toggle span { background: #fff; }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo { text-decoration: none; display: flex; align-items: center; }
.nav__logo img { height: 48px; width: auto; transition: height var(--transition); }
.nav.scrolled .nav__logo img { height: 40px; }
.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__links > li > a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav__links > li > a:hover { color: var(--color-accent); }
.nav__cta { padding: 10px 24px; font-size: 0.85rem; color: #fff !important; }
.nav__chevron { width: 14px; height: 14px; opacity: 0.7; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 8px;
  min-width: 250px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown__menu li { margin: 0; }
.dropdown__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.dropdown__menu a:hover { background: var(--color-highlight); color: var(--color-accent); }
.dropdown__menu a small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--color-muted); margin-top: 2px; }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--color-dark); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }

/* ── HERO (Startseite) ── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 100px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%; width: 60%; height: 80%;
  background: radial-gradient(ellipse at center, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--color-border); }
.hero__deco { position: absolute; pointer-events: none; z-index: 0; }
.hero__deco--dots { top: 15%; left: 5%; width: 120px; height: 120px; background-image: radial-gradient(var(--color-accent) 1.5px, transparent 1.5px); background-size: 16px 16px; opacity: 0.08; }
.hero__deco--circle { bottom: 15%; right: 8%; width: 300px; height: 300px; border: 1.5px solid var(--color-accent); border-radius: 50%; opacity: 0.06; }
.hero__deco--line { top: 30%; left: -2%; width: 180px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--color-accent), transparent); opacity: 0.12; transform: rotate(-30deg); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero__content { position: relative; z-index: 2; }
.hero__badge, .hero h1, .hero__subtitle, .hero__actions, .hero__disclaimer {
  opacity: 0; transform: translateY(30px); animation: heroFadeIn 0.9s var(--ease-out-expo) forwards;
}
.hero__badge { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero__subtitle { animation-delay: 0.3s; }
.hero__actions { animation-delay: 0.4s; }
.hero__disclaimer { animation-delay: 0.5s; }
@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 60px;
  font-size: 0.8rem; font-weight: 500; margin-bottom: 28px; color: var(--color-text);
}
.hero__badge-dot { width: 24px; height: 24px; background: var(--color-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hero__badge-dot svg { width: 12px; height: 12px; color: #fff; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--color-accent); position: relative; }
.hero h1 em::after {
  content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 8px;
  background: var(--color-accent); opacity: 0.12; border-radius: 4px; z-index: -1;
  transform: scaleX(0); transform-origin: left; animation: underlineDraw 0.8s var(--ease-out-expo) 0.7s forwards;
}
@keyframes underlineDraw { to { transform: scaleX(1); } }
.hero__subtitle { font-size: 1.15rem; color: var(--color-muted); margin-bottom: 40px; max-width: 480px; line-height: 1.8; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__mobile-img { opacity: 0; transform: translateY(30px); animation: heroFadeIn 0.9s var(--ease-out-expo) 0.45s forwards; }
.hero__disclaimer { margin-top: 20px; font-size: 0.72rem; color: var(--color-muted); max-width: 420px; line-height: 1.5; opacity: 0; }
.hero__visual { position: relative; z-index: 1; opacity: 0; transform: translateY(40px) rotate(1deg); animation: heroVisualIn 1s var(--ease-out-expo) 0.3s forwards; }
@keyframes heroVisualIn { to { opacity: 1; transform: translateY(0) rotate(0deg); } }
.hero__image-stack { position: relative; height: 560px; }
.hero__img { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.hero__img--main { width: 420px; height: 500px; top: 0; right: 0; border: 1px solid var(--color-border); }
.hero__img--main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__img--accent { width: 200px; height: 140px; top: 40px; left: 20px; z-index: 2; border: 1px solid var(--color-border); }
.hero__img--accent img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__img--float {
  width: 220px; height: 160px; bottom: 20px; left: 0; background: var(--color-surface);
  border: 1px solid var(--color-border); padding: 24px; display: flex; flex-direction: column;
  justify-content: center; z-index: 3; animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__float-number { font-family: var(--font-display); font-size: 2.4rem; color: var(--color-accent); line-height: 1; }
.hero__float-label { font-size: 0.85rem; color: var(--color-muted); margin-top: 4px; }
.hero__mobile-img { display: none; margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.hero__mobile-img img { width: 100%; height: 260px; object-fit: cover; display: block; }
.hero__mobile-float { position: absolute; bottom: 16px; right: 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-card); }
.hero__mobile-float .hero__float-number { font-size: 1.6rem; }
.hero__mobile-float .hero__float-label { font-size: 0.75rem; }

/* ── PAGE HERO (Unterseiten / Stadtseiten) ── */
.page-hero { position: relative; padding: 150px 0 70px; overflow: hidden; border-bottom: 1px solid var(--color-border); }
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -10%; width: 55%; height: 90%;
  background: radial-gradient(ellipse at center, var(--color-accent-glow) 0%, transparent 70%); pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.page-hero h1 { margin: 14px 0 22px; }
.page-hero h1 em { font-style: italic; color: var(--color-accent); }
.page-hero__lead { font-size: 1.12rem; color: var(--color-muted); line-height: 1.8; max-width: 640px; margin-bottom: 32px; }
.page-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: 0.8rem; color: var(--color-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0; }
.breadcrumb a { color: var(--color-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--color-border); }
.breadcrumb [aria-current="page"] { color: var(--color-text); }

/* ── TRUST BAR ── */
.trust-bar { padding: 48px 0; border-bottom: 1px solid var(--color-border); }
.trust-bar__inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-bar__item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--color-muted); font-weight: 500; transition: transform var(--transition); }
.trust-bar__item:hover { transform: scale(1.05); }
.trust-bar__item svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; transition: transform var(--transition); }
.trust-bar__item:hover svg { transform: scale(1.15); }

/* ── STATS ROW ── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 80px 0; border-bottom: 1px solid var(--color-border); }
.stat { text-align: center; }
.stat__number { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--color-dark); line-height: 1; margin-bottom: 8px; }
.stat__label { font-size: 0.85rem; color: var(--color-muted); }

/* ── PROBLEM/SOLUTION ── */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.problem__card-stack { display: flex; flex-direction: column; gap: 16px; }
.problem__card { padding: 24px 28px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); display: flex; align-items: flex-start; gap: 16px; transition: all var(--transition); }
.problem__card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-soft); transform: translateX(8px); }
.problem__card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--color-accent-glow); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--transition); }
.problem__card:hover .problem__card-icon { background: var(--color-accent); }
.problem__card-icon svg { width: 20px; height: 20px; color: var(--color-accent); transition: color var(--transition); }
.problem__card:hover .problem__card-icon svg { color: #fff; }
.problem__card h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: var(--color-dark); margin-bottom: 4px; }
.problem__card p { font-size: 0.85rem; color: var(--color-muted); line-height: 1.6; }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.service-card { padding: 40px 32px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: all var(--transition); position: relative; overflow: hidden; text-decoration: none; display: block; color: inherit; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--color-accent); opacity: 0; transition: opacity var(--transition); }
.service-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-card); transform: translateY(-8px); }
.service-card:hover::before { opacity: 1; }
.service-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--color-accent-glow); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: all var(--transition); }
.service-card:hover .service-card__icon { background: var(--color-accent); transform: scale(1.1) rotate(3deg); }
.service-card__icon svg { width: 24px; height: 24px; color: var(--color-accent); transition: color var(--transition); }
.service-card:hover .service-card__icon svg { color: #fff; }
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; color: var(--color-muted); margin-top: 8px; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.85rem; font-weight: 600; color: var(--color-accent); }
.service-card__more svg { width: 15px; height: 15px; transition: transform var(--transition); }
.service-card:hover .service-card__more svg { transform: translateX(4px); }

/* ── REGIONS ── */
.regions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.region-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 240px; padding: 28px; border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: #fff; background: var(--color-dark); border: 1px solid var(--color-border);
}
.region-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 0.6s var(--ease-out-expo), opacity var(--transition); }
.region-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.25) 60%, transparent 100%); }
.region-card:hover img { transform: scale(1.06); opacity: 0.65; }
.region-card__body { position: relative; z-index: 2; }
.region-card__tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-warm); }
.region-card h3 { color: #fff; font-size: 1.35rem; margin: 6px 0 4px; }
.region-card p { color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.region-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.82rem; font-weight: 600; color: #fff; }
.region-card__more svg { width: 15px; height: 15px; transition: transform var(--transition); }
.region-card:hover .region-card__more svg { transform: translateX(4px); }

/* ── PORTFOLIO TYPES ── */
.portfolio { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 60px; }
.portfolio-card { padding: 48px 40px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1); position: relative; overflow: hidden; transition: all var(--transition); }
.portfolio-card::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 45%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 55%, transparent 60%); transform: translateX(-100%); transition: none; }
.portfolio-card:hover::after { transform: translateX(100%); transition: transform 0.8s ease; }
.portfolio-card--single { background: linear-gradient(135deg, #2C5F4B 0%, #1A3D30 100%); color: #fff; }
.portfolio-card--multi { background: linear-gradient(135deg, #1A1A18 0%, #2A2A25 100%); color: #fff; }
.portfolio-card__label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-warm); margin-bottom: 16px; }
.portfolio-card h3 { font-size: 1.6rem; color: #fff; margin-bottom: 16px; }
.portfolio-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 28px; }
.portfolio-card__features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.portfolio-card__features li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.85); }
.portfolio-card__features li svg { width: 16px; height: 16px; color: var(--color-warm); flex-shrink: 0; }

/* ── PROCESS ── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 60px; counter-reset: step; }
.process-step { position: relative; counter-increment: step; }
.process-step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 3.5rem; color: #F0EDE6; opacity: 0.75; line-height: 1; display: block; margin-bottom: 20px; transition: opacity 0.4s ease; }
.process-step:hover::before { opacity: 1; color: #fff; }
.process-step h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { color: rgba(255,255,255,0.6); font-size: 0.88rem; }

/* ── TESTIMONIAL ── */
.testimonial-section { text-align: center; }
.testimonial-carousel { margin-top: 40px; overflow: hidden; position: relative; }
.testimonial-track { display: flex; gap: 24px; animation: testimonialScroll 30s linear infinite; width: max-content; }
.testimonial-track:hover { animation-play-state: paused; }
@keyframes testimonialScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonial-card { padding: 28px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); text-align: left; min-width: 340px; max-width: 340px; flex-shrink: 0; }
.testimonial-card::before { content: '\201C'; font-family: var(--font-display); font-size: 3rem; color: var(--color-accent); opacity: 0.15; line-height: 1; display: block; margin-bottom: -8px; }
.testimonial-card blockquote { font-size: 0.9rem; line-height: 1.7; color: var(--color-text); font-style: italic; margin-bottom: 16px; max-width: 100%; }
.testimonial-card__footer { display: flex; justify-content: space-between; align-items: center; }
.testimonial-card__author { font-weight: 600; color: var(--color-dark); font-size: 0.85rem; }
.testimonial-card__role { font-size: 0.75rem; color: var(--color-muted); }
.testimonial-card__score { font-family: var(--font-display); font-size: 1.1rem; color: var(--color-accent); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.testimonial-stars svg { width: 14px; height: 14px; color: var(--color-warm); fill: var(--color-warm); }

/* ── WARUM CO-HOSTLY (Differentiator) ── */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 60px; align-items: start; }
.diff-card {
  position: relative;
  padding: 44px 40px 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.diff-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: opacity var(--transition);
}
.diff-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-card); transform: translateY(-6px); }
.diff-card:hover::before { opacity: 1; }

.diff-card__header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.diff-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--color-accent-glow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.diff-card:hover .diff-card__icon { background: var(--color-accent); transform: scale(1.08) rotate(3deg); }
.diff-card__icon svg { width: 22px; height: 22px; color: var(--color-accent); transition: color var(--transition); }
.diff-card:hover .diff-card__icon svg { color: #fff; }
.diff-card__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-warm-light);
  color: #8a6020;
  border-radius: 60px;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.diff-card__badge--accent {
  background: var(--color-accent-glow);
  color: var(--color-accent);
}

.diff-card h3 { font-size: 1.4rem; margin-bottom: 12px; line-height: 1.25; }
.diff-card__lead { font-size: 0.95rem; color: var(--color-muted); margin-bottom: 28px; max-width: 100%; line-height: 1.65; }

.diff-card__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.diff-card__list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 0.93rem; color: var(--color-text); line-height: 1.55;
}
.diff-card__list li .diff-tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-accent-glow);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  transition: background var(--transition);
}
.diff-card__list li .diff-tick svg { width: 12px; height: 12px; color: var(--color-accent); }
.diff-card:hover .diff-card__list li .diff-tick { background: var(--color-accent); }
.diff-card:hover .diff-card__list li .diff-tick svg { color: #fff; }

/* Vergleichstabelle – als Mini-Card-Vergleich gestaltet */
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 0.88rem; color: var(--color-text);
}
.compare-table th, .compare-table td {
  padding: 14px 16px; text-align: left; vertical-align: top;
  line-height: 1.55;
}
.compare-table thead th {
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-muted);
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--color-border);
}
.compare-table thead th:nth-child(2) {
  background: var(--color-accent);
  color: #fff;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  border-bottom: none;
  position: relative;
}
.compare-table thead th:nth-child(2)::after {
  content: 'Empfohlen';
  position: absolute; top: -10px; right: 10px;
  background: var(--color-warm); color: #fff;
  font-size: 0.6rem; padding: 2px 8px; border-radius: 60px;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}
.compare-table thead th:nth-child(3) {
  background: var(--color-highlight);
  color: var(--color-dark);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  border-bottom: none;
}
.compare-table tbody th {
  font-family: var(--font-body); font-weight: 600; font-size: 0.72rem;
  color: var(--color-muted); letter-spacing: 0.08em; text-transform: uppercase;
  width: 22%;
  padding-top: 18px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.compare-table tbody td {
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}
.compare-table tbody td:nth-child(2) {
  background: rgba(44,95,75,0.06);
  color: var(--color-dark);
  font-weight: 500;
  border-left: 2px solid var(--color-accent);
}
.compare-table tbody td:nth-child(3) {
  background: rgba(245, 237, 224, 0.5);
  color: var(--color-text);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:last-child td:nth-child(2) {
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}
.compare-table tbody tr:last-child td:nth-child(3) {
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.diff-cta { text-align: center; margin-top: 56px; }
.diff-cta__note {
  margin: 16px auto 0;
  font-size: 0.85rem; color: var(--color-muted);
  max-width: 480px; line-height: 1.5;
}

@media (max-width: 1024px) {
  .diff-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .diff-card { padding: 36px 26px 32px; }
  .diff-card__header { flex-direction: row; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table tbody tr {
    border: 1px solid var(--color-border); border-radius: var(--radius);
    margin-bottom: 14px; overflow: hidden; background: var(--color-surface);
  }
  .compare-table tbody tr:last-child { margin-bottom: 0; }
  .compare-table tbody th {
    width: 100%; background: var(--color-dark); color: #fff;
    padding: 10px 16px; border-bottom: none;
  }
  .compare-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
    border-left: none;
  }
  .compare-table tbody tr td:last-child { border-bottom: none; }
  .compare-table tbody td::before {
    content: attr(data-col);
    display: block;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 6px;
  }
  .compare-table tbody td:nth-child(2) {
    background: rgba(44,95,75,0.06);
    border-left: 3px solid var(--color-accent);
  }
  .compare-table tbody td:nth-child(3) {
    background: rgba(245, 237, 224, 0.5);
  }
  .compare-table tbody td:nth-child(3)::before { color: #8a6020; }
}

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.pricing-card { padding: 40px 32px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); text-align: center; transition: all var(--transition); position: relative; }
.pricing-card--featured { border-color: var(--color-accent); box-shadow: var(--shadow-card); transform: scale(1.03); }
.pricing-card--featured .pricing-card__badge { display: block; }
.pricing-card__badge { display: none; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-accent); color: #fff; padding: 4px 16px; border-radius: 60px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.pricing-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-card); transform: translateY(-8px); }
.pricing-card--featured:hover { transform: scale(1.05); }
.pricing-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pricing-card__price { font-family: var(--font-display); font-size: 2.8rem; color: var(--color-accent); line-height: 1; margin: 16px 0 4px; }
.pricing-card__price-note { font-size: 0.8rem; color: var(--color-muted); margin-bottom: 28px; }
.pricing-card__features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-card__features li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--color-text); }
.pricing-card__features li svg { width: 16px; height: 16px; color: var(--color-accent); flex-shrink: 0; }

/* ── CONTACT / CTA ── */
.cta-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.cta-form { background: var(--color-surface); padding: 48px; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--color-dark); letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea { padding: 14px 16px; border: 1.5px solid var(--color-border); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.9rem; color: var(--color-dark); background: var(--color-bg); transition: border-color var(--transition); outline: none; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--color-accent); background: #fff; }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit { margin-top: 20px; width: 100%; justify-content: center; }
.cta-info h2 { margin-bottom: 20px; }
.cta-info > p { margin-bottom: 32px; color: var(--color-muted); }
.cta-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.cta-feature { display: flex; gap: 16px; align-items: flex-start; }
.cta-feature__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--color-accent-glow); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-feature__icon svg { width: 18px; height: 18px; color: var(--color-accent); }
.cta-feature h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--color-dark); }
.cta-feature p { font-size: 0.83rem; color: var(--color-muted); }
.cta-contact-info { padding: 24px; background: var(--color-highlight); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.cta-contact-info a { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--color-dark); text-decoration: none; font-weight: 500; }
.cta-contact-info a:hover { color: var(--color-accent); }
.cta-contact-info svg { width: 16px; height: 16px; color: var(--color-accent); }
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success.show { display: block; }
.form-success svg { width: 48px; height: 48px; color: var(--color-accent); margin-bottom: 16px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 10px; }
.form-success p { color: var(--color-muted); margin: 0 auto; }

/* ── CTA BAND (Unterseiten) ── */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { margin: 0 auto 28px; color: rgba(255,255,255,0.7); }
.cta-band .btn { margin: 0 6px 10px; }

/* ── FAQ ── */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq__item { border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); margin-bottom: 14px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 24px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--color-dark); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; transition: transform var(--transition); }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq__a-inner { padding: 0 24px 22px; color: var(--color-muted); font-size: 0.93rem; }
.faq__item.open .faq__a { max-height: 600px; }

/* ── LEGAL / INFO NOTE ── */
.legal-note { border: 1px solid var(--color-border); border-left: 4px solid var(--color-warm); background: var(--color-warm-light); border-radius: var(--radius); padding: 28px 32px; }
.legal-note h3 { font-size: 1.1rem; margin-bottom: 12px; }
.legal-note p { font-size: 0.9rem; color: var(--color-text); }
.legal-note__source { font-size: 0.78rem; color: var(--color-muted); margin-top: 12px; }
.placeholder { background: repeating-linear-gradient(45deg, #fff6e0, #fff6e0 10px, #fdeecb 10px, #fdeecb 20px); border: 1px dashed var(--color-warm); border-radius: 8px; padding: 2px 8px; font-size: 0.85rem; color: #8a6d23; }

/* ── GALLERY ── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: 16px; margin-top: 60px; }
.gallery__item { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; background: var(--color-highlight); border: 1px solid var(--color-border); transition: all var(--transition); }
.gallery__item:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out-expo); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 24px; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); color: #fff; }
.gallery__tag { display: inline-block; padding: 3px 10px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 60px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px; color: #fff; }
.gallery__overlay h3 { font-size: 1rem; color: #fff; margin-bottom: 2px; }
.gallery__overlay p { font-size: 0.78rem; color: rgba(255,255,255,0.8); }

/* ── FOOTER ── */
.footer { background: var(--color-dark); color: rgba(255,255,255,0.6); padding: 60px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand p { font-size: 0.85rem; margin-top: 12px; max-width: 280px; color: rgba(255,255,255,0.6); }
.footer__logo { display: inline-block; margin-bottom: 8px; }
.footer__logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer__nap { font-size: 0.82rem; line-height: 1.7; margin-top: 16px; color: rgba(255,255,255,0.55); font-style: normal; }
.footer__col h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color var(--transition); }
.footer__col ul a:hover { color: #fff; }
.footer__bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* ── STICKY CTA ── */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; transform: translateY(100%); transition: transform 0.5s var(--ease-out-expo); }
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta.dismissed { transform: translateY(100%); }
.sticky-cta__inner { max-width: 680px; margin: 0 auto 16px; padding: 16px 24px; background: rgba(26,26,24,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid rgba(255,255,255,0.08); }
.sticky-cta__text { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.sticky-cta__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sticky-cta__close { background: none; border: none; color: rgba(255,255,255,0.4); cursor: pointer; padding: 4px; transition: color var(--transition); display: flex; }
.sticky-cta__close:hover { color: #fff; }
.sticky-cta__close svg { width: 18px; height: 18px; }

/* ── REVEAL ANIMATIONS ── */
.reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 0; transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.95); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: translate(0) scale(1); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { display: none; }
  .hero__mobile-img { display: block; }
  .hero__deco { display: none; }
  .problem { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .regions-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .page-hero { padding: 120px 0 56px; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-bg); padding: 24px; border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card); max-height: 80vh; overflow-y: auto;
  }
  .nav__toggle { display: block; }
  /* Dropdown wird im Mobile-Menü zur statischen Liste */
  .nav__links.open .dropdown__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 4px 0 8px 14px; min-width: 0; background: transparent;
  }
  .nav__links.open .dropdown__menu a { padding: 7px 0; }
  .nav__links.open .nav__chevron { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .regions-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-8px); }
  .portfolio { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trust-bar__inner { gap: 24px; }
  .cta-form { padding: 32px 24px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 24px; padding: 48px 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .sticky-cta__inner { margin: 0; border-radius: 0; padding: 14px 20px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--wide { grid-column: span 1; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 1; transform: none; }
  .hero__badge, .hero h1, .hero__subtitle, .hero__actions, .hero__disclaimer { opacity: 1; transform: none; }
  .hero__visual { opacity: 1; transform: none; }
}

/* ============================================================
   Cookie Consent (Banner + Modal)
   Steuert Google Consent Mode v2.
   ============================================================ */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998;
  background: var(--color-dark); color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  animation: cc-slide-up 0.4s var(--ease-out-expo);
}
@keyframes cc-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cc-banner__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 22px 28px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.cc-banner__text { flex: 1 1 360px; min-width: 0; font-family: var(--font-body); font-size: 0.9rem; line-height: 1.55; }
.cc-banner__text strong { display: block; font-size: 0.95rem; margin-bottom: 4px; font-weight: 600; }
.cc-banner__text p { color: rgba(255,255,255,0.72); }
.cc-banner__text a { color: var(--color-warm); text-decoration: underline; text-underline-offset: 2px; }
.cc-banner__text a:hover { color: #fff; }
.cc-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cc-btn {
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  padding: 11px 20px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: all 0.2s ease;
  white-space: nowrap;
}
.cc-btn--primary { background: var(--color-accent); color: #fff; }
.cc-btn--primary:hover { background: var(--color-accent-light); }
.cc-btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.cc-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.cc-btn--ghost { background: transparent; color: rgba(255,255,255,0.7); }
.cc-btn--ghost:hover { color: #fff; }

/* Modal */
.cc-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(26,26,24,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: cc-fade 0.25s ease;
}
@keyframes cc-fade { from { opacity: 0; } to { opacity: 1; } }
body.cc-modal-open { overflow: hidden; }
.cc-modal__card {
  background: #fff; color: var(--color-text);
  border-radius: var(--radius-lg);
  max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto;
  padding: 36px 36px 28px;
  position: relative;
  box-shadow: var(--shadow-elevated);
  font-family: var(--font-body);
  animation: cc-pop 0.3s var(--ease-out-expo);
}
@keyframes cc-pop { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: none; } }
.cc-modal__card h2 {
  font-family: var(--font-display); font-size: 1.7rem; line-height: 1.15;
  color: var(--color-dark); margin-bottom: 8px;
}
.cc-modal__lead { font-size: 0.92rem; color: var(--color-muted); margin-bottom: 22px; line-height: 1.55; }
.cc-modal__close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 1.8rem; line-height: 1; color: var(--color-muted);
  padding: 4px 10px; border-radius: 8px;
}
.cc-modal__close:hover { color: var(--color-dark); background: var(--color-highlight); }

.cc-cat { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.cc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.cc-cat__head strong { color: var(--color-dark); font-size: 0.98rem; }
.cc-cat__badge {
  display: inline-block; margin-left: 10px;
  font-size: 0.72rem; font-weight: 500;
  color: var(--color-accent); background: var(--color-accent-glow);
  padding: 3px 10px; border-radius: 999px;
  letter-spacing: 0.02em;
}
.cc-cat p { font-size: 0.85rem; color: var(--color-muted); line-height: 1.5; }

/* Toggle */
.cc-toggle {
  position: relative; display: inline-block;
  width: 44px; height: 24px; flex-shrink: 0;
}
.cc-toggle input { opacity: 0; width: 0; height: 0; }
.cc-toggle__slider {
  position: absolute; inset: 0; cursor: pointer;
  background: var(--color-border); border-radius: 999px;
  transition: 0.25s;
}
.cc-toggle__slider::before {
  content: ''; position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px; background: #fff; border-radius: 50%;
  transition: 0.25s;
}
.cc-toggle input:checked + .cc-toggle__slider { background: var(--color-accent); }
.cc-toggle input:checked + .cc-toggle__slider::before { transform: translateX(20px); }
.cc-toggle--locked {
  width: 44px; height: 24px; background: var(--color-accent); border-radius: 999px; opacity: 0.55;
  position: relative; display: inline-block;
}
.cc-toggle--locked::before {
  content: ''; position: absolute; left: 23px; top: 3px;
  width: 18px; height: 18px; background: #fff; border-radius: 50%;
}

.cc-modal__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.cc-modal__actions .cc-btn--outline { color: var(--color-dark); border-color: var(--color-border); }
.cc-modal__actions .cc-btn--outline:hover { border-color: var(--color-dark); background: var(--color-highlight); }
.cc-modal__actions .cc-btn--ghost { color: var(--color-muted); }
.cc-modal__actions .cc-btn--ghost:hover { color: var(--color-dark); background: var(--color-highlight); }

/* Mobile */
@media (max-width: 720px) {
  .cc-banner { left: 8px; right: 8px; bottom: 8px; }
  .cc-banner__inner { padding: 18px 20px; gap: 16px; }
  .cc-banner__actions { width: 100%; }
  .cc-banner__actions .cc-btn { flex: 1; }
  .cc-modal__card { padding: 28px 22px 22px; }
  .cc-modal__card h2 { font-size: 1.4rem; }
}
