/* ==========================================================
   Stylesheet – Farben in :root anpassen
   ========================================================== */

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #102338;        /* Hauptfarbe (Logo, Kopfzeilen, Buttons) */
  --navy-2: #1b3a5a;
  --accent: #f2b300;      /* Akzent (Angebot-Buttons) */
  --accent-2: #dca200;
  --text: #1f2a35;
  --muted: #5a6775;
  --line: #dfe4e9;
  --grey: #f3f5f7;
  --white: #fff;
  --ok: #1f7a3d;
  --error: #b42318;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(16, 35, 56, .06), 0 4px 14px rgba(16, 35, 56, .07);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-2); }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.lead { font-size: 1.2rem; color: var(--muted); }
.small { font-size: .95rem; color: var(--muted); }
.icon { width: 20px; height: 20px; flex: none; }
.icon-xs { width: 16px; height: 16px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--white); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.4rem; border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-2); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Infoleiste ---------- */
.topbar { background: var(--navy); color: #d7dee6; font-size: .92rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar-contact { display: flex; gap: 1.5rem; align-items: center; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .4rem; color: #d7dee6; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar .icon { width: 16px; height: 16px; color: var(--accent); }
.language-switch { display: flex; gap: .9rem; }
.language-switch a { color: #aab6c3; }
.language-switch a.selected { color: var(--white); font-weight: 650; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 10px rgba(16, 35, 56, .08); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-logo svg { width: 42px; height: 42px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.6rem; font-weight: 800; letter-spacing: .01em; }
.brand-text small { font-size: .85rem; color: var(--muted); }

.nav-desktop { display: flex; align-items: center; gap: .25rem; }
.nav-link { display: inline-flex; align-items: center; gap: .25rem; padding: .5rem .8rem; border-radius: var(--radius); color: var(--text); text-decoration: none; font-weight: 600; }
.nav-link:hover { color: var(--navy); background: var(--grey); }
.nav-link.active { color: var(--navy); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: 100%; left: 0; min-width: 240px; padding: .5rem 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown-panel a { display: block; padding: .55rem 1.1rem; color: var(--text); text-decoration: none; }
.dropdown-panel a:hover { background: var(--grey); color: var(--navy); }
.btn-header { padding: .65rem 1.15rem; }

.mobile-toggle { display: none; width: 46px; height: 46px; padding: 12px 11px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; flex-direction: column; justify-content: space-between; }
.mobile-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--white); padding: .5rem 0 1.25rem; }
.mobile-menu a:not(.btn) { display: block; padding: .8rem 0; border-bottom: 1px solid var(--grey); color: var(--text); text-decoration: none; font-weight: 600; }
.mobile-menu .mobile-sub { padding-left: 1rem; font-weight: 400; color: var(--muted); }
.mobile-quote { width: 100%; margin-top: 1rem; }

@media (max-width: 1020px) {
  .nav-desktop, .btn-header { display: none; }
  .mobile-toggle { display: flex; }
}
@media (max-width: 760px) { .hide-md { display: none !important; } }
@media (max-width: 560px) {
  .hide-sm { display: none !important; }
  .brand-text small { display: none; }
  .header-inner { min-height: 66px; }
}

/* ---------- Abschnitte ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-grey { background: var(--grey); }
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }

/* ---------- Startseite: Vollbild-Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - 133px); min-height: calc(100svh - 133px);
  padding: 64px 0 96px;
  background: var(--navy); color: #e6ecf1;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16, 35, 56, .9) 0%, rgba(16, 35, 56, .72) 50%, rgba(16, 35, 56, .4) 100%);
}
.hero-no-photo .hero-bg { object-position: 75% center; opacity: .55; }
.hero-content { position: relative; z-index: 2; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 22ch; margin-bottom: .45em; text-wrap: balance; }
.hero .lead { color: #d3dce5; max-width: 54ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); margin-bottom: 2rem; }
.hero .btn { padding: .9rem 1.6rem; font-size: 1.05rem; }
.hero .checklist { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.hero .checklist .icon { color: var(--accent); }
.hero-scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45); color: var(--white);
}
.hero-scroll:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .75); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-outline-light .icon { color: var(--accent); }
.btn-outline-light:hover .icon { color: var(--navy); }
@media (max-width: 560px) {
  .hero { min-height: calc(100vh - 113px); min-height: calc(100svh - 113px); padding: 48px 0 88px; }
  .hero::before { background: rgba(16, 35, 56, .78); }
  .hero .checklist { flex-direction: column; }
}

.checklist { list-style: none; display: grid; gap: .5rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist .icon { color: var(--ok); margin-top: .2rem; }
.checklist-lines { gap: 0; margin-bottom: 2rem; }
.checklist-lines li { padding: .7rem 0; border-bottom: 1px solid var(--line); }

.card-grid { display: grid; gap: 1.5rem; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: #cfd6dd; color: var(--text); }
.card-image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { color: var(--muted); font-size: 1rem; flex: 1; }
.card-meta { color: var(--muted); font-size: .88rem; margin-bottom: .3rem; }
.more-link { display: inline-flex; align-items: center; gap: .25rem; font-weight: 650; color: var(--navy-2); text-decoration: none; }
.card:hover .more-link, a.more-link:hover { text-decoration: underline; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff5d6; color: var(--navy); margin-bottom: 1rem; }
.feature-icon .icon { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: 1rem; margin: 0; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: none; }
.steps li { position: relative; }
.step-number { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; margin-bottom: .9rem; }
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }

.cta-band { background: var(--navy); color: #d7dee6; padding: clamp(40px, 6vw, 60px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-band h2 { color: var(--white); margin-bottom: .4rem; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; flex: none; }
.cta-phone { display: inline-flex; align-items: center; gap: .5rem; color: var(--white); font-weight: 650; font-size: 1.15rem; text-decoration: none; }
.cta-phone .icon { color: var(--accent); }
.cta-phone:hover { color: var(--white); text-decoration: underline; }

@media (max-width: 1020px) {
  .card-grid-4, .features { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .card-grid-4, .card-grid-3, .card-grid-2, .features, .steps { grid-template-columns: 1fr; }
  .button-row .btn { flex: 1 1 100%; }
}

/* ---------- Unterseiten ---------- */
.page-head { background: var(--grey); border-bottom: 1px solid var(--line); padding: 2rem 0 2.5rem; }
.page-head h1 { margin-bottom: .4rem; }
.page-head .lead { margin: 0; max-width: 62ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.content h2 { margin-top: 2.25rem; }
.content-image { width: 100%; border-radius: var(--radius); margin-bottom: 1.75rem; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.tag-list li { background: var(--grey); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .97rem; }
.note { margin-top: 2rem; font-size: .93rem; color: var(--muted); }

.sidebar { position: sticky; top: 100px; display: grid; gap: 1.25rem; }
.side-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.side-box h3 { margin-bottom: .5rem; }
.side-box-dark { background: var(--navy); border-color: var(--navy); color: #d7dee6; }
.side-box-dark h3 { color: var(--white); }
.side-phone, .side-mail { display: flex; align-items: center; gap: .55rem; color: var(--white); text-decoration: none; margin-bottom: .6rem; word-break: break-word; }
.side-phone { font-size: 1.2rem; font-weight: 700; }
.side-phone .icon, .side-mail .icon { color: var(--accent); }
.side-phone:hover, .side-mail:hover { color: var(--white); text-decoration: underline; }
.side-box-dark .btn { margin-top: .8rem; }
.side-nav { list-style: none; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a:hover { color: var(--navy); }
.facts { margin: 0 0 1.25rem; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; }
.facts dt { font-weight: 650; }
.facts dd { margin: 0; }

.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .6rem; background: var(--white); }
.faq summary { cursor: pointer; list-style: none; padding: .9rem 1.1rem; font-weight: 650; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--navy-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.1rem 1rem; margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split-image img { width: 100%; border-radius: var(--radius); max-height: 520px; object-fit: cover; }
.split h2 + p { margin-bottom: 1.75rem; }
.placeholder-box, .empty-box { background: var(--white); border: 1px dashed #b9c3cd; border-radius: var(--radius); padding: 2rem; }
.empty-box { text-align: center; max-width: 640px; margin: 0 auto; }
.empty-box p { color: var(--muted); }

.project-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.project-filter button { padding: .45rem 1rem; border: 1px solid var(--line); background: var(--white); border-radius: 999px; cursor: pointer; }
.project-filter .filter-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 900px) {
  .content-layout, .split { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ---------- Formulare ---------- */
.contact-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-box h2 { font-size: 1.35rem; }
.contact-list { list-style: none; margin-bottom: 1.25rem; }
.contact-list li { display: flex; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { color: var(--navy-2); margin-top: .2rem; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list span { font-size: .88rem; color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.form-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form-box h2 { font-size: 1.35rem; }
form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field span { font-weight: 600; font-size: .97rem; }
.field b { color: var(--error); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; border: 1px solid #c3ccd5; border-radius: var(--radius); background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(27, 58, 90, .15); }
.field input::placeholder, .field textarea::placeholder { color: #98a3ae; }
form .btn { justify-self: start; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .9rem 1rem; border-radius: var(--radius); background: #fdecea; color: var(--error); border: 1px solid #f4c7c3; }
.form-status.success { background: #e7f4ec; color: var(--ok); border-color: #bfe0cb; }


@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Popup "Wie können wir Ihnen helfen?" ---------- */
.contact-modal {
  width: min(440px, calc(100% - 32px)); padding: 2.75rem 2.25rem 2.25rem;
  border: 0; border-radius: 16px; background: var(--white); color: var(--text);
  box-shadow: 0 24px 64px rgba(10, 22, 36, .35); text-align: center;
}
.contact-modal::backdrop { background: rgba(10, 22, 36, .6); }
.contact-modal[open] { animation: modal-in .18s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .contact-modal[open] { animation: none; } }
.contact-modal h2 { font-size: 1.5rem; margin: 0 0 1.5rem; color: var(--navy-2); }
.modal-options { display: grid; gap: .85rem; }
.modal-option { width: 100%; padding: 1rem 1.25rem; font-size: 1.1rem; border-radius: 10px; }
.modal-option .icon { width: 22px; height: 22px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--grey); color: var(--navy); cursor: pointer;
}
.modal-close:hover { background: var(--line); }

/* ---------- Rechtliches / Fehler ---------- */
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.warning-box { background: #fff7db; border: 1px solid #f1d98a; border-radius: var(--radius); padding: 1rem 1.25rem; }
.warning-box p { margin: 0; }
.error-box { text-align: center; }
.error-box .button-row { justify-content: center; }
.error-code { font-size: 4.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: .5rem; }

/* ---------- Fußzeile ---------- */
.site-footer { background: #0b1a2b; color: #b9c4cf; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2rem; padding: 3.5rem 0 2.5rem; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer a, .site-footer .footer-link { color: #d7dee6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.brand-light { color: var(--white); margin-bottom: 1rem; }
.brand-light .brand-text small { color: #9fb0c0; }
.footer-about p { max-width: 36ch; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--accent); margin-top: .2rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 0; }
.footer-bottom-inner span:last-child { display: flex; gap: 1.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.scroll-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: var(--white); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; box-shadow: var(--shadow); }
.scroll-top.visible { opacity: 1; visibility: visible; }

/* ---------- Admin-Übersicht ---------- */
.admin-body { background: var(--grey); }
.admin-content { padding: 2.5rem 0; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.admin-head p { color: var(--muted); margin: 0; }
.admin-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.admin-table-wrap th, .admin-table-wrap td { text-align: left; vertical-align: top; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.admin-table-wrap th { background: var(--grey); font-weight: 650; }
.admin-table-wrap dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; margin: .5rem 0 0; }
.admin-table-wrap dt { font-weight: 600; }
.admin-table-wrap dd { margin: 0; white-space: pre-wrap; }
.admin-empty { background: var(--white); border: 1px dashed #b9c3cd; border-radius: var(--radius); padding: 2rem; text-align: center; }
.admin-warning { color: var(--muted); font-size: .9rem; margin-top: 1.5rem; }



/* Logo im Header */
.header-inner { min-height: 92px; }
.brand { gap: 1rem; }
.brand-logo img { height: 70px; width: auto; display: block; transition: height .2s; }

/* Etwas kleiner, sobald man nach unten scrollt */
.site-header.scrolled .brand-logo img { height: 54px; }
.site-header.scrolled .header-inner { min-height: 72px; }

/* Handy */
@media (max-width: 560px) {
  .header-inner { min-height: 72px; }
  .brand-logo img { height: 54px; }
}