/*
 * Adler & Rochefort — German cluster stylesheet.
 *
 * The eleven /de/ pages (the homepage/hub plus ten product and local pages)
 * share one design system, lifted from the inline styles that used to live on
 * /de/index.html alone so the cluster and the original homepage stay visually
 * identical. Pulling it into a file keeps each generated page to its content
 * instead of shipping ~650 lines of duplicated CSS eleven times.
 *
 * Chrome (top bar, nav, footer, cookie banner, language switcher) is NOT here —
 * that is public/css/ar-chrome.css, generated from scripts/lib/partials.mjs and
 * already shared with the rest of the site. This file only carries the parts
 * that are specific to the German cluster's body content, mirroring how
 * ar-nl.css relates to ar-chrome.css for the Dutch cluster.
 *
 * Generated pages are emitted by scripts/generate-de-cluster.mjs.
 */

:root {
  --primary: #17243D;
  --primary-hover: #223553;
  --accent: #B8323E;
  --accent-on-dark: #E8919B;
  --cream: #F5F1E8;
  --cream2: #E8E5DF;
  --ink: #111927;
  --ink2: #526984;
  --muted: #516F94;
  --white: #FFFFFF;
  --border: #DAD5C8;
  --hero-bg: #17243D;
  --nav-bg: #17243D;
  --footer-bg: #111927;
  --navy: #17243D;
  --success: #10B981;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--cream);
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  overflow-x: hidden; overflow-x: clip;
  min-height: 100vh;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--white); color: var(--ink);
  padding: 12px 20px; font-size: 13px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* NAV additions — ar-chrome.css supplies .site-nav, .nav-logo, .nav-cta and
   most of .lang-switcher already (it loads after this file, so its rules win
   for anything declared in both); these three are the ones it doesn't carry,
   because the shared chrome assumes the full mega-menu layout rather than
   this cluster's simpler header. Mirrors ar-nl.css's own additions. */
.site-header { position: sticky; top: 0; z-index: 100; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-switcher span.lang-na { color: rgba(255,255,255,0.35); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; padding: 4px 8px; cursor: default; }

/* HERO */
.hero { background: var(--hero-bg); position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(23,36,61,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 32px 64px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge, .hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(184,50,62,0.12);
  border: 1px solid rgba(184,50,62,0.3);
  color: var(--accent-on-dark);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 20px; margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 em { color: var(--accent-on-dark); font-style: normal; }
.hero-subtitle {
  font-size: 16px; line-height: 1.75;
  color: rgba(255,255,255,0.78);
  max-width: 680px; margin: 0 auto 20px;
}
.hero-meta {
  font-size: 12px; letter-spacing: 0.06em; color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  background: var(--accent); color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  min-height: 44px;
}
.btn-cta:hover { background: #872733; transform: translateY(-1px); }
.btn-cta svg { width: 16px; height: 16px; fill: currentColor; }
.btn-cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-left: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
}
.btn-cta-secondary:hover { color: var(--white); border-color: var(--white); }
.hero-trust { margin-top: 26px; font-size: 12px; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); text-transform: uppercase; }

/* LANGUAGE POLICY */
.lang-policy-band { background: var(--cream); padding: 44px 20px 0; }
.lang-policy {
  max-width: 820px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 34px 36px;
}
.lang-policy h2 {
  font-size: clamp(20px, 2.2vw, 25px); line-height: 1.3;
  color: var(--ink); margin: 0 0 16px;
}
.lang-policy p {
  font-size: 17px; line-height: 1.75; color: var(--ink2);
  margin: 0 0 14px;
}
.lang-policy p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .lang-policy { padding: 26px 22px; } }

/* BREADCRUMB */
.breadcrumb { background: var(--cream); padding: 18px 32px 0; }
.breadcrumb ol {
  max-width: 960px; margin: 0 auto;
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 12px; color: var(--ink2);
}
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 6px; color: var(--border); }
.breadcrumb a { color: var(--ink2); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* CONTENT */
.section { padding: 64px 32px; }
.section.tint { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.plain { background: var(--cream); }
.container { max-width: 960px; margin: 0 auto; }
.container.narrow { max-width: 760px; }
.section h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700; color: var(--ink);
  margin-bottom: 18px; line-height: 1.2;
  text-wrap: balance;
}
.section h2 em { color: var(--primary); font-style: normal; }
.section p.lead { font-size: 16px; line-height: 1.8; color: var(--ink2); }
.section p.lead + p.lead { margin-top: 16px; }

.article-body h2 { font-size: clamp(21px, 2.8vw, 26px); margin-top: 8px; }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 24px 0 10px; }
.article-body p { font-size: 16px; line-height: 1.8; color: var(--ink2); margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; color: var(--ink2); font-size: 16px; line-height: 1.75; }
.article-body li { margin-bottom: 8px; }
.article-body li strong { color: var(--ink); }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--accent); }
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}

