:root {
  color-scheme: light;
}
html {
  color-scheme: light;
  forced-color-adjust: none;
  -webkit-forced-color-adjust: none;
}
/* Samsung Internet: explicit opt-out from Smart Anti-Tracking & Auto-Dark */
@media screen and (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
  html, body { background: #FAFAFB !important; color: #0F0F11 !important; }
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red:    #E3000F;
  --red-h:  #BF000C;
  --red-s:  #FFE5E7;
  --ink:    #1A1A1A;
  --ink-2:  #3A3A3A;
  --ink-3:  #6B7280;
  --ink-4:  #9CA3AF;
  --line:   #E5E7EB;
  --line-2: #F3F4F6;
  --bg:     #F9FAFB;
  --warm:   #F5F4F0;
  --white:  #FFFFFF;
  --dark:   #0F0F11;
  --dark-2: #1A1A1D;
  --f:      'Barlow', system-ui, sans-serif;
  --fc:     'Barlow Condensed', system-ui, sans-serif;
  --gutter: 24px;
  --max:    1200px;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--f);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--f); cursor: pointer; }

/* ─────────────────────────── HELPERS */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 80px var(--gutter); }
@media (min-width: 768px) { section { padding: 110px var(--gutter); } }

.eyebrow {
  font-family: var(--fc);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 20px;
}
h2.on-dark { color: #fff; }
.lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}
.lead.on-dark { color: rgba(255,255,255,0.78); }
.center { text-align: center; }
.center .eyebrow { display: inline-block; }

/* ─────────────────────────── BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  font-family: var(--f);
  font-size: 15px;
  font-weight: 400;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background .25s, border-color .25s, color .25s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-red    { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-h); border-color: var(--red-h); }
.btn-out    { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-out:hover { border-color: var(--ink-3); }
.btn-out-w  { background: transparent; color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.25); }
.btn-out-w:hover { color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-w      { background: #fff; color: var(--red); border-color: #fff; }
.btn-w:hover { background: var(--bg); }

/* ─────────────────────────── COOKIE BANNER */
#cookie {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px rgba(0,0,0,.08);
  padding: 18px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  transition: transform .35s ease;
}
#cookie.off { transform: translateY(110%); }
.c-text { flex: 1; min-width: 240px; font-size: 13px; color: var(--ink-3); }
.c-text a { color: var(--red); }
.c-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.c-acc { background: var(--red); color: #fff; border: none; padding: 10px 18px; font-size: 13px; border-radius: 999px; min-height: 38px; }
.c-acc:hover { background: var(--red-h); }
.c-set { background: #fff; color: var(--ink-3); border: 1px solid var(--line); padding: 10px 16px; font-size: 13px; border-radius: 999px; min-height: 38px; }
.c-set:hover { border-color: var(--ink-3); }
.c-rej { background: none; border: none; color: var(--ink-4); font-size: 12px; text-decoration: underline; min-height: 38px; padding: 0 6px; }

#cookie-modal {
  display: none;
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.5);
  align-items: center; justify-content: center; padding: 16px;
}
#cookie-modal.open { display: flex; }
.cm {
  background: #fff; width: 100%; max-width: 480px; padding: 28px;
  max-height: 90vh; overflow-y: auto; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.cm h3 { font-size: 17px; font-weight: 500; margin-bottom: 20px; }
.cc { border-top: 1px solid var(--line-2); padding: 14px 0; }
.cc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cc-row span { font-size: 14px; font-weight: 400; }
.cc p { font-size: 12px; color: var(--ink-4); line-height: 1.6; }
.tog { position: relative; width: 38px; height: 22px; flex-shrink: 0; }
.tog input { opacity: 0; width: 0; height: 0; }
.tog-s { position: absolute; inset: 0; background: #ccc; border-radius: 22px; cursor: pointer; transition: background .2s; }
.tog-s::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.tog input:checked + .tog-s { background: var(--red); }
.tog input:checked + .tog-s::before { transform: translateX(16px); }
.tog input:disabled + .tog-s { opacity: .5; cursor: default; }
.cm-foot { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ─────────────────────────── FLOATING NAV (PILL) */
#nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 800;
  width: calc(100% - 32px);
  max-width: 980px;
  background: #ffffff;
  border: 1px solid rgba(15,15,17,0.08);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  padding: 10px 12px 10px 24px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow .3s;
}
@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  #nav {
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
  }
}
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: none; list-style: none; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--ink-2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--red); }
.nav-cta { background: var(--red); color: #fff !important; padding: 9px 22px; border-radius: 999px; font-weight: 400 !important; transition: background .2s !important; }
.nav-cta:hover { background: var(--red-h) !important; }
.nav-hbg {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
  border-radius: 999px;
}
.nav-hbg span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: all .25s; }

