/* ════════════════════════════════════════════════════════════
   onlinemarketing-consultant.de — Relaunch 2026
   Design: „Editorial Dark" · Cormorant Garamond + Inter
   ════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #0B1A24; --bg2: #08141C; --surface: #10222E; --surface2: #142836;
  --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.05);
  --fg1: #F4F7F7; --fg2: rgba(230,242,242,.78); --fg3: rgba(230,242,242,.52); --fg4: rgba(230,242,242,.3);
  --teal: #10C8CD; --teal-bright: #4FE3E7; --teal-soft: rgba(16,200,205,.12); --teal-line: rgba(16,200,205,.4);
  --ink-on-teal: #052024;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 4.5vw, 64px);
  --maxw: 1320px;
  --header-bg: rgba(8,20,28,.88);
  --ghost-line: rgba(255,255,255,.28);
  --logo-filter: grayscale(1) invert(1) brightness(1.6);
  --logo-op: .42;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F6FAFA; --bg2: #ECF3F4; --surface: #FFFFFF; --surface2: #F1F6F7;
  --line: rgba(8,32,42,.15); --line2: rgba(8,32,42,.08);
  --fg1: #0B1A24; --fg2: rgba(11,26,36,.86); --fg3: rgba(11,26,36,.68); --fg4: rgba(11,26,36,.52);
  --teal: #077A7F; --teal-bright: #065E62; --teal-soft: rgba(7,122,127,.09); --teal-line: rgba(7,122,127,.5);
  --ink-on-teal: #FFFFFF;
  --header-bg: rgba(246,250,250,.92);
  --ghost-line: rgba(8,32,42,.4);
  --logo-filter: grayscale(1) brightness(.25);
  --logo-op: .55;
  color-scheme: light;
}
/* Heros: helle Bildvariante im Light-Mode */
[data-theme="light"] .hero-home { background: url('../img/hero-light.png') center 60% / cover no-repeat; }
[data-theme="light"] .hero-sub { background: linear-gradient(90deg, #F6FAFA 0%, #F6FAFA 54%, rgba(246,250,250,.78) 64%, rgba(246,250,250,.28) 84%, rgba(246,250,250,.08) 100%), url('../img/hero-light.png') right -260px center / 1500px auto no-repeat, #F6FAFA; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--fg2); font-family: var(--sans); font-size: 15.5px; font-weight: 300; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* Sicherheitsnetz: verhindert horizontalen Überlauf durch überbreite Inhalte */
.wrap { overflow-x: clip; }
:where(pre, table, iframe, video, canvas) { max-width: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-bright); text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--teal); color: var(--ink-on-teal); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal); color: var(--ink-on-teal); padding: 10px 18px; z-index: 999; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ── Header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: flex-start; height: 74px; gap: 22px; }
.brand { font-family: var(--serif); font-size: 21px; color: var(--fg1); letter-spacing: .01em; white-space: nowrap; margin-right: auto; }
.brand em { color: var(--teal); font-style: italic; }
.brand:hover { text-decoration: none; color: var(--fg1); }
.main-nav { display: flex; align-items: center; gap: 32px; order: 1; }
.main-nav a { font-size: 12.5px; font-weight: 400; letter-spacing: .06em; color: var(--fg3); }
.main-nav a:hover { color: var(--fg1); text-decoration: none; }
.main-nav a[aria-current="page"], .main-nav a.active { color: var(--teal); }
.nav-cta { border: 1px solid var(--teal); color: var(--teal) !important; font-size: 12px; font-weight: 500; letter-spacing: .06em; padding: 9px 20px; border-radius: 2px; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--teal); color: var(--ink-on-teal) !important; text-decoration: none !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; width: 42px; height: 42px; cursor: pointer; font-size: 17px; color: var(--fg1); order: 3; }
.theme-toggle { order: 2; background: none; border: 1px solid var(--line); border-radius: 2px; width: 42px; height: 42px; cursor: pointer; color: var(--fg2); display: grid; place-items: center; transition: color .2s, border-color .2s; }
.theme-toggle:hover { color: var(--teal); border-color: var(--teal-line); }
.theme-toggle svg { display: block; }
.theme-toggle .ic-moon { display: none; }
[data-theme="light"] .theme-toggle .ic-sun { display: none; }
[data-theme="light"] .theme-toggle .ic-moon { display: block; }
@media (max-width: 940px) {
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 20px var(--pad) 28px; gap: 20px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .05em; padding: 15px 32px; border-radius: 2px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--teal); color: var(--ink-on-teal); }
.btn-primary:hover { background: var(--teal-bright); color: var(--ink-on-teal); }
.btn-ghost { border-color: var(--ghost-line); color: var(--fg1); }
.btn-ghost:hover { border-color: var(--fg1); color: var(--fg1); }