/* CALLOUT */
.callout {
  background: var(--cream2); border-left: 4px solid var(--primary);
  padding: 20px 24px; margin: 24px 0;
  font-size: 15px; line-height: 1.7; color: var(--ink2);
}
.callout-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 8px;
}

/* COMPARISON TABLE */
.compare-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; background: var(--white); }
.compare-table caption { text-align: left; padding: 12px 16px; font-size: 12px; color: var(--ink2); background: var(--cream2); }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table th { background: var(--cream2); font-weight: 700; color: var(--ink); font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; }
.compare-table td { color: var(--ink2); }
.compare-table tr:last-child td { border-bottom: none; }

/* PROCESS STEPS
 * ---------------------------------------------------------------------------
 * The counter is positioned, not placed in a grid track, and this is the
 * decision that matters here.
 *
 * The earlier rule made the `li` itself a two-column grid (`44px 1fr`) and let
 * `::before` take the first track. That works only for an `li` whose content
 * is exactly one element: grid wraps every run of text in an anonymous item,
 * so an item written the natural way —
 *
 *     <li><strong>Title.</strong> Body sentence.</li>
 *
 * — produced three items, not two. `::before` took (row 1, col 1), `<strong>`
 * took (row 1, col 2), and the body sentence was auto-placed into (row 2, col
 * 1): the 44px counter track. A paragraph in a 44px column is a column of
 * one or two characters, which is what stacked the Polish, Swedish, Danish and
 * Chinese steps down the page and inflated those pages by several thousand
 * pixels.
 *
 * Taking the counter out of flow removes the class of bug rather than the
 * instance: the item's content is now normal block flow at a normal width
 * whatever the markup does, so no future step has to be written in a
 * particular shape to lay out correctly. Padding reserves the counter's gutter
 * (24px page padding + 44px disc + 18px gap), so the geometry is unchanged.
 *
 * `padding-inline-start` rather than `padding-left`, and `inset-inline-start`
 * rather than `left`, so the gutter follows the writing direction instead of
 * being pinned to the left edge.
 */
.process-steps { list-style: none; counter-reset: step; margin-top: 36px; display: grid; gap: 18px; }
.process-steps li {
  counter-increment: step;
  position: relative;
  display: block;
  min-width: 0;
  background: var(--white); border: 1px solid var(--border);
  padding: 22px 24px;
  padding-inline-start: 86px;
  color: var(--ink2); font-size: 14px; line-height: 1.6;
}
.process-steps li::before {
  content: counter(step);
  position: absolute;
  top: 22px; inset-inline-start: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700;
}
/* The step title keeps the tight leading it has always had. The 1.6 above is
 * for body copy, and inheriting it here would add 7px to every card. */
.process-steps strong { display: block; color: var(--ink); font-size: 16px; line-height: normal; margin-bottom: 4px; }
.process-steps span { color: var(--ink2); font-size: 14px; line-height: 1.6; }

/* INTRO MEDIA */
.intro-media { display: grid; grid-template-columns: 1fr 220px; gap: 40px; align-items: center; }
.intro-media img { width: 100%; height: auto; border: 1px solid var(--border); }

/* FEATURE LIST */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.feature-card {
  background: var(--cream); border: 1px solid var(--border);
  padding: 24px; transition: border-color 0.2s;
}
.feature-card.wide { grid-column: 1 / -1; }
.feature-card:hover { border-color: var(--primary); }
.feature-card .fc-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 10px; }
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.65; color: var(--ink2); }
.feature-card a.fc-link { font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; display: inline-block; margin-top: 10px; }
.feature-card a.fc-link:hover { color: var(--accent); }
.feature-card a.fc-link::after { content: ' →'; }

/* HUB LISTS */
.hub-list { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.hub-item {
  background: var(--white); border: 1px solid var(--border); padding: 18px 22px;
  display: block;
}
.hub-item a { font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; display: block; margin-bottom: 6px; }
.hub-item a:hover { color: var(--accent); }
.hub-item span { font-size: 14px; line-height: 1.65; color: var(--ink2); display: block; }

/* RELATED / TEXT LINK */
.related { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.text-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--accent); text-decoration: underline; }

