/* ==========================================================
   LIKE MEDIA – NORDKLAR SUBPAGE-SYSTEM
   Geteiltes Stylesheet für Landingpages & Ratgeber.
   Kein JavaScript nötig: FAQ via <details>, Header statisch.
   ========================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --paper: #FBFAF7;
  --sand: #F2EEE7;
  --ink: #0F1B26;
  --ink-2: #3E4C59;
  --mute: #66737F;
  --line: #E4E0D7;
  --acc: #1779C4;
  --acc-deep: #0F5C99;
  --acc-soft: #E3F0FA;
  --navy: #0B1F33;
  --navy-2: #122C46;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --r: 12px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
section { scroll-margin-top: 90px; }
::selection { background: var(--acc); color: #fff; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { line-height: 1.75; color: var(--ink-2); }
h1 em, h2 em { color: var(--acc); font-style: italic; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.kicker::before { content: ''; width: 22px; height: 1px; background: var(--acc); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 10px; font-family: var(--sans); font-size: .95rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-acc { background: var(--acc); color: #fff; }
.btn-acc:hover { background: var(--acc-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(15,27,38,.25); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sand); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 18px; z-index: 2000; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ---------- Header (statisch, ohne JS) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(251,250,247,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand img { height: 32px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: .92rem; font-weight: 500; color: var(--ink-2); transition: color .2s; padding: 8px 0; }
.main-nav a:hover { color: var(--ink); }
.head-actions { display: flex; align-items: center; gap: 16px; }
.head-phone { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ink); white-space: nowrap; padding: 12px; margin: -12px; }
.head-phone svg { width: 16px; height: 16px; color: var(--acc); }
.head-cta { padding: 11px 20px; font-size: .88rem; }

/* ---------- Breadcrumb ---------- */
.crumbs { padding: 96px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .82rem; color: var(--mute); }
.crumbs a { color: var(--mute); text-decoration: underline; text-decoration-color: transparent; transition: color .2s; padding: 4px 0; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--line); }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- Seiten-Hero ---------- */
.page-hero { padding: 28px 0 56px; }
.page-hero h1 { margin: 18px 0 20px; max-width: 880px; }
.page-hero .lead { font-size: clamp(1.02rem, 1.25vw, 1.18rem); max-width: 680px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.assure-row { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.assure { display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--ink-2); }
.assure svg { width: 15px; height: 15px; color: var(--acc); flex: none; }

/* ---------- Inhaltsblöcke ---------- */
.sec { padding: clamp(48px, 6vw, 88px) 0; }
.sec-alt { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { margin: 16px 0 14px; }
.sec-head p { font-size: 1.02rem; }

.two-col { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.two-col h2 { margin: 16px 0 18px; }
.two-col .col-text p { margin-bottom: 16px; max-width: 580px; }

.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.info-card h3 { margin-bottom: 16px; }
.info-card.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.info-card.dark h3 { color: #fff; }
.info-card.dark p { color: rgba(255,255,255,.6); }

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); line-height: 1.6; }
.check-list li svg { width: 16px; height: 16px; color: var(--acc); flex: none; margin-top: 3px; }
.check-list li strong { color: var(--ink); font-weight: 600; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.tile h3 { margin: 14px 0 8px; font-size: 1.05rem; }
.tile p { font-size: .92rem; line-height: 1.65; }
.tile .t-num { font-family: var(--serif); font-size: 1.9rem; color: var(--acc); line-height: 1; }
.tile-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--acc-soft); color: var(--acc-deep); display: flex; align-items: center; justify-content: center; }
.tile-icon svg { width: 20px; height: 20px; }

/* Referenz-Karten (ausführlich, wie Startseite) */
.mini-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mini-case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mini-case:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(11,31,51,.10); }
.mini-case:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.mini-case img { width: 100%; aspect-ratio: 2.2 / 1; height: auto; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); transition: transform .4s var(--ease); }
.mini-case:hover img { transform: scale(1.03); }
.mini-case .mc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.mini-case h3 { font-size: 1.05rem; margin-bottom: 4px; }
.mini-case .mc-loc { font-size: .82rem; color: var(--mute); margin-bottom: 10px; }
.mini-case .mc-desc { font-size: .92rem; line-height: 1.6; color: var(--ink-2); flex: 1; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.case-tags span { font-size: .74rem; font-weight: 600; letter-spacing: .04em; padding: 5px 12px; border-radius: 50px; background: var(--sand); color: var(--ink-2); }
.mc-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: .85rem; font-weight: 600; color: var(--acc-deep); }
.mc-more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.mini-case:hover .mc-more svg { transform: translateX(3px); }
.mini-cases-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .mini-cases-2 { grid-template-columns: 1fr; } }

/* Schritte */
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.steps-row .step { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 20px 28px; background: #fff; }
.step-num { font-family: var(--serif); font-size: 2rem; color: var(--acc); line-height: 1; margin-bottom: 12px; }
.steps-row h3 { font-size: .98rem; margin-bottom: 6px; }
.steps-row p { font-size: .86rem; line-height: 1.6; color: var(--mute); }

/* FAQ */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--acc); flex: none; line-height: 1; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 36px 20px 0; font-size: .95rem; }
.faq-list details a { color: var(--acc-deep); text-decoration: underline; text-underline-offset: 2px; }