/* ── Typography helpers ─────────────────────────────────── */
.label { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin: 0 0 20px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--fg1); font-weight: 300; letter-spacing: -0.01em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--teal); }
.title-xl { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; margin: 0 0 30px; max-width: 1000px; }
.title-lg { font-size: clamp(34px, 4vw, 56px); line-height: 1.06; margin: 0 0 22px; }
.title-md { font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; line-height: 1.2; }
.lead { font-size: clamp(15px, 1.3vw, 16.5px); font-weight: 300; color: var(--fg2); line-height: 1.85; max-width: 620px; }
.lead b, .lead strong { font-weight: 500; color: var(--fg1); }
.sublead { font-size: 15px; color: var(--fg3); line-height: 1.85; max-width: 620px; }
.mono-meta, .meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg4); }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: clamp(64px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); }
.section.alt { background: var(--bg2); }
.sec-head { margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head .lead { margin-top: 4px; }

/* ── Hero (Home) ────────────────────────────────────────── */
.hero-home { background: url('../img/hero-dark.png') center 60% / cover no-repeat; border-bottom: 1px solid var(--line); min-height: 36vw; display: flex; align-items: center; }
.hero-home > .wrap { width: 100%; }
.hero-home .inner { padding-top: clamp(64px, 9vw, 116px); padding-bottom: clamp(44px, 6vw, 70px); }
.hero-home .lead { margin-bottom: 42px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, max-content); gap: clamp(36px, 6vw, 80px); margin-top: clamp(48px, 7vw, 84px); padding-top: 36px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .hero-stats { grid-template-columns: 1fr; gap: 26px; } }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4vw, 54px); line-height: 1; color: var(--fg1); }
.stat b i { font-style: italic; color: var(--teal); }
.stat span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); display: block; margin-top: 10px; }

/* ── Hero (Subpages) ────────────────────────────────────── */
.hero-sub { background: linear-gradient(90deg, #0B1A24 0%, #0B1A24 54%, rgba(11,26,36,.78) 64%, rgba(11,26,36,.28) 84%, rgba(11,26,36,.08) 100%), url('../img/hero-dark.png') right -260px center / 1500px auto no-repeat, #0B1A24; border-bottom: 1px solid var(--line); }
[data-theme="light"] .hero-home .lead b, [data-theme="light"] .hero-home .lead strong { color: #052024; }
.hero-sub .inner { padding-top: clamp(52px, 7vw, 88px); padding-bottom: clamp(44px, 6vw, 64px); }
.hero-sub .title-xl { font-size: clamp(40px, 5vw, 70px); }
.hero-sub .lead { max-width: 700px; }
.breadcrumb { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg4); margin-bottom: 28px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--fg4); }
.breadcrumb a { color: var(--fg4); }
.breadcrumb a:hover { color: var(--fg2); }
.breadcrumb [aria-current] { color: var(--teal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip { font-size: 11px; letter-spacing: .08em; border: 1px solid var(--line); border-radius: 2px; padding: 7px 14px; color: var(--fg3); }

/* ── Logo band ──────────────────────────────────────────── */
.logoband { background: var(--bg2); border-bottom: 1px solid var(--line); }
.logoband .inner { display: block; padding-top: 26px; padding-bottom: 28px; }
.logoband p { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg4); margin: 0 0 20px; }
.logos { display: flex; gap: clamp(10px, 2.4vw, 48px); justify-content: center; align-items: center; flex-wrap: wrap; }
.logos img { height: clamp(12px, 1.75vw, 26px); width: auto; flex: 0 0 auto; filter: var(--logo-filter); opacity: var(--logo-op); transition: opacity .3s; }
.logos img:hover { opacity: .85; }
/* Homepage-Logowand: umbrechendes Grid, passt sich dem Gerät an, nie Überlauf */
.logoband .logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(92px, 15vw, 172px), 1fr)); gap: clamp(20px, 2.6vw, 36px) clamp(14px, 2vw, 30px); justify-items: center; align-items: center; }
.logoband .logos img { height: auto; max-height: clamp(22px, 2.7vw, 30px); max-width: 100%; width: auto; }

