/* Alpha Privacy GmbH: Stylesheet. Keine externen Ressourcen. */

@font-face { font-family: "IBM Plex Sans"; src: url("IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("IBMPlexSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("SourceSerif4-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("SourceSerif4-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --navy: #0A1A2F;
  --navy-2: #102844;
  --navy-3: #1B3657;
  --gold: #C8A35A;
  --gold-text: #8A6A2B;
  --paper: #F7F5F0;
  --white: #FFFFFF;
  --ink: #0A1A2F;
  --muted: #55606E;
  --line: #E2DDD2;
  --on-dark: #F4F1EA;
  --on-dark-muted: #A9B6C6;
  --radius: 14px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(10,26,47,.04), 0 8px 24px rgba(10,26,47,.06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  font-feature-settings: "kern", "liga";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 16px; top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.005em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 32px; height: 2px; background: var(--gold); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy);
  display: grid; place-items: center; color: var(--gold);
  font: 600 22px/1 var(--font-head); flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 600; letter-spacing: .12em; font-size: .95rem; }
.brand-sub { font-size: .78rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav .btn { border-bottom: 0; padding: 11px 20px; }

.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: .95rem; background: var(--white); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(86vw, 320px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px; display: flex; flex-direction: column;
}
.menu-panel a { padding: 12px 14px; text-decoration: none; font-weight: 500; border-radius: 8px; }
.menu-panel a:hover { background: var(--paper); }
.menu-panel .btn { margin-top: 8px; justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--navy);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: 15px 26px; border-radius: 999px; border: 2px solid var(--gold);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: #D6B572; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(244,241,234,.35); }
.btn-ghost:hover { background: rgba(244,241,234,.08); }
.btn-dark { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-3); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(200,163,90,.18), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--on-dark);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-main { padding-top: 110px; padding-bottom: 120px; }
.hero-sub { padding-top: 80px; padding-bottom: 72px; }
.hero .kicker { color: var(--gold); }
.hero h1 { max-width: 20ch; }
.hero .lead { color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(244,241,234,.14); color: var(--on-dark-muted); font-size: .95rem; }
.hero-facts span::before { content: "✓"; color: var(--gold); margin-right: 10px; font-weight: 600; }
.breadcrumb { font-size: .88rem; color: var(--on-dark-muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--on-dark); }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 52px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-num { font: 600 .85rem/1 var(--font-body); color: var(--gold-text); letter-spacing: .1em; margin-bottom: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 20px; }
.card .more { margin-top: auto; font-weight: 600; font-size: .95rem; color: var(--navy); }
.card-featured { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.card-featured p { color: var(--on-dark-muted); }
.card-featured .more { color: var(--gold); }
.card-featured .card-num { color: var(--gold); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy) 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='%23C8A35A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; border-top: 2px solid var(--gold); padding-top: 22px; }
.steps li::before { content: "0" counter(step); display: block; font: 600 2.4rem/1 var(--font-head); color: var(--gold-text); margin-bottom: 14px; }
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--muted); font-size: .97rem; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.panel-dark { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.panel-dark p, .panel-dark li { color: var(--on-dark-muted); }
.panel h3 { margin-bottom: 14px; }

.quote { border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; font-size: 1.25rem; font-family: var(--font-head); font-weight: 600; line-height: 1.4; margin: 0 0 1em; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold-text); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 24px 20px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-dark); padding: 84px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { max-width: 20ch; margin-bottom: 12px; }
.cta-band p { color: var(--on-dark-muted); max-width: 54ch; margin: 0; }

/* About */
.portrait { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--navy); aspect-ratio: 4 / 5; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.fact { border-top: 1px solid var(--line); padding-top: 14px; }
.fact strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.fact span { color: var(--muted); font-size: .93rem; }

/* Contact */
.contact-big { font: 700 clamp(1.4rem, 3vw, 2rem)/1.2 var(--font-head); text-decoration: none; color: var(--navy); border-bottom: 2px solid var(--gold); word-break: break-word; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; }
.contact-list li span:first-child { min-width: 92px; color: var(--muted); font-size: .93rem; }
.contact-list a { text-decoration: none; font-weight: 500; }
.topic-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.topic-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 500; }
.topic-links a:hover { border-color: var(--gold); }
.topic-links a::after { content: "→"; color: var(--gold-text); }

/* Prose (legal + articles) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose .note { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 18px 22px; border-radius: 8px; color: var(--muted); font-size: .97rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--white); }
.table-wrap { overflow-x: auto; }
.meta { color: var(--muted); font-size: .93rem; }

.article-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-decoration: none; display: block; }
.article-card:hover { border-color: var(--gold); }
.article-card .meta { margin-bottom: 10px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: 72px 0 36px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--on-dark); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.site-footer .brand { color: var(--on-dark); margin-bottom: 18px; }
.site-footer .brand-mark { background: var(--navy-3); }
.site-footer .brand-sub { color: var(--on-dark-muted); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(244,241,234,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .88rem; }

/* Responsive */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  h1 { font-size: 2.05rem; }
  .container { padding: 0 20px; }
  .header-inner { height: 68px; }
  .brand-sub { display: none; }
  .hero-main { padding-top: 72px; padding-bottom: 80px; }
  .hero-sub { padding-top: 56px; padding-bottom: 52px; }
  .section { padding: 68px 0; }
  .grid-3, .grid-2, .steps, .facts, .topic-links { grid-template-columns: 1fr; }
  .card, .panel { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { width: 100%; justify-content: center; }
  .nav .btn, .menu-panel .btn { width: auto; }
  .contact-list li { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta-band, .hero-actions { display: none; } .hero { background: none; color: #000; } }
.contact-note { margin-top: 20px; }

/* Formular */
.form { display: grid; gap: 20px; margin-top: 8px; }
.form-title { font-size: 1.6rem; margin-bottom: 6px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #CFC8BA; border-radius: 10px; padding: 14px 16px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(200,163,90,.35); background: var(--white); }
.field input:user-invalid { border-color: #B3261E; }
.form .btn { justify-self: start; cursor: pointer; font-family: inherit; }
.form-note { margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#formular { scroll-margin-top: 96px; }
@media (max-width: 640px) { .form .btn { justify-self: stretch; } }

/* DSB: Leistungen im Detail */
.detail { display: flex; flex-direction: column; background: var(--paper); }
.detail .checklist { margin-bottom: 18px; }
.ref { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--gold-text); font-weight: 500; }

/* Zertifikate */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cert { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cert-code {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--navy); color: var(--gold); border: 3px double var(--gold);
  font: 700 .95rem/1.1 var(--font-head); padding: 8px; overflow-wrap: anywhere;
}
.cert-issuer { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.cert h3 { font-size: 1.08rem; margin-bottom: 6px; }
.cert p { color: var(--muted); font-size: .94rem; margin: 0; }
.cert-more { margin-top: 24px; }

/* Siegelband */
.seal-band { background: var(--navy-2); color: var(--on-dark); padding: 56px 0; border-top: 1px solid rgba(200,163,90,.25); }
.seal-title { text-align: center; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 28px; }
.seal-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.seal {
  width: 150px; height: 150px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border: 2px solid var(--gold); box-shadow: inset 0 0 0 6px var(--navy-2), inset 0 0 0 7px rgba(200,163,90,.45); padding: 18px;
}
.seal-code { font: 700 1.05rem/1.15 var(--font-head); color: var(--on-dark); hyphens: manual; }
.seal-issuer { margin-top: 8px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }

@media (max-width: 860px) { .cert-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .cert { grid-template-columns: 64px 1fr; gap: 16px; padding: 20px; }
  .cert-code { width: 64px; height: 64px; font-size: .72rem; padding: 4px; }
  .seal { width: 128px; height: 128px; padding: 14px; }
  .seal-code { font-size: .88rem; }
  .seal-row { gap: 16px; }
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.contact-list.on-dark { margin-top: 8px; }
.contact-list.on-dark li { border-bottom-color: rgba(244,241,234,.14); }
.contact-list.on-dark li span:first-child { color: var(--on-dark-muted); min-width: 140px; }
.contact-list.on-dark li span:last-child { color: var(--on-dark); }
.contact-list.on-dark li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
@media (max-width: 640px) { .contact-list.on-dark li { grid-template-columns: 1fr; gap: 2px; } }
.field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #CFC8BA; border-radius: 10px; padding: 14px 16px; width: 100%;
  resize: vertical; min-height: 120px; transition: border-color .2s, box-shadow .2s;
}
.field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(200,163,90,.35); background: var(--white); }
.field textarea::placeholder { color: #8A8F98; }
.field-hint { margin: 0; font-size: .85rem; }

/* Branchen */
.sector { border-top: 2px solid var(--gold); padding-top: 18px; }
.sector h3 { font-size: 1.15rem; margin-bottom: 6px; }
.sector p { color: var(--muted); margin: 0; font-size: .97rem; }
.sectors { grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
@media (max-width: 980px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sectors { grid-template-columns: 1fr; } }

.panel .contact-list + p { margin-top: 28px; margin-bottom: 0; }

a.sector { display: block; color: inherit; text-decoration: none; }
a.sector .more { display: inline-block; margin-top: 10px; color: var(--navy, #0A1A2F); font-weight: 600; font-size: .92rem; border-bottom: 1px solid var(--gold); }
a.sector:hover h3, a.sector:focus-visible h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
