/* Pflegedienst Pulsus — one stylesheet, mobile first, no framework. */

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-400.d444e1815a3a.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-700.c6b471cbb2b9.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #f57336;          /* logo orange: accents, icons, large shapes */
  --brand-strong: #b4461a;   /* text and buttons on white, 5.4:1 */
  --brand-deep: #8f3612;
  --ink: #1d2732;
  --muted: #4b5866;
  --line: #ecdfd5;
  --bg: #ffffff;
  --cream: #fff7f1;
  --peach: #fde7da;
  --sage: #eef4f1;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(29, 39, 50, .18);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-strong); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }
b, strong { font-weight: 700; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--brand-strong); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { border-color: var(--brand-strong); color: var(--brand-strong); background: #fff; }
.btn-ghost:hover { background: var(--peach); color: var(--brand-deep); }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--cream); color: var(--brand-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar + header */
.topbar { background: var(--ink); color: #e9eef3; font-size: .95rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; padding-block: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .hide-sm { display: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo img { width: 168px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call { display: none; }

.nav-toggle { position: relative; }
.nav-toggle > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 16px; border: 2px solid var(--line); border-radius: 999px; font-weight: 700;
}
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle[open] > summary { border-color: var(--ink); }
.nav-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(92vw, 360px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px;
}
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list li + li { margin-top: 0; }
.nav-list a { display: block; padding: 12px 14px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 700; }
.nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--cream); color: var(--brand-deep); }
.nav-sub { list-style: none; margin: 0 0 6px 14px; padding: 0 0 0 10px; border-left: 2px solid var(--peach); }
.nav-sub a { font-weight: 400; padding: 8px 12px; }

@media (min-width: 640px) {
  .topbar .hide-sm { display: inline-flex; }
  .header-call { display: inline-flex; }
}

.nav-desktop { display: none; }
.nav-list a, .header-call { white-space: nowrap; }
@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .nav-desktop { display: block; margin-left: auto; }
  .nav-desktop .nav-list { display: flex; gap: 2px; align-items: center; }
  .nav-desktop .nav-list > li { position: relative; }
  .nav-desktop .nav-list > li > a { padding: 10px 14px; }
  .nav-desktop .nav-sub {
    position: absolute; left: 0; top: 100%; min-width: 300px; margin: 0; padding: 8px; border: 1px solid var(--line);
    border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); display: none;
  }
  .nav-desktop .nav-list > li:hover .nav-sub, .nav-desktop .nav-list > li:focus-within .nav-sub { display: block; }
  .site-header .wrap { min-height: 84px; }
  .logo img { width: 190px; }
}

/* Breadcrumbs */
.breadcrumbs { font-size: .95rem; color: var(--muted); padding-top: 18px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs li + li { margin-top: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: var(--brand); }
.breadcrumbs a { color: var(--muted); }
.hero > .breadcrumbs { padding-top: 0; margin-top: -10px; margin-bottom: 22px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); padding: 28px 0 44px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--peach); color: var(--brand-deep); font-size: .9rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 { margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.hero-points { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 700; }
.hero-points .icon { color: var(--brand); margin-top: 2px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; left: 14px; bottom: -18px; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: .95rem;
}
.hero-badge .icon { color: var(--brand); }
@media (min-width: 900px) {
  .hero { padding: 40px 0 72px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
  .hero-media img { aspect-ratio: 5 / 4; }
}

/* Sections & stream blocks */
.content { padding: 48px 0 24px; }
.content > * + * { margin-top: 0; }
.block { margin-block: 0 40px; }
.block-tint { background: var(--cream); padding: 52px 0; margin-block: 12px 52px; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose h4 { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose ul li::marker { color: var(--brand); }
.section-head { max-width: 72ch; margin-bottom: 28px; }
.section-head p { color: var(--muted); }

.figure img { border-radius: var(--radius); width: 100%; }
.figure figcaption { font-size: .95rem; color: var(--muted); margin-top: 8px; }

.split { display: grid; gap: 28px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.image-left > .split-media { order: -1; }
}

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; list-style: none; margin: 0; }
.cards > li { margin: 0; }
.card {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--peach); color: var(--brand-deep); margin-bottom: 16px;
}
a.card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--brand); }
a.card .card-more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--brand-strong); font-weight: 700; }

.checklist { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; background: var(--sage); border-radius: var(--radius-sm); }
.checklist .icon { color: #2f7a5b; margin-top: 3px; }

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: step; margin: 0; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-strong); color: #fff; font-weight: 700; margin-bottom: 12px;
}

