
/* kindermedizin-regiobasel.ch — Redesign */
/* Farben aus Logo B1: Beige, Rot, Olivgrün */
:root {
  --accent: #b8242a;
  --accent-deep: #8f1b20;
  --cream: #e6d7c8;
  --cream-soft: #f2e9de;
  --olive: #3a4a3e;
  --olive-deep: #2e3b31;
  --ink: #16161b;
  --sub: #5b5e66;
  --line: #e6dfd3;
  --bg: #faf7f2;
  --surface: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Work Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ===== Header ===== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 84px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand .blocks { display: inline-flex; gap: 4px; }
.brand .block {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; letter-spacing: -0.02em; line-height: 1;
  border-radius: 7px; width: 34px; height: 34px; font-size: 21px;
}
.brand .b-k { background: var(--cream); color: var(--ink); }
.brand .b-j { background: var(--accent); color: #fff; }
.brand .b-m { background: var(--olive); color: #fff; }
.brand .text { display: flex; flex-direction: column; line-height: 1.15; }
.brand .t1 { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--sub); font-weight: 600; }
.brand .t2 { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.brand .t3 { font-size: 10px; font-weight: 600; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 1px; }

.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--ink);
  font-size: 14.5px; font-weight: 500;
  padding: 8px 13px; border-radius: 999px;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--cream-soft); color: var(--ink); }