#nav-drawer {
  display: none;
  position: fixed;
  top: 78px;
  left: 16px; right: 16px;
  z-index: 799;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 8px;
  border: 1px solid var(--line);
}
#nav-drawer.open { display: block; }
#nav-drawer ul { list-style: none; }
#nav-drawer li { border-bottom: 1px solid var(--line-2); }
#nav-drawer li:last-child { border-bottom: none; }
#nav-drawer a {
  display: block; padding: 14px 16px;
  font-size: 15px; font-weight: 400; color: var(--ink-2);
  border-radius: 12px;
}
#nav-drawer a:hover { background: var(--bg); color: var(--red); }
#nav-drawer .d-cta { background: var(--red); color: #fff; text-align: center; margin-top: 4px; }
#nav-drawer .d-cta:hover { background: var(--red-h); color: #fff; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-hbg { display: none; }
  #nav-drawer { display: none !important; }
}

/* ─────────────────────────── HERO */
#hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: 140px var(--gutter) 80px;
  overflow: hidden;
}
@media (min-width: 768px) {
  #hero { padding: 180px var(--gutter) 110px; }
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(227,0,15,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 90%, rgba(227,0,15,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0F0F11 0%, #1A1A1D 100%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr 1fr; gap: 64px; }
}
.hero-text h1 {
  font-family: var(--f);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 24px;
}
.hero-text h1 strong { font-weight: 500; }
.hero-text h1 .accent { color: var(--red); font-weight: 400; }
.hero-text p {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.hero-frame {
  position: absolute; inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #1A1A1D 0%, #0F0F11 100%);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.hero-frame img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
  width: 70%; height: auto;
}
.hero-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(227,0,15,0.15) 0%, transparent 60%);
}
.hero-badge {
  position: absolute;
  width: 110px; height: 140px;
  background: linear-gradient(180deg, #1A1A1D 0%, #0a0a0a 100%);
  border: 1px solid rgba(227,0,15,0.4);
  border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  transform: rotate(-8deg);
}
.hero-badge.b1 { top: 8%; right: -30px; transform: rotate(-12deg); }
.hero-badge.b2 { bottom: 12%; right: -50px; transform: rotate(8deg); }
.hero-badge .b-top {
  font-family: var(--fc);
  font-size: 11px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-badge .b-yr {
  font-family: var(--fc);
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}
.hero-badge .b-lbl {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-top: 6px;
  line-height: 1.3;
}

/* ─────────────────────────── BEKANNT AUS */
#bekannt {
  background: var(--dark);
  padding: 56px var(--gutter) 80px;
  text-align: center;
  color: #fff;
}
#bekannt p {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 36px;
  font-family: var(--fc);
  font-weight: 500;
}
.bekannt-logos {
  display: flex;
  gap: 56px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}
.bekannt-logos span {
  font-family: var(--f);
  font-weight: 400;
  font-size: 22px;
  color: rgba(255,255,255,0.78);
  letter-spacing: -0.005em;
  transition: color .25s, transform .25s;
  cursor: default;
}
.bekannt-logos span:hover {
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .bekannt-logos { gap: 28px; row-gap: 18px; }
  .bekannt-logos span {
    font-size: 19px;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
  }
}

/* ─────────────────────────── STATS GLASS */
#stats {
  background: var(--dark);
  padding: 0 var(--gutter) 100px;
  position: relative;
}
.stats-card {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (min-width: 640px) {
  .stats-card { grid-template-columns: repeat(3, 1fr); padding: 48px 40px; }
}
.stat-block { padding: 0 16px; }
.stat-block + .stat-block { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 32px; }
@media (min-width: 640px) {
  .stat-block + .stat-block { border-top: none; border-left: 1px solid rgba(255,255,255,0.07); padding-top: 0; }
}
.stat-n {
  font-family: var(--f);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat-n .r { color: var(--red); }
.stat-l { font-size: 15px; font-weight: 400; color: #fff; margin-bottom: 4px; }
.stat-s { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.72); line-height: 1.6; }

/* ─────────────────────────── ABOUT (Über uns) */
#about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.about-img {
  aspect-ratio: 5/4;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(227,0,15,0.15) 0%, transparent 50%),
    linear-gradient(180deg, #2a2a2d 0%, #0F0F11 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: var(--fc);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about-text h2 strong { color: var(--red); font-weight: 500; }
.about-text p {
  font-size: 16px; font-weight: 300;
  color: var(--ink-3); line-height: 1.8;
  margin-bottom: 20px;
}
.about-text p strong { color: var(--ink); font-weight: 500; }
.about-text .btn { margin-top: 12px; }

/* ─────────────────────────── PROBLEM (Das Problem) */
#problem { background: var(--white); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .problem-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.problem-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--bg);
  border-radius: 16px;
  align-items: flex-start;
}
.problem-icon {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff; font-size: 18px;
  font-style: normal;
}
.problem-item h3 {
  font-size: 16px; font-weight: 500; color: var(--ink);
  margin-bottom: 6px;
}
.problem-item p {
  font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.65;
}

/* ─────────────────────────── KONZEPTE / SERVICES */
#konzepte { background: var(--white); }
.konzepte-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 640px) {
  .konzepte-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (min-width: 1024px) {
  .konzepte-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.k-card {
  background: var(--white);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 8px 32px rgba(0,0,0,0.04);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.k-card:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.08); }
.k-icon {
  width: 64px; height: 64px;
  background: var(--red);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px;
  margin: 0 auto 24px;
  font-style: normal;
}
.k-card h3 {
  font-size: 22px; font-weight: 500; color: var(--ink);
  margin-bottom: 16px; letter-spacing: -0.01em;
}
.k-card p {
  font-size: 15px; font-weight: 300; color: var(--ink-3); line-height: 1.75;
  margin-bottom: 8px;
}
.k-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  background: var(--red); color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 400;
  border: none;
  transition: background .2s;
}
.k-more:hover { background: var(--red-h); }

