/* =========================================================================
   Labeldrucker-Klinik – Designsystem ("Klinik"-Konzept)
   Erhard-Trading GmbH · Selb
   Sauberes, klinisches Weiß/Blau mit gesundem Teal-Akzent.
   ========================================================================= */

:root {
  /* Farben */
  --navy:      #0a2540;   /* Überschriften, Footer */
  --navy-2:    #102f50;
  --blue:      #0e6ba8;   /* Primärfarbe */
  --blue-600:  #0c5d92;
  --blue-700:  #0a4f7e;
  --blue-50:   #eaf3fb;
  --teal:      #16b5a3;   /* Gesundheits-Akzent */
  --teal-600:  #109a8b;
  --green:     #1f9d57;   /* "gesund"/Erfolg */
  --green-50:  #e9f7ef;
  --amber:     #f59e0b;
  --amber-50:  #fef6e7;
  --red:       #d8453b;

  --ink:       #1f2d3d;   /* Fließtext */
  --slate:     #475467;
  --muted:     #6b7a90;
  --line:      #e3e9f1;   /* Rahmen/Linien */
  --bg:        #f4f8fc;   /* Seitenhintergrund */
  --bg-2:      #eef4fa;
  --surface:   #ffffff;

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow:    0 1px 2px rgba(10,37,64,.06), 0 8px 24px rgba(10,37,64,.06);
  --shadow-lg: 0 18px 50px rgba(10,37,64,.14);
  --ring:      0 0 0 4px rgba(14,107,168,.18);

  --maxw:      1160px;
  --font:      system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head:      var(--font);
}

/* Reset / Basis */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--head); color: var(--navy); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.05rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin: 0 0 .55em; }
h3 { font-size: 1.28rem; margin: 0 0 .5em; }
h4 { font-size: 1.06rem; margin: 0 0 .4em; }
p  { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin: .3em 0; }
strong { color: var(--navy); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.bg-alt { background: var(--surface); }
.bg-soft { background: linear-gradient(180deg, var(--blue-50), var(--bg)); }

/* Skip-Link / Accessibility */
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color:#fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* Eyebrow / Section heads */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--head); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600);
  margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.16rem; color: var(--slate); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(14,107,168,.28); }
