/* Online Ads Freelancer – Design-System */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #0e1726;
  --text: #2c3647;
  --muted: #667085;
  --line: #e3e7ee;
  --blue: #1a5fd0;
  --blue-dark: #0f3f94;
  --blue-soft: #e8f0fd;
  --green: #12925a;
  --green-soft: #e4f5ec;
  --red: #d64532;
  --yellow: #f6b400;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 23, 38, .05), 0 16px 40px -24px rgba(14, 23, 38, .25);
  --max: 1180px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 247, 249, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-dark); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 22px; height: 22px; }
.brand b { display: block; font-size: 16px; letter-spacing: -0.01em; }
.brand small { display: block; font-size: 12px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--blue); transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 8px 22px -12px rgba(26, 95, 208, .8); }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--ink); background: var(--surface); }
.nav .btn { padding: 10px 18px; font-size: 14px; }

/* Typo helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: clamp(19px, 2vw, 22px); color: var(--text); max-width: 52ch; }
.muted { color: var(--muted); }
mark { background: linear-gradient(transparent 60%, rgba(246, 180, 0, .35) 0); color: inherit; padding: 0 .1em; }

/* Sections */
section { padding: 100px 0; }
.white { background: var(--surface); border-block: 1px solid var(--line); }
.dark { background: var(--ink); color: #c9d2e3; }
.dark h2, .dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 14px 0 16px; }
.section-head p { margin: 0; color: var(--muted); font-size: 19px; }
.center { text-align: center; margin-inline: auto; }

/* Hero */
.hero { padding: 80px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.8vw, 62px); margin: 18px 0 22px; }
.hero h1 span { color: var(--blue); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; font-size: 15px; color: var(--muted); }
.hero-meta span::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }

.hero-card { position: relative; }
.hero-card .photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: #dfe5ee; box-shadow: var(--shadow); }
.hero-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.check-card { position: absolute; left: -40px; bottom: 30px; width: min(320px, 90%); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow); }
.check-card h3 { font-size: 16px; margin-bottom: 10px; }
.check-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.check-card li { display: flex; gap: 10px; }
.check-card li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2312925a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.badge-free { display: inline-block; font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 3px 10px; border-radius: 99px; margin-bottom: 8px; }

/* Badges strip */
.certs { padding: 36px 0; background: var(--surface); border-block: 1px solid var(--line); }
.certs .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.certs p { margin: 0; font-size: 15px; color: var(--muted); max-width: 30ch; }
.certs img { width: min(560px, 100%); }

/* Cards & grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { margin: 0 0 12px; color: var(--text); font-size: 17px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 20px; }
.icon svg { width: 24px; height: 24px; }
.icon.red { background: #fdecea; color: var(--red); }
.icon.green { background: var(--green-soft); color: var(--green); }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list li { position: relative; padding-left: 32px; font-size: 17px; }
.list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2312925a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.list.minus li::before { background: #fdecea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' fill='none' stroke='%23d64532' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.list.cols { grid-template-columns: 1fr 1fr; gap: 12px 30px; }

/* Problem / Solution */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vs .card.problem { border-top: 4px solid var(--red); }
.vs .card.solution { border-top: 4px solid var(--green); }