/* BRANDS */
.brands { text-align: center; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.brand-chip {
  border: 1px solid var(--border); background: var(--cream);
  padding: 14px 28px; font-size: 16px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ink);
}

/* REASONS */
.reasons { list-style: none; margin-top: 32px; display: grid; gap: 14px; }
.reasons li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border); padding: 20px;
}
.reasons li .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(23,36,61,0.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.reasons li strong { color: var(--ink); display: block; margin-bottom: 4px; font-size: 15px; }
.reasons li span { color: var(--ink2); font-size: 14px; line-height: 1.6; }

/* PULLQUOTE */
.pullquote-band { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 32px; }
.pullquote {
  max-width: 720px; margin: 0 auto; text-align: center;
  font-size: clamp(19px, 2.4vw, 24px); line-height: 1.5; color: var(--ink);
  font-style: italic;
}
.pullquote cite {
  display: block; margin-top: 16px; font-size: 12px; font-style: normal;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2);
}

/* FORM */
.form-section { background: var(--hero-bg); }
.form-shell { max-width: 640px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); padding: 40px; }
.form-shell h2 { color: var(--ink); }
.form-intro { font-size: 15px; line-height: 1.7; color: var(--ink2); margin-bottom: 6px; }
.form-lang-note { font-size: 12px; color: var(--muted); margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.02em; }
.field .req { color: var(--accent); }
.field-help { font-size: 12px; color: var(--muted); margin-bottom: 6px; line-height: 1.5; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: 'Montserrat', sans-serif;
  font-size: 14px; color: var(--ink); background: var(--cream);
  border: 1px solid var(--border); border-radius: 0; transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field textarea { resize: vertical; min-height: 90px; }
.field-error { display: block; font-size: 12px; color: var(--accent); margin-top: 6px; min-height: 0; }
.field-error.show { min-height: 1em; }
.form-branch-fields { border-top: 1px dashed var(--border); padding-top: 16px; margin-top: 4px; margin-bottom: 8px; }
.form-branch-legend { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.consent-block .consent { display: flex; gap: 10px; align-items: flex-start; }
.consent-block input[type="checkbox"] { width: auto; margin-top: 3px; }
.consent-block label { font-size: 12px; line-height: 1.6; color: var(--ink2); font-weight: 400; }
.consent-block a { color: var(--primary); }
.form-submit {
  width: 100%; padding: 16px; background: var(--accent); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; border: none; cursor: pointer;
  transition: background 0.2s; min-height: 48px;
}
.form-submit:hover { background: #872733; }
.form-footnote { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 16px; text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .tick { width: 56px; height: 56px; border-radius: 50%; background: rgba(16,185,129,0.12); color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 28px; }
.form-success h3 { color: var(--ink); margin-bottom: 8px; }
.form-success p { color: var(--ink2); font-size: 14px; line-height: 1.6; }

/* FAQ */
.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-item h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.faq-answer { font-size: 15px; line-height: 1.75; color: var(--ink2); }
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* FINAL CTA */
.final-cta { background: var(--navy); text-align: center; padding: 72px 32px; }
.final-cta h2 { color: var(--white); margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 32px; }
.legal-note {
  max-width: 760px; margin: 28px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.5);
}

/* FOOTER — column-count override and the regulatory notice, which
   ar-chrome.css does not carry (it assumes the six-column layout of the main
   site's footer). Mirrors how ar-nl.css overrides the same two things. */
.footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-regulatory { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 24px; text-align: center; }
.footer-regulatory p { font-size: 11px; color: rgba(255,255,255,0.3); margin: 0; line-height: 1.6; }
.footer-regulatory p + p { margin-top: 6px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }

/* MOBILE CTA (chrome carries its own; kept here only as a fallback name-match) */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  padding: 12px 20px; background: var(--nav-bg);
  border-top: 1px solid rgba(23,36,61,0.3); box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.mobile-cta a {
  display: block; width: 100%; padding: 14px; text-align: center;
  background: var(--accent); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .section { padding: 48px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .intro-media { grid-template-columns: 1fr; }
  .intro-media img { max-width: 240px; margin: 0 auto; }
  .process-steps li { padding: 18px; padding-inline-start: 72px; }
  .process-steps li::before { top: 18px; inset-inline-start: 18px; width: 36px; height: 36px; font-size: 15px; }
  .form-shell { padding: 26px 22px; }
  .mobile-cta { display: block; }
  body { padding-bottom: 70px; }
}
@media (max-width: 480px) {
  .hero-inner { padding: 60px 20px 48px; }
}