/* Case-Study-Seiten */
.cs-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.cs-fact { padding: 20px 22px; border-right: 1px solid var(--line); }
.cs-fact:last-child { border-right: none; }
.cs-fact span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.cs-fact strong { font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
/* Geräte-Mockup: Desktop + Smartphone */
.cs-mockup { position: relative; max-width: 920px; margin: 0 auto; padding-bottom: clamp(36px, 6vw, 64px); }
.cs-desktop { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 70px rgba(11,31,51,.12); overflow: hidden; margin-right: clamp(70px, 13vw, 140px); }
.cs-desktop-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cs-desktop-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.cs-desktop-bar .url { margin-left: 10px; flex: 1; max-width: 260px; height: 16px; border-radius: 8px; background: var(--sand); }
.cs-desktop img { width: 100%; height: auto; display: block; }
.cs-phone { position: absolute; right: 0; bottom: 0; width: clamp(130px, 21vw, 196px); border: 6px solid var(--navy); border-radius: 26px; background: var(--navy); box-shadow: 0 22px 55px rgba(11,31,51,.28); overflow: hidden; }
.cs-phone::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 38%; height: 13px; background: var(--navy); border-radius: 0 0 9px 9px; z-index: 2; }
.cs-phone img { width: 100%; height: auto; display: block; border-radius: 19px; }
@media (max-width: 700px) {
  .cs-mockup { padding-bottom: 112px; }
  .cs-desktop { margin-right: 54px; }
  .cs-phone { width: 130px; }
}
@media (max-width: 1080px) { .cs-facts { grid-template-columns: 1fr 1fr; } .cs-fact:nth-child(2n) { border-right: none; } .cs-fact { border-bottom: 1px solid var(--line); } .cs-fact:nth-last-child(-n+2) { border-bottom: none; } }
@media (max-width: 700px) { .cs-facts { grid-template-columns: 1fr; } .cs-fact { border-right: none; border-bottom: 1px solid var(--line); } .cs-fact:last-child { border-bottom: none; } }

/* ---------- CTA-Panel (dunkel) ---------- */
.cta-panel { background: var(--navy); border-radius: 18px; padding: clamp(34px, 5vw, 60px); color: #fff; display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 36px; align-items: center; }
.cta-panel h2 { color: #fff; margin-bottom: 12px; }
.cta-panel h2 em { color: #5BB1EA; }
.cta-panel p { color: rgba(255,255,255,.62); max-width: 480px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.cta-actions .btn { width: 100%; }
.cta-phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.05rem; font-weight: 600; color: #fff; padding: 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; transition: border-color .25s; }
.cta-phone:hover { border-color: #5BB1EA; }
.cta-phone svg { width: 17px; height: 17px; color: #5BB1EA; }
.cta-note { font-size: .8rem; color: rgba(255,255,255,.4); text-align: center; }

/* ---------- Artikel (Ratgeber) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--sans); font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; margin-top: 2em; }
.prose h3 { font-size: 1.12rem; font-weight: 600; margin-top: 1.6em; }
.prose p, .prose li { font-size: 1rem; line-height: 1.8; color: var(--ink-2); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-top: .5em; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.prose ol { padding-left: 22px; }
.prose ol li { margin-top: .5em; padding-left: 6px; }
.prose a { color: var(--acc-deep); text-decoration: underline; text-decoration-color: rgba(23,121,196,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--acc-deep); }
.prose strong { color: var(--ink); }
.prose .hint { background: var(--acc-soft); border-left: 3px solid var(--acc); border-radius: 0 10px 10px 0; padding: 18px 22px; font-size: .95rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.5; }
.prose th { font-weight: 600; color: var(--ink); border-bottom-color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .85rem; color: var(--mute); margin-top: 18px; }

/* Artikel-Karten (Hub) */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(11,31,51,.10); }
.article-card .ac-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acc-deep); margin-bottom: 12px; }
.article-card h3 { font-size: 1.08rem; margin-bottom: 10px; line-height: 1.35; }
.article-card p { font-size: .9rem; line-height: 1.65; flex: 1; }
.article-card .ac-more { margin-top: 16px; font-size: .86rem; font-weight: 600; color: var(--acc-deep); }

/* ---------- Footer mit Linkmesh ---------- */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: clamp(48px, 6vw, 88px); }
.footer-grid { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,3fr) minmax(0,3fr) minmax(0,3fr); gap: 40px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; max-width: 280px; }
.footer h4 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.footer ul li { margin-bottom: 2px; }
.footer ul li a { display: inline-block; font-size: .9rem; color: var(--ink-2); padding: 5px 0; }
.footer ul li a:hover { color: var(--acc-deep); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: .82rem; color: var(--mute); }
.footer-meta a { color: var(--mute); display: inline-block; padding: 8px 2px; margin: -8px -2px; }
.footer-meta a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .head-phone span { display: none; }
  .two-col, .cta-panel { grid-template-columns: 1fr; }
  .cards-3, .mini-cases, .article-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .head-cta { display: none; }
  .cards-3, .mini-cases, .article-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-ctas .btn { width: 100%; }
  .crumbs { padding-top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mini-case, .article-card, .btn { transition: none; }
}