/* ─────────────────────────── EXPERTENGESPRÄCH BANNER */
#big-cta {
  position: relative;
  background: linear-gradient(135deg, #0F0F11 0%, #1A1A1D 100%);
  color: #fff;
  padding: 80px var(--gutter);
  overflow: hidden;
  text-align: center;
}
#big-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(227,0,15,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(227,0,15,0.10) 0%, transparent 50%);
}
#big-cta .wrap { position: relative; }
#big-cta h2 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
#big-cta .quote {
  font-style: italic; color: rgba(255,255,255,0.6);
  font-size: 16px; max-width: 540px; margin: 0 auto 32px; line-height: 1.7;
}
#big-cta .quote-author { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,0.4); }
.big-cta-btn {
  background: var(--red); color: #fff;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 16px; font-weight: 400;
  display: inline-block;
  transition: background .25s, transform .15s;
  border: none;
}
.big-cta-btn:hover { background: var(--red-h); }
.big-cta-btn:active { transform: translateY(1px); }

/* ─────────────────────────── TESTIMONIALS */
#testimonials { background: var(--bg); }
.test-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 768px) { .test-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.test-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.test-card .test-author { margin-top: auto; }
.test-stars { color: var(--red); margin-bottom: 16px; font-size: 16px; letter-spacing: 2px; }
.test-card p {
  font-size: 15px; font-weight: 300; color: var(--ink-2);
  line-height: 1.75; margin-bottom: 24px;
}
.test-author { padding-top: 8px; text-align: center; }
.test-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-h) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 500; font-size: 16px;
  flex-shrink: 0;
}
.test-name { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.test-role { font-size: 13px; color: var(--ink-3); }

.test-pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 36px;
}
.test-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
}
.test-dot.on { background: var(--red); width: 24px; border-radius: 4px; }