/* ── USP columns ────────────────────────────────────────── */
.usps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.usp { padding: 40px 36px 10px 0; border-right: 1px solid var(--line); margin-right: 36px; }
.usp:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.usp .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--teal); display: block; margin-bottom: 18px; }
.usp h3 { font-weight: 400; font-size: 27px; margin: 0 0 14px; line-height: 1.2; }
.usp p { font-size: 14px; color: var(--fg3); line-height: 1.8; }
.usp p b { color: var(--fg2); font-weight: 500; }
@media (max-width: 940px) { .usps { grid-template-columns: 1fr; } .usp { border-right: none; margin-right: 0; padding: 30px 0; border-bottom: 1px solid var(--line); } .usp:last-child { border-bottom: none; } }

/* ── Service rows ───────────────────────────────────────── */
.rows { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.row-item { display: grid; grid-template-columns: 80px minmax(240px, 350px) 1fr 170px; gap: 32px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); color: inherit; transition: background .2s; }
.row-item:hover { text-decoration: none; color: inherit; background: linear-gradient(90deg, var(--teal-soft), transparent 60%); border-left: 2px solid var(--teal); padding-left: 22px; margin-left: -24px; }
.row-item .no { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--fg4); }
.row-item h3 { font-weight: 400; font-size: clamp(23px, 2.2vw, 28px); margin: 0; line-height: 1.15; }
.row-item p { font-size: 13.5px; color: var(--fg3); line-height: 1.75; }
.row-item .go { text-align: right; font-size: 12px; letter-spacing: .1em; color: var(--teal); white-space: nowrap; }
.row-item.hot { background: linear-gradient(90deg, var(--teal-soft), transparent 70%); border-left: 2px solid var(--teal); padding-left: 22px; margin-left: -24px; }
@media (max-width: 940px) { .row-item { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; } .row-item .no { display: none; } .row-item .go { text-align: left; } .row-item.hot, .row-item:hover { margin-left: 0; padding-left: 18px; } }
@media (min-width: 941px) { .rows .row-item p { min-height: 5.25em; } }

/* ── Cases ──────────────────────────────────────────────── */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 940px) { .cases { grid-template-columns: 1fr; } }
.case { border-top: 1px solid var(--line); padding-top: 28px; }
.case .metric { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 5vw, 74px); color: var(--teal); line-height: 1; }
.case h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--fg1); margin: 18px 0 8px; letter-spacing: .02em; }
.case p { font-size: 13px; color: var(--fg3); line-height: 1.75; }

/* ── Steps ──────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.step::before { content: ''; position: absolute; top: -1px; left: 0; width: 34px; height: 1px; background: var(--teal); }
.step .sn { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--teal); }
.step h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; margin: 10px 0 8px; }
.step p { font-size: 12.5px; color: var(--fg3); line-height: 1.7; }

/* ── News list (editorial) ──────────────────────────────── */
.newslist { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.newsitem { display: grid; grid-template-columns: 140px 1fr 300px; gap: clamp(20px, 3vw, 40px); align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); color: inherit; }
.newsitem:hover { text-decoration: none; color: inherit; }
.newsitem:hover h3 { color: var(--teal-bright); }
.newsitem .date { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg4); }
.newsitem h3 { font-weight: 400; font-size: clamp(21px, 2vw, 26px); line-height: 1.25; margin: 0 0 6px; transition: color .2s; }
.newsitem .cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.newsitem .thumb { aspect-ratio: 16/6; overflow: hidden; border: 1px solid var(--line); }
.newsitem .thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 940px) { .newsitem { grid-template-columns: 1fr; gap: 12px; } .newsitem .thumb { order: -1; } }