.btn-primary:hover { background: var(--blue-600); color:#fff; }
.btn-accent { background: var(--teal); color: #06302c; box-shadow: 0 10px 24px rgba(22,181,163,.3); }
.btn-accent:hover { background: var(--teal-600); color:#06302c; }
.btn-ghost { background: #fff; color: var(--blue-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-700); }
.btn-light { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.32); }
.btn-light:hover { background: rgba(255,255,255,.2); color:#fff; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--head); font-weight: 800; color: var(--navy); font-size: 1.16rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 40px; height: 40px; flex: 0 0 auto; }
.brand small { display:block; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; }
.nav-links a { display: inline-block; padding: 9px 13px; border-radius: 9px; color: var(--navy); font-weight: 600; font-size: .96rem; }
.nav-links a:hover { background: var(--blue-50); text-decoration: none; }
.nav-links a.active { color: var(--blue); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 70px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #0a2540 0%, #0e4d7e 55%, #0e6ba8 100%); color: #eaf2fa; }
.hero::after { content:""; position:absolute; inset:0; background:
  radial-gradient(680px 360px at 88% -8%, rgba(22,181,163,.34), transparent 60%),
  radial-gradient(520px 320px at 6% 108%, rgba(14,107,168,.5), transparent 60%);
  pointer-events:none; }
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 74px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero p.lead { color: #cfe2f2; }
.hero .pill-row { margin: 22px 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-aside { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(4px); }
.hero-aside h3 { color: #fff; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } }

.pill { display: inline-flex; align-items: center; gap: .5em; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #eaf6f4; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.pill svg { width: 15px; height: 15px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Trust-Bar */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar .row { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: center; padding: 18px 0; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; color: var(--slate); font-weight: 600; font-size: .94rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--teal-600); flex: 0 0 auto; }

/* Cards / Grid */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d4e2f1; }
.card h3 { margin-top: 6px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 50px; height: 50px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-50); color: var(--blue); margin-bottom: 6px; }
.card .icon svg { width: 26px; height: 26px; }
.card.accent .icon { background: #e7f8f5; color: var(--teal-600); }
.card-link { font-family: var(--head); font-weight: 700; font-size: .95rem; display: inline-flex; align-items:center; gap: .4em; margin-top: 8px; }
.card-link::after { content: "→"; transition: transform .15s ease; }
.card:hover .card-link::after { transform: translateX(3px); }

.card-feature { display: flex; gap: 16px; align-items: flex-start; }
.card-feature .icon { flex: 0 0 auto; }

/* Listen mit Häkchen */
.checks { list-style: none; padding: 0; margin: 0 0 1.1em; }
.checks li { position: relative; padding-left: 30px; margin: .55em 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 19px; height: 19px;
  border-radius: 50%; background: var(--green-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.checks.tight li { margin: .3em 0; }

/* Prozess / Steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.steps.cols { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .steps.cols { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 540px){ .steps.cols { grid-template-columns: 1fr;} }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--head); font-weight: 800; font-size: 1rem; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; margin-bottom: .3em; }
.step p { margin: 0; color: var(--slate); font-size: .98rem; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px; }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--navy); color: #fff; font-family: var(--head); font-weight: 700; font-size: .9rem; letter-spacing: .02em; white-space: nowrap; }
table.data tbody tr:nth-child(even) { background: var(--bg-2); }
table.data tbody tr:hover { background: var(--blue-50); }
table.data td strong { color: var(--navy); }
.tag { display:inline-block; font-size: .76rem; font-weight: 700; font-family: var(--head); padding: 3px 9px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); }
.tag.green { background: var(--green-50); color: #157a42; }
.tag.amber { background: var(--amber-50); color: #92600a; }
.tag.teal  { background: #e7f8f5; color: var(--teal-600); }

/* Notice / Callout */
.notice { border: 1px solid var(--line); border-left: 4px solid var(--blue); background: var(--surface); border-radius: var(--radius-sm); padding: 18px 20px; margin: 1.4em 0; box-shadow: var(--shadow); }
.notice h4 { margin: 0 0 .3em; }
.notice p:last-child { margin: 0; }
.notice.tip { border-left-color: var(--teal); }
.notice.warn { border-left-color: var(--amber); background: var(--amber-50); }
.notice.warn h4 { color: #92600a; }
.notice .ico { font-weight: 800; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--head); font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); transition: transform .2s ease; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 18px; color: var(--slate); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* Breadcrumb */
.breadcrumb { font-size: .86rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li::after { content: "›"; margin-left: 6px; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb li:last-child { color: var(--slate); font-weight: 600; }

/* Page hero (Unterseiten) */
.page-hero { background: linear-gradient(160deg, #0a2540, #0e4d7e); color: #eaf2fa; padding: 8px 0 52px; }
.page-hero .breadcrumb, .page-hero .breadcrumb a, .page-hero .breadcrumb li:last-child { color: #aecbe4; }
.page-hero h1 { color: #fff; margin-top: 14px; }
.page-hero p { color: #cfe2f2; max-width: 720px; font-size: 1.14rem; margin-bottom: 0; }

/* Artikel-Inhalt */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; padding-top: .2em; }
.prose h3 { margin-top: 1.5em; color: var(--blue-700); }
.prose > p:first-of-type { font-size: 1.12rem; color: var(--slate); }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); margin: 1.4em 0; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .5em; }

/* Inhaltsverzeichnis */
.toc { background: var(--blue-50); border: 1px solid #d8e7f5; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 2em; }
.toc strong { display:block; font-family: var(--head); margin-bottom: .4em; color: var(--navy); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { font-weight: 500; }

/* Layout mit Sidebar */
.with-aside { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 44px; align-items: start; }
@media (max-width: 940px) { .with-aside { grid-template-columns: 1fr; } }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.aside-card h3 { font-size: 1.1rem; }
.aside-card.cta { background: linear-gradient(160deg, var(--navy), var(--blue)); color: #dbeafe; border: none; }
.aside-card.cta h3 { color: #fff; }
.aside-card.cta p { color: #cfe2f2; font-size: .96rem; }

/* Zertifikat-Siegel */
.seal-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch; }
.seal {
  flex: 1 1 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center;
}
.seal .seal-badge { width: 62px; height: 62px; flex: 0 0 auto; }
.seal h4 { margin: 0 0 2px; font-size: 1rem; }
.seal p { margin: 0; font-size: .86rem; color: var(--muted); }

/* Stat-Zahlen */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 700px){ .stats { grid-template-columns: repeat(2,1fr);} }
.stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat .num { font-family: var(--head); font-weight: 800; font-size: 2rem; color: #fff; line-height: 1; }
.stat .lbl { font-size: .85rem; color: #bcd5ea; margin-top: 6px; }

/* CTA-Band */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff; border-radius: var(--radius-lg); padding: 46px; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(420px 220px at 90% 10%, rgba(22,181,163,.35), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d3e6f5; max-width: 620px; }
.cta-band .hero-cta { margin-top: 18px; }
@media (max-width: 600px){ .cta-band { padding: 32px 24px; } }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: inline-flex; align-items:center; justify-content:center; flex: 0 0 auto; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list a { font-weight: 600; }
form .field { margin-bottom: 16px; }
form label { display:block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .94rem; }
form input, form select, form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }
form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ form .row2 { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #b9cbe0; padding: 56px 0 26px; }
.site-footer a { color: #cdddee; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 8px 0; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: var(--teal); }
.footer-brand p { color: #9fb6cf; font-size: .94rem; margin-top: 14px; max-width: 320px; }
.footer-badge { margin-top: 16px; display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; }
.footer-badge img, .footer-badge .seal-badge { width: 46px; height: 46px; }
.footer-badge span { font-size: .8rem; color: #cdddee; line-height: 1.4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: #8ba4bf; }
.footer-bottom a { color: #8ba4bf; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 16px; }

.disclaimer { font-size: .78rem; color: #7e97b3; margin-top: 14px; line-height: 1.5; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.maxw-720 { max-width: 720px; }
.divider-soft { height:1px; background: var(--line); border:0; margin: 0; }