/* ─────────────────────────── AWARDS BAND */
#awards {
  background: var(--white);
  padding: 60px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.awards-row {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  max-width: 900px; margin: 0 auto;
}
.award-badge {
  width: 90px; height: 120px;
  background: linear-gradient(180deg, #1A1A1D 0%, #0a0a0a 100%);
  border: 1.5px solid rgba(227,0,15,0.3);
  border-radius: 6px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.award-badge .a-top { font-family: var(--fc); font-size: 9px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; text-align: center; }
.award-badge .a-yr { font-family: var(--fc); font-size: 22px; font-weight: 500; color: #fff; line-height: 1; }
.award-badge .a-lbl { font-size: 8px; color: rgba(255,255,255,0.45); margin-top: 4px; text-align: center; line-height: 1.3; }

/* ─────────────────────────── RESOURCES (Fachreport / Checkliste) */
#resources { background: var(--white); }
.res-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}
.res-block:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .res-block { grid-template-columns: 1fr 1fr; gap: 80px; }
  .res-block.flip > .res-text { order: 2; }
}
.res-img {
  aspect-ratio: 4/3;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--warm) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-4);
  font-family: var(--fc);
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line);
}
.res-text h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500; color: var(--ink);
  line-height: 1.25; letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.res-text p {
  font-size: 16px; font-weight: 300; color: var(--ink-3); line-height: 1.75;
  margin-bottom: 24px;
}
.res-text p strong { color: var(--ink); font-weight: 500; }

/* ─────────────────────────── TEAM */
#team { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 56px;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 3/4;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(227,0,15,0.2) 0%, transparent 50%),
    linear-gradient(180deg, #3a3a3d 0%, #1a1a1d 100%);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-family: var(--fc); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
}
.team-name { font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em; }
.team-role { font-size: 15px; font-weight: 400; color: var(--red); }

/* ─────────────────────────── FAQ */
#faq { background: var(--bg); }
.faq-wrap { max-width: 760px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: none; border: none; text-align: left;
  font-family: var(--f);
  font-size: 16px; font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  transition: color .2s;
}
.faq-q:hover { color: var(--red); }
.faq-ico {
  flex-shrink: 0;
  font-style: normal; color: var(--red);
  font-size: 12px;
  transition: transform .25s;
}
.faq-item.on .faq-q { color: var(--red); }
.faq-item.on .faq-ico { transform: rotate(90deg); }
.faq-a {
  display: none;
  padding: 0 0 22px;
  font-size: 15px; font-weight: 300;
  color: var(--ink-3); line-height: 1.8;
}
.faq-item.on .faq-a { display: block; }

/* ─────────────────────────── CONTACT */
#contact { background: var(--white); }
.contact-icons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
  margin: 56px 0;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