/* featured */
.featured { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); background: var(--surface); margin-top: clamp(32px, 4vw, 48px); color: inherit; }
.featured:hover { text-decoration: none; color: inherit; border-color: var(--teal-line); }
@media (max-width: 900px) { .featured { grid-template-columns: 1fr; } }
.featured .img { min-height: 320px; background-size: cover; background-position: center; border-right: 1px solid var(--line); }
@media (max-width: 900px) { .featured .img { border-right: none; border-bottom: 1px solid var(--line); min-height: 220px; } }
.featured .body { padding: clamp(28px, 3.5vw, 46px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured h3 { font-weight: 400; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; margin: 14px 0 16px; }
.featured p { font-size: 14px; color: var(--fg3); line-height: 1.8; margin: 0 0 24px; }
.featured .cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 38px; }
.filter-row a { font-size: 12px; letter-spacing: .06em; padding: 8px 18px; border: 1px solid var(--line); border-radius: 20px; color: var(--fg3); }
.filter-row a:hover { text-decoration: none; border-color: var(--fg3); color: var(--fg1); }
.filter-row a.on { border-color: var(--teal); color: var(--teal); }

/* ── Deliverables ───────────────────────────────────────── */
.deliv { list-style: none; margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.deliv li { display: grid; grid-template-columns: 54px minmax(200px, 300px) 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.deliv .dn { font-family: var(--serif); font-style: italic; color: var(--teal); font-size: 17px; }
.deliv h3 { font-family: var(--sans); margin: 0; font-size: 15px; font-weight: 600; }
.deliv p { margin: 0; font-size: 13.5px; color: var(--fg3); line-height: 1.75; }
@media (max-width: 800px) { .deliv li { grid-template-columns: 1fr; gap: 6px; } .deliv .dn { display: none; } }

/* split + aside */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (max-width: 1020px) { .split { grid-template-columns: 1fr; } }
.case-aside { border: 1px solid var(--line); background: var(--surface); padding: 34px; position: sticky; top: 104px; }
.case-aside img { margin: -34px -34px 26px; width: calc(100% + 68px); max-width: none; border-bottom: 1px solid var(--line); }
.case-aside img[src*="profile-photo"] { filter: grayscale(1); transition: filter .5s ease; }
.case-aside img[src*="profile-photo"]:hover { filter: grayscale(0); }
.case-aside .k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.case-aside h3 { font-weight: 400; font-size: 24px; margin: 10px 0 10px; }
.case-aside p { font-size: 13px; color: var(--fg3); line-height: 1.75; margin: 0 0 10px; }
.case-aside .big { font-family: var(--serif); font-weight: 300; font-size: 56px; color: var(--teal); line-height: 1; margin: 14px 0 8px; }
@media (max-width: 1020px) { .case-aside { position: static; } }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 23px); color: var(--fg1); padding: 24px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal); font-family: var(--sans); font-weight: 300; font-size: 22px; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq .a { margin: 0; padding: 0 0 26px; max-width: 760px; font-size: 14px; color: var(--fg3); line-height: 1.8; }

/* ── Pull quote ─────────────────────────────────────────── */
.pull { border-left: 2px solid var(--teal); padding: 8px 0 8px 30px; margin: 34px 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 25px); font-weight: 300; color: var(--fg1); line-height: 1.5; }
.pull .who { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); margin-top: 14px; }

/* ── CTA section ────────────────────────────────────────── */
.cta-sec { background: var(--bg2); border-bottom: 1px solid var(--line); text-align: center; }
.cta-sec .inner { padding-top: clamp(72px, 9vw, 116px); padding-bottom: clamp(72px, 9vw, 116px); }
.cta-sec h2 { font-size: clamp(36px, 5vw, 62px); line-height: 1.05; margin: 0 auto 26px; max-width: 900px; }
.cta-sec p { max-width: 560px; margin: 0 auto 38px; font-size: 15px; color: var(--fg3); line-height: 1.85; }
.cta-sec .contact-mini { display: flex; justify-content: center; gap: clamp(28px, 4vw, 48px); flex-wrap: wrap; margin-top: 44px; font-size: 14px; }
.cta-sec .contact-mini .k { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg4); display: block; margin-bottom: 5px; }