.quote { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--peach); font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); font-weight: 700; line-height: 1.45; color: var(--brand-deep); }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 700; position: relative; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--brand-strong); border-bottom: 2.5px solid var(--brand-strong); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] { border-color: var(--brand); }
.faq .faq-answer { padding: 0 20px 18px; color: var(--muted); }
.faq .faq-answer > :last-child { margin-bottom: 0; }
.foldout summary h3 { display: inline; margin: 0; font: inherit; color: inherit; letter-spacing: inherit; }

.cta {
  border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(135deg, var(--brand-strong), var(--brand-deep)); color: #fff;
  display: grid; gap: 20px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: #fde7da; max-width: 60ch; }
.cta .btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr 1fr; } .cta .btn-row { justify-content: flex-end; } }

/* Blog */
.post-list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); list-style: none; padding: 0; }
.post-list > li { margin: 0; }
.post-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; background: #fff; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card .post-body { padding: 20px 22px 24px; }
.post-card h2 { font-size: 1.3rem; }
.post-card:hover { box-shadow: var(--shadow); color: inherit; }
.post-meta { color: var(--muted); font-size: .95rem; margin-bottom: 8px; }

/* Contact */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.contact-card { background: var(--cream); border-radius: var(--radius); padding: 26px; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.contact-lines .icon { color: var(--brand-strong); margin-top: 3px; }
.contact-lines a { font-weight: 700; }
.form { display: grid; gap: 18px; }
.form .field { display: grid; gap: 6px; }
.form label { font-weight: 700; }
.form .help { font-size: .95rem; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea, .form select {
  width: 100%; font: inherit; color: var(--ink); padding: 14px 16px; border: 2px solid #cdbfb4; border-radius: var(--radius-sm); background: #fff;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--peach); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--brand-strong); flex: none; }
.form .errorlist { list-style: none; padding: 0; margin: 0; color: #a01414; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--sage); }

/* Footer */
.site-footer { background: var(--ink); color: #dfe6ec; padding: 56px 0 120px; margin-top: 56px; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.1rem; color: #fff; letter-spacing: .02em; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li + li { margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .95rem; }
.footer-logo { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { width: 150px; }
@media (min-width: 900px) { .site-footer { padding-bottom: 40px; } }

/* Mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .25);
}
.callbar .btn { min-height: 50px; padding-inline: .8em; }
@media (min-width: 900px) { .callbar { display: none; } }

.staging-banner { background: #fff3cd; color: #5c4400; text-align: center; font-size: .9rem; padding: 6px 12px; }

.hero h1.h1-long { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.55rem); }
.hero-lead { display: -webkit-box; -webkit-box-orient: vertical; }

/* Trust bar */
.highlights { margin: -8px 0 44px; }
.highlight-list { list-style: none; margin: 0; padding: 18px; display: grid; gap: 14px 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.highlight-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 1rem; line-height: 1.45; color: var(--muted); }
.highlight-list strong { color: var(--ink); }
.highlight-list .icon { color: var(--brand); margin-top: 2px; }
.lead-more { color: var(--muted); }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.feature-list .card-icon { margin: 0; flex: none; }
.feature-list h3 { font-size: 1.2rem; margin-bottom: .3em; }
.feature-list p { margin: 0; color: var(--muted); }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); max-width: 880px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.data-table caption { text-align: left; padding: 14px 16px 6px; font-weight: 700; color: var(--ink); }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--cream); font-weight: 700; white-space: nowrap; }
.data-table tbody th { font-weight: 700; white-space: nowrap; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table td:not(:first-child) { font-variant-numeric: tabular-nums; }
.source-note { max-width: 880px; font-size: .95rem; color: var(--muted); border-left: 3px solid var(--peach); padding: 4px 0 4px 14px; }
.source-note p { margin: 0 0 .4em; }
@media (max-width: 640px) {
  .table-wrap { overflow: visible; border: 0; background: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table caption { display: block; padding: 0 0 10px; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table tr { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 12px; overflow: hidden; }
  .data-table tbody th { background: var(--cream); border-bottom: 1px solid var(--line); }
  .data-table td { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
  .data-table td::before { content: attr(data-label); color: var(--muted); font-weight: 700; flex: 0 1 55%; text-align: left; }
  .data-table td { text-align: right; }
  .data-table tr > *:last-child { border-bottom: 0; }
}

/* Jobs */
.job-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.job-card { margin: 0; display: grid; gap: 16px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.job-card h3 { margin-bottom: .3em; }
.job-card h3 a { color: var(--ink); text-decoration: none; }
.job-card h3 a:hover { color: var(--brand-deep); text-decoration: underline; }
.job-card p { margin: 0 0 .5em; color: var(--muted); }
.job-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.job-meta .icon { color: var(--brand); }
.job-card-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (min-width: 900px) { .job-card { grid-template-columns: 1fr auto; } .job-card-actions { justify-content: flex-end; } }
.job-facts { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.job-facts li { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.job-facts .icon { color: var(--brand); }
.job-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .job-layout { grid-template-columns: 1fr 360px; gap: 56px; } .apply-card { position: sticky; top: 110px; } }

/* Editor-only controls: dashed so nobody mistakes them for site content */
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 10px; border: 2px dashed #8a9bb0; border-radius: 14px; }
.btn-admin { min-height: 40px; padding: .45em 1em; font-size: .95rem; background: #eef2f7; color: #1d2732; border-color: #8a9bb0; }
.btn-admin:hover { background: #dfe6ef; color: #1d2732; }
.btn-admin-danger { background: #fdecec; color: #8f1212; border-color: #d98b8b; }
.btn-admin-danger:hover { background: #f9d9d9; color: #8f1212; }
.job-card-actions .admin-actions { margin-top: 0; }

/* Service area */
.chip-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--sage); font-weight: 700; }
.chip-list .icon { color: #2f7a5b; }
.area-distance { color: var(--muted); max-width: 72ch; }

/* Cookie banner (CookieConsent 3, consent/static) in the site's colours and type sizes */
#cc-main {
  --cc-font-family: var(--font);
  --cc-bg: #fff;
  --cc-primary-color: var(--ink);
  --cc-secondary-color: var(--muted);
  --cc-link-color: var(--brand-strong);
  --cc-btn-border-radius: 999px;
  --cc-modal-border-radius: var(--radius);
  --cc-btn-primary-bg: var(--brand-strong);
  --cc-btn-primary-border-color: var(--brand-strong);
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-hover-bg: var(--brand-deep);
  --cc-btn-primary-hover-border-color: var(--brand-deep);
  --cc-btn-primary-hover-color: #fff;
  --cc-btn-secondary-bg: var(--cream);
  --cc-btn-secondary-border-color: var(--line);
  --cc-btn-secondary-color: var(--ink);
  --cc-btn-secondary-hover-bg: var(--peach);
  --cc-btn-secondary-hover-border-color: var(--peach);
  --cc-btn-secondary-hover-color: var(--ink);
  --cc-toggle-on-bg: var(--brand-strong);
  --cc-separator-border-color: var(--line);
  --cc-cookie-category-block-bg: var(--cream);
  --cc-cookie-category-block-border: var(--line);
  --cc-cookie-category-block-hover-bg: var(--peach);
  --cc-cookie-category-block-hover-border: var(--peach);
  --cc-cookie-category-expanded-block-bg: var(--cream);
  --cc-footer-bg: var(--cream);
  --cc-footer-border-color: var(--line);
  --cc-footer-color: var(--muted);
}
/* the library's stylesheet loads after this one, so these rules need more weight than its own */
#cc-main .cm .cm__texts { padding-top: .85rem; }
#cc-main .cm .cm__title { font-size: 1.1rem; }
#cc-main .cm .cm__title + .cm__desc { margin-top: .35em; }
#cc-main .cm .cm__desc { font-size: .95rem; line-height: 1.45; padding-bottom: .8em; }
#cc-main .cm .cm__btn-group { flex-direction: row !important; gap: .5rem; }
#cc-main .cm .cm__btn-group .cm__btn { flex: 1 1 0 !important; font-size: 1rem; min-height: 46px; min-width: 0; margin: 0 !important; }
#cc-main .cm .cm__link-group { font-size: .9rem; }
#cc-main .cm .cm__link-group > * { padding: .3em 0; }
#cc-main .cm .cc-link { background: none; border: 0; padding: .3em 0; font: inherit; font-weight: 600; color: inherit; cursor: pointer; }
#cc-main .pm .pm__section-desc { font-size: 1rem; line-height: 1.55; }
#cc-main .pm .pm__btn { font-size: 1rem; min-height: 46px; }
/* where the call bar shows, the banner sits above it: "Anrufen" stays reachable before any choice (bar = 71px) */
@media (max-width: 899px) {
  #cc-main .cm.cm--bottom { bottom: calc(71px + env(safe-area-inset-bottom) + var(--cc-modal-margin)); }
}
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