@media (min-width: 640px) { .contact-icons { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.ci-icon {
  width: 56px; height: 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--red);
  font-size: 22px;
  font-style: normal;
}
.ci h4 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.ci a { color: var(--red); font-size: 15px; font-weight: 300; }
.ci a:hover { text-decoration: underline; }
.ci span { display: block; font-size: 13px; color: var(--ink-4); margin-top: 4px; }

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--line);
}
.contact-form h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 500; color: var(--ink);
  margin-bottom: 8px; text-align: center; letter-spacing: -0.01em;
}
.contact-form > p {
  font-size: 14px; color: var(--ink-3); text-align: center; margin-bottom: 28px; font-weight: 300;
}
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-2 { grid-template-columns: 1fr; } }
.form-g { margin-bottom: 14px; }
.form-i, .form-t, .form-s {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink);
  padding: 14px 16px;
  font-family: var(--f);
  font-size: 15px;
  font-weight: 400;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 12px;
}
.form-i:focus, .form-t:focus, .form-s:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,0,15,0.12); }
.form-i::placeholder, .form-t::placeholder { color: var(--ink-3); opacity: 1; }
.form-t { height: 110px; resize: vertical; }
.form-s {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%239CA3AF'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-ck { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.form-ck input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.form-ck label { font-size: 13px; font-weight: 300; color: var(--ink-3); line-height: 1.6; }
.form-ck a { color: var(--red); }
.contact-form .btn { width: 100%; }

/* ─────────────────────────── LEGAL PAGES */
.page { display: none; }
.page.active { display: block; }
.legal {
  padding: 140px var(--gutter) 80px;
  min-height: 100vh;
  background: var(--white);
}
.legal-inner { max-width: 720px; margin: 0 auto; }
.legal-h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.legal-meta {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-4);
  margin-bottom: 40px;
  padding: 12px 0 12px 16px;
  border-left: 2px solid var(--red);
  border-bottom: 1px solid var(--line);
}
.ls { margin-bottom: 32px; }
.ls h2 {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.ls h3 { font-size: 14px; font-weight: 500; color: var(--ink-2); margin: 14px 0 6px; }
.ls p { font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.85; margin-bottom: 10px; }
.ls ul { margin: 8px 0 12px 22px; }
.ls li { font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.85; }
.ls a { color: var(--red); }
.lh { background: var(--bg); border-left: 2px solid var(--red); padding: 14px 16px; margin: 16px 0; font-size: 14px; font-weight: 300; color: var(--ink-3); line-height: 1.75; border-radius: 4px; }

/* ─────────────────────────── FOOTER */
footer {
  background: var(--dark);
  padding: 60px var(--gutter) 30px;
  color: rgba(255,255,255,0.72);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 28px;
}
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr; } }
.f-logo {
  filter: brightness(0) invert(1);
  height: 36px; opacity: 0.95;
  margin-bottom: 16px;
}
.f-desc {
  font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 380px;
}
.fc h4 {
  font-family: var(--fc);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-bottom: 14px;
}
.fc ul { list-style: none; }
.fc li { margin-bottom: 8px; }
.fc a { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.85); transition: color .2s; }
.fc a:hover { color: #fff; }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.f-copy { font-size: 13px; color: rgba(255,255,255,0.7); }
.f-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.f-legal a { font-size: 13px; color: rgba(255,255,255,0.7); transition: color .2s; }
.f-legal a:hover { color: #fff; }
.f-hours { font-size: 13px; color: rgba(255,255,255,0.7); }


/* ─────────────────────────── ANIMATIONS */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.vis { opacity: 1; transform: none; }

/* ─────────────────────────── DESKTOP FIXED 1280 */
@media (min-width: 1280px) {
  :root { --max: 1280px; --gutter: 0px; }
  .wrap,
  .hero-inner,
  .stats-card,
  .footer-inner,
  .legal-inner,
  .contact-icons,
  .contact-form,
  .faq-wrap,
  .awards-row {
    width: 1280px !important;
    max-width: 1280px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 60px;
    padding-right: 60px;
  }
  /* legal pages stay narrow for readability inside the 1280 frame */
  .legal-inner { max-width: 760px !important; width: auto !important; padding-left: 60px; padding-right: 60px; }
  /* form & faq narrow inside container */
  .contact-form { max-width: 720px !important; width: auto !important; padding-left: 40px; padding-right: 40px; }
  .faq-wrap { max-width: 760px !important; width: auto !important; }
  .awards-row { max-width: 900px !important; width: auto !important; }
  /* full-width sections keep edge backgrounds, internal padding zero */
  section { padding-left: 0; padding-right: 0; }
  #hero, #bekannt, #stats, #big-cta, #awards, #nl, footer { padding-left: 0; padding-right: 0; }
  /* cookie banner gets its own padding */
  #cookie { padding-left: 60px; padding-right: 60px; }
}

/* ─────────────────────────── KONZEPT DETAIL PAGES */
.kd-hero {
  background: var(--dark);
  color: #fff;
  padding: 140px var(--gutter) 80px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .kd-hero { padding: 170px var(--gutter) 100px; } }
.kd-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(227,0,15,0.18) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 90%, rgba(227,0,15,0.08) 0%, transparent 50%);
}
.kd-hero .wrap { position: relative; max-width: 1000px; }
.kd-back {
  display: inline-block;
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  transition: color .2s;
}
.kd-back:hover { color: #fff; }
.kd-hero .eyebrow { color: #FF6B6B; }
.kd-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
  max-width: 820px;
}
.kd-title strong { font-weight: 500; }
.kd-title .accent { color: var(--red); font-weight: 400; }
.kd-lead {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 32px;
}
.kd-meta {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px;
}
.kd-meta span {
  font-size: 13px; padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: rgba(255,255,255,0.8);
}
.kd-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.kd-section { padding: 80px var(--gutter); background: var(--white); }
.kd-section-alt { background: var(--bg); }
.kd-section .wrap { max-width: 1000px; }
.kd-section h2 { margin-bottom: 12px; }
.kd-section .lead { margin: 0; }

.kd-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}
@media (min-width: 768px) { .kd-list { grid-template-columns: 1fr 1fr; gap: 22px; } }
.kd-item {
  display: flex; gap: 16px;
  padding: 24px;
  background: var(--bg);
  border-radius: 14px;
  align-items: flex-start;
}
.kd-section-alt .kd-item { background: var(--white); border: 1px solid var(--line); }
.kd-item-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500;
  font-family: var(--fc);
}
.kd-item-text strong {
  display: block;
  font-size: 16px; font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.kd-item-text p {
  font-size: 14px; font-weight: 300;
  color: var(--ink-3); line-height: 1.7;
}

.kd-tech {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 36px;
}
.kd-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  transition: border-color .2s, transform .15s;
}
.kd-section-alt .kd-chip { background: var(--bg); }
.kd-chip:hover { border-color: var(--red); transform: translateY(-1px); }
.kd-chip strong { font-weight: 500; color: var(--ink); }
.kd-chip span { color: var(--ink-4); font-size: 13px; font-weight: 300; }