/* ── Signet (3-Punkte-Marke) ────────────────────────────── */
.brand::before { content: ""; display: inline-block; vertical-align: middle; width: 33px; height: 8px; margin-right: 11px; margin-top: -3px; background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2014'%3E%3Ccircle%20cx='7'%20cy='7'%20r='7'%20fill='%238CA0A8'/%3E%3Ccircle%20cx='32'%20cy='7'%20r='7'%20fill='%238CA0A8'/%3E%3Ccircle%20cx='57'%20cy='7'%20r='7'%20fill='%2310C8CD'/%3E%3C/svg%3E") center/contain no-repeat; }
.cta-sec .inner::before { content: ""; display: block; width: 46px; height: 10px; margin: 0 auto 26px; background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2014'%3E%3Ccircle%20cx='7'%20cy='7'%20r='7'%20fill='%238CA0A8'/%3E%3Ccircle%20cx='32'%20cy='7'%20r='7'%20fill='%238CA0A8'/%3E%3Ccircle%20cx='57'%20cy='7'%20r='7'%20fill='%2310C8CD'/%3E%3C/svg%3E") center/contain no-repeat; }
[data-theme="light"] .brand::before, [data-theme="light"] .cta-sec .inner::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2014'%3E%3Ccircle%20cx='7'%20cy='7'%20r='7'%20fill='%2356666D'/%3E%3Ccircle%20cx='32'%20cy='7'%20r='7'%20fill='%2356666D'/%3E%3Ccircle%20cx='57'%20cy='7'%20r='7'%20fill='%23077A7F'/%3E%3C/svg%3E"); }

/* ── Article ────────────────────────────────────────────── */
.article-hero { border-bottom: 1px solid var(--line); background: var(--bg); }
.article-hero .inner { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(36px, 5vw, 52px); }
.article-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; margin: 0 0 22px; max-width: 950px; }
.article-hero .standfirst { font-size: clamp(16px, 1.4vw, 18px); font-weight: 300; color: var(--fg2); max-width: 720px; line-height: 1.8; }
.article-meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg4); margin-top: 26px; }
.article-meta b { color: var(--teal); font-weight: 500; }
.article-hero-img { border: 1px solid var(--line); margin-top: clamp(32px, 4vw, 44px); }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (max-width: 1020px) { .article-layout { grid-template-columns: 1fr; } }
.article-body { max-width: 760px; font-size: 16px; line-height: 1.9; color: var(--fg2); }
.article-body h2 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 400; margin: 52px 0 18px; }
.article-body h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 400; margin: 38px 0 12px; }
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { margin: 0 0 22px 20px; }
.article-body li { margin-bottom: 10px; }
.article-body li::marker { color: var(--teal); }
.article-body strong { color: var(--fg1); font-weight: 500; }
.article-body .box { background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--teal); padding: 24px 28px; margin: 32px 0; font-size: 14px; }
.article-body .box .bt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 10px; }
.article-body .box p:last-child, .article-body .box ul:last-child { margin-bottom: 0; }
.article-side { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 1020px) { .article-side { position: static; } }
.side-box { border: 1px solid var(--line); background: var(--surface); padding: 24px 26px; }
.side-box .k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 14px; }
.side-box ul { list-style: none; }
.side-box li { padding: 8px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.side-box li:last-child { border-bottom: none; }
.side-box a { color: var(--fg2); }
.side-box a:hover { color: var(--teal-bright); }
.author-box { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); background: var(--surface); padding: 20px 22px; }
.author-box img { width: 58px; height: 58px; object-fit: cover; border-radius: 2px; }
.author-box .n { display: block; font-family: var(--serif); font-size: 19px; color: var(--fg1); line-height: 1.2; }
.author-box .r { display: block; font-size: 12px; color: var(--fg3); margin-top: 5px; }