/* Platforms */
.platform { display: flex; flex-direction: column; }
.platform .tag { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.platform.primary { border: 2px solid var(--blue); position: relative; }
.platform.primary::after { content: "Schwerpunkt"; position: absolute; top: -13px; left: 28px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.source { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 16px; }

/* Why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.why .photo { border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
.why .photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.fact b { display: block; font-family: var(--display); font-size: 26px; color: var(--ink); line-height: 1.1; }
.fact span { font-size: 15px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--blue); margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 15.5px; color: var(--text); line-height: 1.55; }
.dark .step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.dark .step p { color: #b6c0d3; }
.dark .step::before { color: #7fb0ff; }

/* Testimonials */
.testimonials { columns: 3; column-gap: 22px; }
.quote { break-inside: avoid; margin: 0 0 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.quote .stars { color: var(--blue); letter-spacing: .06em; font-size: 12px; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 16px; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.quote figcaption { font-size: 14px; color: var(--muted); font-weight: 600; }
.quote.ref blockquote { font-style: italic; color: var(--text); }
.quote.ref .stars { color: var(--muted); letter-spacing: .06em; font-size: 12px; text-transform: uppercase; font-weight: 700; }

/* Services detail */
.service { display: grid; grid-template-columns: 280px 1fr; gap: 50px; padding: 44px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-size: 30px; }
.service .sub { color: var(--muted); font-size: 15px; margin-top: 8px; }
.service h4 { margin: 0 0 14px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.service h4 + .list { margin-bottom: 28px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #dbe7ff; border-radius: 24px; padding: 60px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.cta-band p { margin: 0; font-size: 18px; }
.cta-band .actions { display: grid; gap: 12px; justify-items: start; }
.cta-band .btn { background: #fff; color: var(--blue-dark); border-color: #fff; box-shadow: none; }
.cta-band .btn:hover { background: #eaf1ff; }
.cta-band .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }

/* Page header (subpages) */
.page-head { padding: 80px 0 60px; }
.page-head h1 { font-size: clamp(38px, 5vw, 62px); margin: 16px 0 20px; max-width: 18ch; }
.page-head .wrap.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
.pain p { margin: 0 0 10px; font-family: var(--display); font-size: 20px; color: var(--ink); }
.pain p.verdict { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 17px; color: var(--red); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.contact-item:hover { border-color: var(--blue); transform: translateY(-1px); }
.contact-item .icon { margin: 0; }
.contact-item span { display: block; font-size: 13px; color: var(--muted); }
.contact-item b { font-weight: 600; word-break: break-word; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-size: 15px; }

/* Legal */
.legal { padding: 70px 0 100px; }
.legal .prose { max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 30px; }
.legal h2 { font-size: 26px; margin: 46px 0 12px; }
.legal h3 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 17px; overflow-wrap: anywhere; hyphens: auto; }

/* Footer */
.site-footer { background: var(--ink); color: #9aa6bb; padding: 50px 0; font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #c9d2e3; text-decoration: none; }
.site-footer a:hover { color: #fff; }


/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .testimonials { columns: 2; }
}
@media (max-width: 900px) {
  .hero .wrap, .why, .vs, .grid-2, .grid-3, .contact-grid, .cta-band, .page-head .wrap.split { grid-template-columns: 1fr; }
  .hero-card { max-width: 440px; }
  .check-card { left: auto; right: -10px; }
  .service { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 28px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 22px; transform: translateY(-130%); transition: transform .3s ease; z-index: -1; }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
  section { padding: 70px 0; }
  .hero { padding: 50px 0 70px; }
  .testimonials { columns: 1; }
  .steps, .facts, .list.cols { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .check-card { position: static; width: 100%; margin-top: -40px; margin-left: 12px; width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.price-card .tag { font-size: 13px; font-weight: 600; color: var(--muted); }
.price-card h3 { font-size: 22px; margin: 6px 0 14px; }
.price-card .price { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -0.02em; }
.price-card .price-note { margin: 2px 0 16px; font-size: 14px; color: var(--muted); }
.price-card > p { font-size: 16.5px; }
.price-card .list { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.price-card.featured { border: 2px solid var(--blue); }
.price-card.featured::after { content: "Beliebt"; position: absolute; top: -13px; left: 28px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.note { background: #fff8e6; border: 1px solid #f3dfa6; border-radius: var(--radius); padding: 26px 30px; }
.note h3 { font-size: 18px; margin-bottom: 8px; }
.note p { margin: 0; font-size: 16px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* Navigation: Burger-Menü bis 1000px */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 22px; transform: translateY(-130%); transition: transform .3s ease; z-index: -1; }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
}
@media (max-width: 900px) { .price-card[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 14px !important; } }
.num { display: block; font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }

/* Check-Karte unter dem Foto statt darüber */
.check-card { position: static; width: auto; margin-top: 16px; left: auto; right: auto; bottom: auto; }
@media (max-width: 760px) { .check-card { margin: 16px 0 0; width: auto; } }

/* Weiche Unternehmen / Agenturen */
.switch { display: inline-flex; align-items: center; gap: 4px; padding: 5px; margin-bottom: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); flex-wrap: wrap; }
.switch span { font-size: 14px; color: var(--muted); padding: 0 10px 0 8px; }
.switch a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: 8px; }
.switch a:hover { color: var(--blue); }
.switch a[aria-current="page"] { background: var(--blue); color: #fff; }
.switch { display: flex; width: fit-content; max-width: 100%; }

/* Sprungziele nicht unter dem fixierten Kopf verstecken */
[id] { scroll-margin-top: 96px; }

/* Porträts dezenter */
@media (min-width: 901px) { .hero .wrap { grid-template-columns: 1.4fr .6fr; } .why { grid-template-columns: .55fr 1.45fr; } }
.hero-card { max-width: 340px; justify-self: end; width: 100%; }
.hero-card .photo { aspect-ratio: 1 / 1; border-radius: 18px; }
.why .photo { max-width: 360px; }
@media (max-width: 900px) {
  .hero-card { justify-self: start; max-width: 300px; }
  .why .photo { max-width: 260px; }
}

/* Weiche Unternehmen / Agenturen als Vergleichskarten */
.chooser { padding: 44px 0 0; }
.chooser + .page-head { padding-top: 50px; }
.ch-title { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ch-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: 14px; background: var(--surface); border: 2px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.ch-card:hover { border-color: var(--blue); transform: translateY(-1px); }
.ch-card[aria-current="page"] { border-color: var(--blue); background: var(--blue-soft); }
.ch-label { font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.ch-card b { font-family: var(--display); font-size: 20px; color: var(--ink); line-height: 1.25; }
.ch-card ul { margin: 4px 0 6px; padding-left: 18px; font-size: 15.5px; line-height: 1.55; }
.ch-here { font-size: 14px; font-weight: 700; color: var(--green); margin-top: auto; }
.ch-go { font-size: 14px; font-weight: 700; color: var(--blue); margin-top: auto; }
@media (max-width: 760px) { .ch-grid { grid-template-columns: 1fr; } }

/* ===== Farbkonzept C: Navy & Gelb (komplementär) ===== */
:root { --blue: #1d3f8f; --blue-dark: #12295f; --blue-soft: #eaeef8; --accent: #f6b400; --accent-dark: #e0a300; --bg: #f7f6f2; }
.site-header { background: rgba(247, 246, 242, .9); }
.btn { background: var(--accent); color: #1a1a1a; border-color: var(--accent); box-shadow: 0 8px 22px -12px rgba(246, 180, 0, .9); }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #1a1a1a; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: none; }
.nav .btn { color: #1a1a1a; }
.hero h1 span { color: var(--blue); }
.hero-card .photo, .why .photo { box-shadow: var(--shadow); }
.price-card.featured::after, .platform.primary::after { background: var(--accent); color: #1a1a1a; }
.price-card.featured, .platform.primary { border-color: var(--accent); }
.dark { background: var(--blue-dark); }
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }
.cta-band .btn { background: var(--accent); color: #1a1a1a; border-color: var(--accent); }
.cta-band .btn:hover { background: var(--accent-dark); }
.cta-band .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.ch-card[aria-current="page"] { border-color: var(--accent); background: #fffaeb; }
