@charset "UTF-8";
/*
 * Solarte Büroreinigung Hamburg – Stylesheet für Impressum, Datenschutz, Danke- und 404-Seite.
 * Kein JavaScript nötig. Schriften kommen aus fonts.css (vorher einbinden).
 * Pfade in dieser Datei gibt es keine – sie funktioniert daher auch auf der 404-Seite unter beliebigen URLs.
 */

:root {
  --navy: #0b1a2c;
  --footer: #071120;
  --primary: #0f4c81;
  --primary-hover: #0c3d68;
  --sky: #7fb3e6;
  --text: #0f1b2b;
  --muted: #4b5766;
  --muted-2: #667281; /* Markengrau #6f7b8a leicht abgedunkelt: Kontrast ≥ 4,5:1 auf Weiß und #f5f7fa */
  --line: #e3e8ee;
  --line-strong: #c7d6e5;
  --bg-soft: #f5f7fa;
  --chip: #e8f0f8;
  --font-body: 'Manrope', 'Manrope Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Schibsted Grotesk', 'Schibsted Grotesk Fallback', 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  font: 400 16px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
main { flex: 1 0 auto; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
svg { flex: none; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.navy-band :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }
.status-card :focus-visible { outline-color: var(--primary); }
.prose a[href^="mailto:"] { white-space: nowrap; }

.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 480px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  min-width: 0;
}
.brand:hover { color: var(--text); }
.brand-mark {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 19px/1 var(--font-display);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand-name { font: 700 17px/1.05 var(--font-display); letter-spacing: -.01em; }
.brand-sub { font-size: 11px; font-weight: 600; color: var(--muted-2); letter-spacing: .02em; }

.flag-icon {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
/* Sprachauswahl – wie auf der Startseite: Globus + Kürzel, Auswahl als schwebende Karte */
.lang-dropdown { position: relative; flex: none; }
.lang-summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s;
}
.lang-summary::-webkit-details-marker { display: none; }
.lang-summary::marker { content: ""; }
.lang-summary:hover, .lang-dropdown[open] > .lang-summary { background: rgba(15, 76, 129, .07); }
.lang-summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.lang-globe { flex: none; opacity: .85; }
.lang-caret { flex: none; opacity: .6; transition: transform .2s; }
.lang-dropdown[open] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 100;
  min-width: 200px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 27, 43, .08);
  box-shadow: 0 20px 44px rgba(11, 26, 44, .18), 0 2px 6px rgba(11, 26, 44, .06);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform-origin: top right;
  animation: langMenuIn .2s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes langMenuIn { from { opacity: 0; transform: translateY(-4px) scale(.97); } to { opacity: 1; transform: none; } }
.lang-item {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 40px;
  padding: 0 10px;
  border-radius: 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.lang-item:hover, .lang-item:focus-visible { background: #f1f5f9; color: var(--primary); }
.lang-item:focus-visible { outline-offset: -2px; }
.lang-item.is-active { background: #eef4fb; color: var(--primary); cursor: default; }
.lang-item .lang-name { flex: 1; }
.lang-check { flex: none; color: var(--primary); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s;
}
.header-phone:hover { background: #f0f3f7; color: var(--text); }

@media (max-width: 639px) {
  .header-phone {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border: 1px solid var(--line);
  }
  .header-phone-num {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
/* Schmale Handys: erst die Unterzeile, dann „Zur“, dann Telefon, zuletzt der Name –
   Logo, Sprache und Startseite sollen sich nie überdecken */
@media (max-width: 639px) {
  .brand-sub { display: none; }
}
@media (max-width: 479px) {
  .hide-xs { display: none; }
  .header-actions { gap: 6px; }
}
@media (max-width: 419px) {
  .header-phone { display: none; }
}
@media (max-width: 359px) {
  .brand-text { display: none; }
}

/* ---------- Schaltflächen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn-sm { padding: 11px 16px; border-radius: 10px; font-size: 14px; }
@media (max-width: 419px) {
  .btn-sm { padding: 11px 13px; }
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--text); }

/* ---------- Dunkles Band (Seitenkopf, Danke, 404) ---------- */

.navy-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}
.navy-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 85%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 85%);
  pointer-events: none;
}
.navy-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -180px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 76, 129, .65), rgba(15, 76, 129, 0));
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.page-hero .wrap { padding-top: 60px; padding-bottom: 52px; }
.page-hero h1 {
  margin: 16px 0 14px;
  font: 800 clamp(36px, 5vw, 56px)/1.05 var(--font-display);
  letter-spacing: -.026em;
  text-wrap: balance;
}
.page-hero .lead {
  margin: 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .76);
  text-wrap: pretty;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-chip {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(127, 179, 230, .14);
  color: var(--sky);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 639px) {
  .page-hero .wrap { padding-top: 44px; padding-bottom: 40px; }
  .page-hero .lead { font-size: 16.5px; }
}

/* ---------- Inhaltsbereich ---------- */

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 88px;
}
@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: minmax(0, 760px) 280px;
    justify-content: space-between;
    gap: 64px;
    padding-top: 64px;
    padding-bottom: 104px;
  }
  .legal-layout > .prose { grid-column: 1; grid-row: 1; }
  .legal-layout > .legal-aside { grid-column: 2; grid-row: 1; }
  .aside-sticky { position: sticky; top: calc(var(--header-h) + 28px); }
}
@media (max-width: 639px) {
  .legal-layout { padding-top: 32px; padding-bottom: 64px; gap: 32px; }
}