/* ── Timeline ───────────────────────────────────────────── */
.timeline { border-left: 1px solid var(--line); margin-left: 6px; margin-top: clamp(32px, 4vw, 48px); }
.tl-item { position: relative; padding: 0 0 36px 36px; }
.tl-item:last-child { padding-bottom: 4px; }
.tl-item::before { content: ''; position: absolute; left: -6px; top: 7px; width: 11px; height: 11px; background: var(--bg); border: 2px solid var(--teal); border-radius: 50%; }
.tl-item .when { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg4); }
.tl-item h3 { font-size: 24px; font-weight: 400; margin: 8px 0 2px; }
.tl-item .co { font-size: 13px; color: var(--teal); margin-bottom: 10px; }
.tl-item p, .tl-item ul { font-size: 14px; color: var(--fg3); line-height: 1.75; max-width: 660px; }
.tl-item ul { list-style: none; }
.tl-item ul li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.tl-item ul li::before { content: '—'; position: absolute; left: 0; color: var(--teal); }

/* ── Reference cards ────────────────────────────────────── */
.ref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: clamp(36px, 5vw, 56px); }
@media (max-width: 900px) { .ref-grid { grid-template-columns: 1fr; } }
.ref-card { border: 1px solid var(--line); background: var(--surface); padding: 34px 36px; }
.ref-card .top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.ref-card .top img { height: 30px; width: auto; filter: var(--logo-filter); opacity: .7; }
.ref-card .dur { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.ref-card h3 { font-size: 26px; font-weight: 400; margin: 0 0 12px; }
.ref-card p { font-size: 13.5px; color: var(--fg3); line-height: 1.8; margin-bottom: 14px; }
.ref-card ul { list-style: none; font-size: 13.5px; color: var(--fg3); }
.ref-card ul li { padding-left: 18px; position: relative; margin-bottom: 7px; line-height: 1.65; }
.ref-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--teal); }
/* Logos in Referenz-Karten: umbrechen statt überlaufen, Farb-Hover */
.ref-card .logos { flex-wrap: wrap; justify-content: flex-start; gap: 14px 22px; }
.ref-card .logos img { height: 22px; box-sizing: content-box; padding: 5px 9px; margin: -5px -9px; border-radius: 3px; transition: opacity .25s, filter .25s, background .25s, box-shadow .25s; }
.ref-card .logos img:hover { opacity: .85; }
/* JPG-Logos (weißer Bildhintergrund) unauffällig einblenden */
.logos img[src$=".jpg"] { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
[data-theme="light"] .logos img[src$=".jpg"] { filter: grayscale(1); mix-blend-mode: multiply; }

/* ── Contact form ───────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); }
.form-field input, .form-field textarea, .form-field select { font-family: var(--sans); font-weight: 300; font-size: 15px; color: var(--fg1); background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 14px 16px; outline: none; transition: border-color .2s; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg3) 50%), linear-gradient(135deg, var(--fg3) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--teal); }
.form-field textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--fg4); }
.form-note a { color: var(--fg3); text-decoration: underline; }
.form-status { font-size: 13px; color: var(--teal); }

/* ── Legal pages ────────────────────────────────────────── */
.legal-body { max-width: 780px; font-size: 14.5px; color: var(--fg3); line-height: 1.85; }
.legal-body h2 { font-size: 27px; font-weight: 400; margin: 46px 0 14px; }
.legal-body h3 { font-size: 20px; font-weight: 400; margin: 32px 0 10px; }
.legal-body p { margin: 0 0 16px; }
.legal-body ul { margin: 0 0 16px 20px; }
.legal-body li { margin-bottom: 7px; }
.legal-body strong { color: var(--fg2); font-weight: 500; }
.legal-body address { font-style: normal; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--bg2); }
.site-footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: clamp(48px, 6vw, 68px); padding-bottom: clamp(48px, 6vw, 68px); }
@media (max-width: 940px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .top { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--serif); font-weight: 300; font-size: 24px; color: var(--fg1); margin-bottom: 14px; }
.site-footer h2 em { font-style: italic; color: var(--teal); }
.site-footer .fdesc { font-size: 13px; color: var(--fg3); line-height: 1.8; max-width: 320px; }
.site-footer h3 { font-family: var(--sans); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--fg4); margin-bottom: 18px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--fg3); font-size: 13.5px; }
.site-footer a:hover { color: var(--teal-bright); text-decoration: none; }
.site-footer .bottom { border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg4); }

/* ── Reveal ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ── Print ──────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .cta-sec, .nav-toggle { display: none; }
  body { background: #fff; color: #222; }
  h1, h2, h3, h4 { color: #000; }
  .section { border: none; padding: 24px 0; }
}