.kd-target {
  display: grid; grid-template-columns: 1fr; gap: 0;
  margin-top: 36px;
  max-width: 760px;
}
.kd-target-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.kd-target-item:last-child { border-bottom: none; }
.kd-target-item::before {
  content: "✓";
  color: var(--red);
  font-weight: 500;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  width: 22px; height: 22px;
  background: var(--red-s);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.kd-target-item span {
  font-size: 15px; color: var(--ink-2); font-weight: 300; line-height: 1.6;
}

.kd-cta {
  background: linear-gradient(135deg, #0F0F11 0%, #1A1A1D 100%);
  color: #fff;
  padding: 80px var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.kd-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(227,0,15,0.15) 0%, transparent 60%);
}
.kd-cta .wrap { position: relative; max-width: 720px; }
.kd-cta h2 { color: #fff; margin-bottom: 14px; }
.kd-cta p { color: rgba(255,255,255,0.6); font-size: 16px; margin-bottom: 30px; }
.kd-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (min-width: 1280px) {
  .kd-hero { padding-left: 0; padding-right: 0; }
  .kd-section { padding-left: 0; padding-right: 0; }
  .kd-cta { padding-left: 0; padding-right: 0; }
  .kd-hero .wrap, .kd-section .wrap, .kd-cta .wrap {
    width: 1280px !important;
    max-width: 1280px !important;
    padding-left: 60px;
    padding-right: 60px;
  }
}



/* ─────────────────────────── GHOST CONTENT (post body, blog) */
.gh-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px var(--gutter);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
}
.gh-content > * + * { margin-top: 20px; }
.gh-content h2 {
  font-size: 1.6rem; font-weight: 500; color: var(--ink);
  margin-top: 48px; margin-bottom: 16px; letter-spacing: -0.01em;
}
.gh-content h3 {
  font-size: 1.2rem; font-weight: 500; color: var(--ink);
  margin-top: 32px; margin-bottom: 12px;
}
.gh-content p { font-weight: 300; }
.gh-content a { color: var(--red); text-decoration: underline; }
.gh-content ul, .gh-content ol { padding-left: 22px; font-weight: 300; }
.gh-content li { margin-bottom: 8px; }
.gh-content strong { font-weight: 500; color: var(--ink); }
.gh-content blockquote {
  border-left: 3px solid var(--red);
  padding: 8px 0 8px 20px;
  font-style: italic;
  color: var(--ink-3);
  margin: 24px 0;
}
.gh-content code {
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: ui-monospace, monospace;
}
.gh-content pre {
  background: var(--dark);
  color: #e6e6e6;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
}
.gh-content pre code { background: transparent; padding: 0; color: inherit; }
.gh-content figure { margin: 32px 0; }
.gh-content figure img { border-radius: 12px; }

.post-hero {
  padding: 140px var(--gutter) 60px;
  background: var(--bg);
  text-align: center;
}
.post-hero .wrap { max-width: 760px; margin: 0 auto; }
.post-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 16px;
}
.post-hero .post-meta { font-size: 13px; color: var(--ink-4); margin-bottom: 8px; }
.post-hero .post-meta a { color: var(--red); }