.site-nav a.active { background: var(--cream); color: var(--ink); font-weight: 600; }
.site-nav a.nav-notfall {
  background: var(--accent); color: #fff; font-weight: 600;
  margin-left: 6px;
}
.site-nav a.nav-notfall:hover { background: var(--accent-deep); color: #fff; }

/* ===== Dropdown (Stellenbörse) ===== */
.nav-dropdown { position: relative; display: flex; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding: 8px 13px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  background: none; border: none; font-family: inherit;
}
.nav-dropdown:hover .nav-trigger,
.nav-dropdown.open .nav-trigger { background: var(--cream-soft); }
.nav-trigger .chev { width: 9px; height: 9px; transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-trigger .chev,
.nav-dropdown.open .nav-trigger .chev { transform: rotate(180deg); }
.nav-submenu {
  position: absolute; top: 100%; left: 0; margin-top: 4px;
  min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 34px rgba(22, 22, 27, 0.12);
  padding: 7px; display: none; flex-direction: column; gap: 2px; z-index: 60;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown.open .nav-submenu { display: flex; }
.nav-submenu a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.nav-submenu a:hover { background: var(--cream-soft); }

/* Burger-Toggle (öffnet das seitliche Menü) */
.nav-area { display: flex; align-items: center; gap: 14px; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--accent); color: var(--accent);
  font-size: 14px; font-weight: 600; text-decoration: none;
  background: transparent; white-space: nowrap; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-outline.btn-wide { padding: 16px 28px; font-size: 16px; margin-bottom: 24px; gap: 10px; white-space: normal; }
.drawer-cta-wrap { padding: 4px 16px 16px; }
.drawer-cta-wrap .btn-outline { width: 100%; padding: 13px 18px; font-size: 15px; }
.form-status { margin: 12px 0 0; font-size: 14px; min-height: 1em; }
.form-status.ok { color: #1f8a5b; font-weight: 600; }
.form-status.err { color: var(--accent-deep); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nav-toggle {
  display: flex;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.drawer-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.drawer-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.drawer-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Seitliches Pop-up-Menü (Drawer) ===== */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(22, 22, 27, 0.42);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease; z-index: 200;
}
body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(360px, 86vw);
  background: var(--bg);
  box-shadow: -18px 0 50px rgba(22, 22, 27, 0.18);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 210; display: flex; flex-direction: column;
}
body.drawer-open .drawer { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.drawer-head span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sub); font-weight: 600; }
.drawer-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); cursor: pointer; font-size: 22px; line-height: 1; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.drawer-close:hover { background: var(--cream-soft); }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; padding: 72px 16px 16px; overflow-y: auto; flex: 1; }
.drawer-nav > a {
  padding: 13px 16px; border-radius: 12px; font-size: 16px; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.drawer-nav > a:hover { background: var(--cream-soft); }
.drawer-nav > a.active { background: var(--cream); font-weight: 600; }
.drawer-group { padding: 12px 16px 6px; }
.drawer-group-title { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.drawer-group a { display: block; padding: 10px 16px; border-radius: 10px; font-size: 15px; color: var(--sub); text-decoration: none; cursor: pointer; }
.drawer-group a:hover { background: var(--cream-soft); color: var(--ink); }
.drawer-notfall { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--cream-soft); flex-shrink: 0; }
.drawer-notfall .dn-label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sub); font-weight: 600; }
.drawer-notfall .dn-num { display: block; font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none; margin: 4px 0 12px; }
.drawer-notfall .dn-btn {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
}
.drawer-notfall .dn-btn:hover { background: var(--accent-deep); color: #fff; }

/* ===== Page hero ===== */
.page-hero {
  background: var(--cream);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-img {
  position: absolute; top: 0; height: 100%;
  right: max(28px, calc((100% - 1140px) / 2 + 28px));
  width: min(38vw, 540px);
  object-fit: cover; display: block;
}
.page-hero.has-image .wrap { padding-right: clamp(28px, 46vw, 660px); }
@media (max-width: 720px) {
  .page-hero.has-image { padding-bottom: 0; }
  .page-hero.has-image .wrap { padding-right: 28px; }
  .page-hero .hero-img {
    position: static;
    width: 100%; height: 210px;
    margin-top: 28px;
  }
}
.page-hero .eyebrow {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin: 0 0 10px;
}
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; margin: 0;
  max-width: 22ch; text-wrap: balance;
}
.page-hero p.lead {
  font-size: 18px; color: #44423d; max-width: 62ch;
  margin: 18px 0 0;
}

/* ===== Content ===== */
.content { padding: 56px 0 72px; }
.content h2 {
  font-size: 26px; font-weight: 700; letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.content h3 { font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.content p { margin: 0 0 14px; }
.content ul { margin: 0 0 14px; padding-left: 22px; }
.content li { margin-bottom: 7px; }

.section { margin-bottom: 44px; }
.section:last-child { margin-bottom: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px;
}
.card + .card { margin-top: 20px; }

/* ===== Partner-Logos ===== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.partner-logos a {
  flex: 0 1 300px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 28px; min-height: 132px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.partner-logos a:hover { box-shadow: 0 14px 30px rgba(22, 22, 27, 0.10); transform: translateY(-2px); border-color: #d9d4cb; }
.partner-logos img { width: auto; height: auto; max-width: 100%; max-height: 60px; object-fit: contain; display: block; }

.card-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  align-items: start;
}
@media (max-width: 800px) { .card-grid { grid-template-columns: 1fr; } }

.tag {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  background: rgba(58, 74, 62, 0.1);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.tag.tag-red { color: var(--accent); background: rgba(184, 36, 42, 0.09); }

/* Notfall-Elemente */
.emergency-banner {
  background: var(--accent); color: #fff;
  border-radius: 16px; padding: 26px 30px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
}
.emergency-banner .label { font-weight: 600; font-size: 15px; opacity: 0.92; }
.emergency-banner .number {
  font-weight: 800; font-size: 32px; letter-spacing: 0.01em;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.emergency-banner .number:hover { color: var(--cream); }

.phone-table { width: 100%; border-collapse: collapse; }
.phone-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.phone-table tr:last-child td { border-bottom: none; }
.phone-table td.num {
  font-weight: 700; white-space: nowrap; text-align: right;
  font-variant-numeric: tabular-nums;
}
.phone-table td.num a { text-decoration: none; }
.phone-table tr.hot td { color: var(--accent); font-weight: 700; }
.phone-table .note { display: block; font-size: 13px; font-weight: 400; color: var(--sub); }

/* Link-Listen */
.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.link-list li { margin: 0; }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 20px;
  text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: 16px;
}
.link-list a::after { content: "→"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.link-list a:hover { border-color: var(--accent); }
.link-list .sub { display: block; font-size: 13.5px; color: var(--sub); font-weight: 400; margin-top: 2px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: 15.5px;
  border: none; border-radius: 999px;
  padding: 12px 26px;
  text-decoration: none; cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--accent-deep); color: #fff; }
.btn-olive { background: var(--olive); }
.btn-olive:hover { background: var(--olive-deep); }

/* Formular */
.form-grid { display: grid; gap: 16px; }
.form-grid label { font-weight: 600; font-size: 14.5px; display: block; margin-bottom: 6px; }
.form-grid input, .form-grid textarea {
  width: 100%; font-family: inherit; font-size: 16px;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; background: var(--surface); color: var(--ink);
}
.form-grid input:focus, .form-grid textarea:focus {
  outline: 2px solid var(--olive); outline-offset: 0; border-color: var(--olive);
}
.form-grid textarea { min-height: 140px; resize: vertical; }

/* Hinweis-Box */
.notice {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
}

/* Akkordeon-Boxen (Adresslisten) */
details.acc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
details.acc + details.acc { margin-top: 16px; }
details.acc summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600; font-size: 17px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary .acc-meta {
  font-size: 13px; font-weight: 500; color: var(--sub);
  margin-left: auto; white-space: nowrap;
}
details.acc summary .acc-chev {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); font-weight: 700; font-size: 16px;
  transition: transform 0.2s ease;
}
details.acc[open] summary .acc-chev { transform: rotate(45deg); background: var(--accent); color: #fff; }
details.acc[open] summary { border-bottom: 1px solid var(--line); }
.acc-body { padding: 10px 24px 24px; overflow-x: auto; }

.addr-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.addr-table th {
  text-align: left; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sub); font-weight: 700;
  padding: 12px 10px 8px; border-bottom: 2px solid var(--line);
}
.addr-table td {
  padding: 11px 10px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.addr-table tr:last-child td { border-bottom: none; }
.addr-table td.place { font-weight: 600; white-space: nowrap; }
.addr-table .praxis { font-weight: 600; color: var(--olive); display: block; }
.addr-table .note { color: var(--sub); font-size: 13.5px; }
.addr-table td.tel { white-space: nowrap; font-variant-numeric: tabular-nums; }
.addr-table td.tel .fax { display: block; color: var(--sub); font-size: 13.5px; }
.addr-table td.lvl { white-space: nowrap; }

/* ===== Footer ===== */
.site-footer {
  background: var(--olive); color: #e9e5dc;
  margin-top: 40px;
  padding: 52px 0 32px;
  font-size: 15px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--cream); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  /* Mobile-Reihenfolge: Marke, Notfall, Menü, dann Impressum/Datenschutz */
  .footer-grid > div:first-child { display: contents; }
  .footer-grid > div:first-child > .brand { order: 1; margin-bottom: 0 !important; }
  .footer-grid > div:first-child > p { order: 2; margin-top: 0 !important; }
  .footer-notfall { order: 3; }
  .footer-grid > div:nth-child(2) { order: 4; }
  .footer-grid > div:first-child > .footer-inline-links { order: 5; margin-top: 0 !important; }
  .footer-notfall .fn-btn { margin-bottom: 16px; }
}
.site-footer h4 {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); margin: 0 0 14px; font-weight: 700;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-group { margin-top: 16px; }
.footer-group-title {
  display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); font-weight: 700; opacity: 0.88; margin-bottom: 6px;
}
.footer-group > ul { margin-left: 12px; gap: 6px; }
.footer-group > ul a { color: rgba(255,255,255,0.78); }
.site-footer .brand .t1 { color: rgba(255,255,255,0.6); }
.site-footer .brand .t2 { color: #fff; }
.site-footer .brand .t3 { color: var(--cream); }
.site-footer .brand .b-m { background: #ffffff; color: var(--olive); }
.site-footer .impressum p { margin: 0 0 6px; }
.site-footer .impressum .small { font-size: 13px; color: rgba(255,255,255,0.65); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.65);
}
.site-credit {
  margin: 0; font-size: 12.5px; letter-spacing: 0.02em;
}
.site-credit a { text-decoration: none; }
.site-credit a:hover u { text-decoration: none; opacity: 0.8; }

@media (max-width: 1024px) {
  .site-header .wrap { min-height: 84px; }
  .site-nav { display: none; }
  .nav-cta { display: none; }
}


/* ===== Mobile-Anpassungen Tabellen / Accordion / Header ===== */
@media (max-width: 720px) {
  /* Accordion-Summary: umbrechen statt rausragen */
  details.acc summary { flex-wrap: wrap; padding: 16px 18px; row-gap: 2px; }
  details.acc summary .acc-meta { margin-left: 0; order: 3; flex-basis: 100%; white-space: normal; }
  .acc-body { padding: 6px 18px 18px; }

  /* Adress-Tabellen: gestapelte Zeilen statt breiter Tabelle */
  .addr-table { font-size: 14.5px; }
  .addr-table thead { display: none; }
  .addr-table, .addr-table tbody, .addr-table tr, .addr-table td { display: block; width: 100%; }
  .addr-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .addr-table tr:last-child { border-bottom: none; }
  .addr-table td { padding: 1px 0; border-bottom: none; }
  .addr-table td.place, .addr-table td.tel, .addr-table td.lvl { white-space: normal; }
  .addr-table td.place {
    font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--sub); padding-bottom: 3px;
  }
  .addr-table td.tel { padding-top: 4px; }
  .addr-table td.tel .fax { display: inline; margin-left: 10px; }

  /* Telefon-Tabelle (Notfall): Nummern dürfen umbrechen */
  .phone-table td { padding: 10px 4px; }
  .phone-table td.num { white-space: normal; }

  /* Karten & Banner kompakter */
  .card { padding: 22px 18px; }
  .emergency-banner { padding: 22px 20px; }
  .emergency-banner .number { font-size: 26px; }
}


/* ===== Footer credit + Notfallnummer ===== */
@keyframes klariano-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 166, 90, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(0, 166, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 166, 90, 0); }
}
.impressum-notfall {
  margin: 10px 0 0; font-weight: 600; color: #fff;
}
.impressum-notfall a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
.impressum-notfall a:hover { border-bottom-color: #fff; }


@media (max-width: 720px) {
  .footer-bottom .site-credit { margin-left: auto; }
}


/* ===== Rechtliche Seiten (Impressum / Datenschutz) ===== */
.legal h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; margin: 26px 0 6px; }
.legal p { margin: 0 0 14px; max-width: 82ch; }
.legal ul { margin: 0 0 18px; padding-left: 22px; max-width: 82ch; }
.legal li { margin-bottom: 7px; }
.legal .addr { line-height: 1.75; }
.legal a { color: var(--accent); word-break: break-word; }