.prose {
  min-width: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}
@media (max-width: 639px) {
  .prose { font-size: 16px; line-height: 1.7; }
}
.prose > section + section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.prose h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--text);
  font: 700 clamp(22px, 2.4vw, 25px)/1.25 var(--font-display);
  letter-spacing: -.015em;
  text-wrap: balance;
}
.prose h2 .num {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  margin-top: -1px;
  padding: 0 8px;
  border-radius: 9px;
  background: var(--chip);
  color: var(--primary);
  font: 700 14px/1 var(--font-body);
  letter-spacing: 0;
}
.prose h3 {
  margin: 28px 0 8px;
  color: var(--text);
  font: 700 17px/1.4 var(--font-body);
}
.prose h2 + h3 { margin-top: 0; }
.prose p { margin: 0 0 14px; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-color: rgba(15, 76, 129, .35);
  transition: text-decoration-color .2s, color .2s;
}
.prose a:hover { text-decoration-color: currentColor; }

.prose ul { margin: 0 0 16px; padding: 0; list-style: none; }
.prose ul:last-child { margin-bottom: 0; }
.prose li { position: relative; margin: 8px 0; padding-left: 22px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--primary);
}

.address-card {
  margin: 0 0 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--text);
  font-style: normal;
  line-height: 1.65;
}
.address-card:last-child { margin-bottom: 0; }
.address-card strong { font-weight: 700; }

.facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 20px;
  align-items: baseline;
  margin: 0 0 16px;
}
.facts:last-child { margin-bottom: 0; }
.facts dt { color: var(--muted-2); font-size: 14px; font-weight: 600; line-height: 1.75; }
.facts dd { margin: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.facts dd a { overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 440px) {
  .facts { grid-template-columns: 1fr; gap: 2px 0; }
  .facts dd { margin-bottom: 8px; }
}

.callout {
  margin: 28px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  background: var(--chip);
  color: #33404f;
}
.callout h3 { margin-top: 0; }
@media (max-width: 480px) {
  .callout { padding: 18px 18px 18px 20px; }
  .address-card { padding: 16px 18px; }
}

.stand {
  margin-top: 20px !important;
  color: var(--text);
  font-weight: 700;
}

/* ---------- Seitenleiste: Inhaltsverzeichnis und Kontaktkarte ---------- */

.legal-aside { min-width: 0; }

.side-card {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
}
.side-card + .side-card { margin-top: 16px; }
.side-title {
  margin: 0 0 12px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}
.toc a::before {
  content: counter(toc);
  flex: none;
  width: 20px;
  color: var(--primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.toc a:hover { color: var(--primary); }
@media (min-width: 640px) and (max-width: 1023px) {
  .toc ol { columns: 2; column-gap: 32px; }
  .toc li { break-inside: avoid; }
}

.side-list { margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.5; }
.side-list li + li { margin-top: 12px; }
.side-list .label { display: block; color: var(--muted-2); font-size: 12px; font-weight: 600; }
.side-list a, .side-list .value { color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.side-list a:hover { color: var(--primary); }
.side-text { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.side-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14.5px;
  font-weight: 700;
}
.side-link svg { transition: transform .2s; }
.side-link:hover svg { transform: translateX(3px); }

/* ---------- Danke- und 404-Seite ---------- */

.status-band { display: flex; align-items: center; }
.status-band > .wrap { padding-top: 72px; padding-bottom: 88px; }
.status-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 22px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.status-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.status-code {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-card h1 {
  margin: 18px 0 12px;
  font: 700 clamp(26px, 3.4vw, 32px)/1.2 var(--font-display);
  letter-spacing: -.015em;
  text-wrap: balance;
}
.status-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}
.status-card p a { font-weight: 700; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.steps {
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--chip);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}
.steps strong { display: block; color: var(--text); font-weight: 700; }

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 14.5px;
  font-weight: 600;
}

.quick-links a { color: var(--primary); }
.quick-links a:hover { color: var(--primary-hover); text-decoration: underline; text-underline-offset: .2em; }
.status-card .status-note { margin: 16px 0 0; color: var(--muted-2); font-size: 14px; }

@media (max-width: 560px) {
  .status-band > .wrap { padding-top: 40px; padding-bottom: 56px; }
  .status-card { padding: 28px 22px; border-radius: 18px; }
  .status-actions .btn { flex: 1 1 100%; }
}

/* ---------- Fußzeile ---------- */

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.6;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-top: 36px;
  padding-bottom: 28px;
}
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-sub { color: rgba(255, 255, 255, .55); }
.footer-contact { margin: 0; font-style: normal; }
.footer-contact a { color: #fff; font-weight: 700; }
.footer-contact a:hover { color: var(--sky); }
.footer-contact .sep { margin: 0 8px; color: rgba(255, 255, 255, .3); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-links a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .25em;
  text-decoration-color: rgba(127, 179, 230, .6);
}
@media (max-width: 639px) {
  .footer-contact .sep { display: none; }
  .footer-contact .line { display: block; }
}

@media print {
  .site-header, .site-footer, .skip-link, .legal-aside { display: none !important; }
  .navy-band { background: none; color: #000; }
  .navy-band::before, .navy-band::after { display: none; }
  .page-hero .lead, .hero-chip { color: #333; background: none; padding: 0; }
  .legal-layout { display: block; padding: 0; }
  .prose { max-width: none; color: #000; }
}