.cms-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
}


/* ─────────────────────────── KOENIG EDITOR IMAGE WIDTH CLASSES */
/* Required by Ghost for image cards with wide/full width settings */
.kg-width-wide {
  position: relative;
  width: 85vw;
  max-width: 1200px;
  left: 50%;
  transform: translateX(-50%);
  margin: 32px 0;
}
.kg-width-full {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin: 32px 0;
  max-width: none;
}
.kg-width-full img,
.kg-width-wide img {
  width: 100%;
  height: auto;
  border-radius: 0;
}
.kg-width-wide img { border-radius: 12px; }
.kg-card { margin: 32px 0; }
.kg-image-card figcaption,
.kg-bookmark-card figcaption,
.kg-gallery-card figcaption,
.kg-callout-card figcaption,
.kg-toggle-card figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--ink-4);
  margin-top: 10px;
}
.kg-bookmark-card {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
}
.kg-bookmark-content { padding: 20px; flex: 1; }
.kg-bookmark-title {
  font-weight: 500;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 6px;
}
.kg-bookmark-description {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}
.kg-bookmark-thumbnail img {
  width: 200px;
  height: 100%;
  object-fit: cover;
}
.kg-callout-card {
  background: var(--bg);
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 24px 0;
}
.kg-button-card {
  text-align: center;
  margin: 32px 0;
}
.kg-header-card {
  text-align: center;
  padding: 60px 20px;
}


/* Anonymes Testimonial-Avatar */
.test-avatar-anon {
  background: var(--bg) !important;
  border: 1px solid var(--line);
  color: var(--ink-3) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.test-avatar-anon svg { stroke: var(--ink-3); }


/* ─────────────────────────── EXPERTISE / TECHNOLOGIEN */
#expertise { background: var(--bg); border-top: 1px solid var(--line); }
#expertise .lead { margin-bottom: 56px; }
.exp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px) { .exp-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 1024px) { .exp-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.exp-col {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: transform .2s, box-shadow .2s;
}
.exp-col:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.exp-cat {
  font-family: var(--fc);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.exp-list { list-style: none; padding: 0; margin: 0; }
.exp-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}
.exp-list li:last-child { border-bottom: none; padding-bottom: 0; }
.exp-list li:first-child { padding-top: 0; }
.exp-list strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
}
.exp-list span {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.55;
}
.exp-foot {
  text-align: center;
  margin-top: 48px;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-4);
  font-style: italic;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}


/* ─────────────────────────── MOBILE LEGIBILITY (Light-300 → Regular-400) */
@media (max-width: 768px) {
  body, p, li {
    font-weight: 400;
  }
  .lead, .lead.on-dark {
    font-weight: 400;
  }
}