/* ===== Footer Notfall-Spalte ===== */
.footer-notfall { align-self: start; }
.footer-notfall .fn-label {
  font-size: 15px; font-weight: 600; color: #fff; opacity: 0.92;
  letter-spacing: 0; text-transform: none; margin: 0 0 8px;
}
.footer-notfall .fn-num {
  display: block; font-size: 26px; font-weight: 800; color: #fff;
  text-decoration: none; white-space: nowrap; margin: 0 0 16px;
}
.footer-notfall .fn-num:hover { color: var(--cream); }
.footer-notfall .fn-btn {
  display: inline-block;
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 13px 26px; border-radius: 999px; text-decoration: none; font-size: 15px;
}
.footer-notfall .fn-btn:hover { background: #fff; color: var(--accent); }

/* ===== Footer Legal-Links ===== */
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-bottom-left { display: flex; flex-direction: column; gap: 8px; }
.footer-inline-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.footer-inline-links a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-inline-links a:hover { text-decoration: underline; }

/* ===== Cookie-Banner ===== */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1200;
  max-width: 560px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 56px rgba(22, 22, 27, 0.24);
  padding: 24px 26px;
  transform: translateY(180%); opacity: 0;
  transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .4s ease;
  pointer-events: none;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner h4 { margin: 0 0 7px; font-size: 16px; }
.cookie-banner p { margin: 0 0 18px; font-size: 13.5px; color: var(--sub); line-height: 1.55; }
.cookie-banner p a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button { font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; border-radius: 999px; }
.cookie-actions .btn { border: none; padding: 12px 22px; }
.cookie-actions .btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 11px 20px;
}
.cookie-actions .btn-ghost:hover { background: var(--cream-soft); }
@media (max-width: 520px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
}
