/* ─────────────────────────────────────────────────────────────
   RAPPORT — Theme-Overrides für Hextra
   Warmes Sand/Tan auf hellem Grund (Architektur-Büro-Ästhetik)
   ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* Krungthep — RAPPORT-Display-Font (Mac-System-Font lokal gebundelt) */
@font-face {
  font-family: 'Krungthep';
  src: url('/fonts/Krungthep.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* — Primary-HSL: Tan #b07848 — */
:root {
  --primary-hue: 26deg;
  --primary-saturation: 42%;
  --primary-lightness: 49%;

  /* RAPPORT-Palette (Light) */
  --rapport-bg:        #f7f5f2;
  --rapport-surface:   #ffffff;
  --rapport-surface2:  #fbf9f5;
  --rapport-dark:      #1a1a18;
  --rapport-dark2:     #2d2d28;
  --rapport-accent:    #b07848;
  --rapport-accent-2:  #9a673b;
  --rapport-accent-3:  #7d5430;
  --rapport-text:      #1a1a18;
  --rapport-text-2:    #555550;
  --rapport-text-3:    #888880;
  --rapport-text-4:    #aaaaaa;
  --rapport-border:    #e8e3dc;
  --rapport-border-2:  #d8d2ca;
}

.dark {
  --primary-hue: 26deg;
  --primary-saturation: 42%;
  --primary-lightness: 56%;
  --color-dark: var(--rapport-dark);
}

/* — Body & Backgrounds — */
body {
  background: var(--rapport-bg);
  color: var(--rapport-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

.dark body {
  background: #181614;
  color: #ece9e3;
}

::selection {
  background: rgba(176, 120, 72, 0.25);
  color: var(--rapport-dark);
}

.dark ::selection {
  background: rgba(176, 120, 72, 0.35);
  color: #fff;
}

/* — Typografie — Headings serifig, Body monospaced — */
.hextra-toc,
.content,
.prose {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

h1, h2, h3, h4,
.hextra-home h1, .hextra-home h2, .hextra-home h3,
.hx\:text-2xl, .hx\:text-3xl, .hx\:text-4xl, .hx\:text-5xl, .hx\:text-6xl {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

/* Navbar-Logo: RAPPORT in Krungthep/Archivo Black — nur navbar! */
.hextra-navbar-title,
nav .hextra-navbar-title,
nav .hextra-max-navbar-width .hx\:font-bold {
  font-family: Krungthep, 'Archivo Black', sans-serif !important;
  letter-spacing: -0.02em !important;
  font-weight: 900 !important;
}

/* — Navbar mit hellem Hintergrund & dezenter Border — */
.nav-container {
  background: rgba(247, 245, 242, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rapport-border) !important;
}

.dark .nav-container {
  background: rgba(24, 22, 20, 0.85) !important;
  border-bottom: 1px solid #2d2926 !important;
}

.nav-container-blur,
.dark .nav-container-blur {
  background: transparent !important;
}

/* — Sidebar — */
aside.sidebar-container,
.sidebar-container {
  background: var(--rapport-bg) !important;
  border-right: 1px solid var(--rapport-border);
}

.sidebar-container a {
  color: var(--rapport-text-2);
}

.sidebar-container a:hover {
  color: var(--rapport-accent);
  background: var(--rapport-surface);
}

.sidebar-active-item,
.sidebar-container .sidebar-active-item {
  background: rgba(176, 120, 72, 0.10) !important;
  color: var(--rapport-accent) !important;
  border-color: rgba(176, 120, 72, 0.20) !important;
}

.dark aside.sidebar-container,
.dark .sidebar-container {
  background: #181614 !important;
  border-right: 1px solid #2d2926;
}


/* — Links — */
a {
  transition: color 0.15s;
}

.content a,
.prose a {
  color: var(--rapport-accent);
  text-decoration: none;
}

.content a:hover,
.prose a:hover {
  color: var(--rapport-accent-2);
  text-decoration: underline;
}

/* Hextra-Card-Links (<cards>-Shortcode) sollen NIE unterstrichen werden */
.hextra-card,
.hextra-card:hover,
.hextra-card:focus,
.hextra-card:active,
.hextra-card *,
.hextra-card:hover * {
  text-decoration: none !important;
}

/* Card-Hover-Effekt sauber: nur Border + leichte Schatten, kein Underline */
a.hextra-card:hover,
a.hextra-card:focus {
  outline: none;
  text-decoration: none !important;
}

/* — RAPPORT Hero-Buttons — eigene Pills, nicht von Hextra abhängig — */
.rapport-hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 8px;
}

.rapport-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 14px 30px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  user-select: none;
  white-space: nowrap;
}

/* Primary (Download) — Weiss mit Tiefe */
.rapport-btn-primary {
  background: #ffffff;
  color: var(--rapport-text) !important;
  border: 1px solid var(--rapport-border);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 20px rgba(0,0,0,0.10),
    0 16px 40px rgba(0,0,0,0.08);
}

.rapport-btn-primary:hover {
  background: #ffffff;
  border-color: var(--rapport-border-2);
  color: var(--rapport-accent-2) !important;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 4px 8px rgba(0,0,0,0.06),
    0 14px 28px rgba(0,0,0,0.12),
    0 24px 56px rgba(176,120,72,0.18);
}

.rapport-btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 2px 4px rgba(0,0,0,0.06),
    0 4px 12px rgba(0,0,0,0.08);
}

/* Secondary (Quellcode) — Outline */
.rapport-btn-secondary {
  background: transparent;
  color: var(--rapport-text-2) !important;
  border: 1.5px solid var(--rapport-border-2);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.rapport-btn-secondary:hover {
  background: rgba(255,255,255,0.5);
  border-color: var(--rapport-text-3);
  color: var(--rapport-text) !important;
  transform: translateY(-2px);
  box-shadow:
    0 6px 14px rgba(0,0,0,0.06),
    0 12px 28px rgba(0,0,0,0.04);
}

.rapport-btn-secondary:active {
  transform: translateY(0);
}

/* Dark-Mode-Varianten */
.dark .rapport-btn-primary {
  background: #2a2722;
  color: #ece9e3 !important;
  border-color: #3a3530;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 2px 4px rgba(0,0,0,0.30),
    0 10px 24px rgba(0,0,0,0.45);
}

.dark .rapport-btn-primary:hover {
  background: #322e28;
  color: var(--rapport-accent) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 4px 8px rgba(0,0,0,0.40),
    0 16px 32px rgba(0,0,0,0.50),
    0 24px 56px rgba(176,120,72,0.22);
}

.dark .rapport-btn-secondary {
  border-color: #3a3530;
  color: #b8b2a8 !important;
}

.dark .rapport-btn-secondary:hover {
  background: rgba(255,255,255,0.04);
  border-color: #6a6258;
  color: #ece9e3 !important;
}

/* — Hero-Badge — */
.hextra-badge {
  background: var(--rapport-surface) !important;
  border: 1px solid var(--rapport-border) !important;
  border-radius: 20px !important;
  padding: 5px 14px !important;
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  color: var(--rapport-text-4) !important;
  text-transform: uppercase !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* — Feature-Cards — */
.hextra-feature-card {
  background: var(--rapport-surface) !important;
  border: 1px solid var(--rapport-border) !important;
  border-radius: 14px !important;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s !important;
}

.hextra-feature-card:hover {
  border-color: var(--rapport-border-2) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09), 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.hextra-feature-card h3 {
  font-family: 'Playfair Display', serif !important;
  color: var(--rapport-text) !important;
  font-weight: 700 !important;
}

.hextra-feature-card p {
  color: var(--rapport-text-2) !important;
  font-size: 12px !important;
  line-height: 1.8 !important;
}

.dark .hextra-feature-card {
  background: #211e1a !important;
  border-color: #2d2926 !important;
}

.dark .hextra-feature-card h3 {
  color: #ece9e3 !important;
}

.dark .hextra-feature-card p {
  color: #b8b2a8 !important;
}

/* — Generic Cards (Hextra <cards> shortcode) — */
.hextra-card {
  background: var(--rapport-surface);
  border: 1px solid var(--rapport-border);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
}

.hextra-card:hover {
  border-color: var(--rapport-accent-2);
  transform: translateY(-1px);
}

/* — Code-Blocks — */
.hextra-code-block {
  background: #ffffff !important;
  border: 1px solid var(--rapport-border) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.hextra-code-block pre,
.hextra-code-block .highlight,
.hextra-code-block .chroma {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

pre {
  background: var(--rapport-surface2);
  border: none;
}

code, pre, pre code, kbd, samp, tt {
  font-family: ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', monospace !important;
}

code {
  color: var(--rapport-accent-3) !important;
  background: rgba(176, 120, 72, 0.10) !important;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

pre code {
  color: var(--rapport-text) !important;
  background: transparent !important;
  padding: 0;
  font-size: 0.9em;
}

.dark .hextra-code-block {
  background: #1f1c19 !important;
  border-color: #2d2926 !important;
}

.dark .hextra-code-block pre,
.dark .hextra-code-block .highlight,
.dark .hextra-code-block .chroma {
  background: transparent !important;
  border: none !important;
}

.dark code {
  color: var(--rapport-accent) !important;
  background: rgba(176, 120, 72, 0.15) !important;
}

.dark pre code {
  color: #ece9e3 !important;
}

/* — Callouts — */
.hextra-callout {
  background: var(--rapport-surface) !important;
  border-color: var(--rapport-border-2) !important;
}

/* — Footer — */
.hextra-footer,
footer {
  background: var(--rapport-surface2);
  border-top: 1px solid var(--rapport-border);
  color: var(--rapport-text-3);
}

.hextra-footer a {
  color: var(--rapport-text-2);
}

.hextra-footer a:hover {
  color: var(--rapport-accent);
}

.dark .hextra-footer,
.dark footer {
  background: #15130f;
  border-top: 1px solid #2d2926;
  color: #888880;
}

/* — TOC — */
.hextra-toc a {
  color: var(--rapport-text-3);
}

.hextra-toc a:hover,
.hextra-toc .active {
  color: var(--rapport-accent) !important;
}

/* Hextra-Sticky-Bottom-Fades (TOC "Nach oben" + Sidebar-Footer) — */
/* der hardcoded weisse Fade passt nicht zum cremefarbenen RAPPORT-Bg */
.hextra-toc div:has(> #backToTop),
[data-toggle-animation] {
  background: var(--rapport-bg) !important;
  box-shadow: none !important;
  border-top-color: var(--rapport-border) !important;
}

.dark .hextra-toc div:has(> #backToTop),
.dark [data-toggle-animation] {
  background: #181614 !important;
  border-top-color: #2d2926 !important;
  box-shadow: none !important;
}

/* — Search — */
.hextra-search-wrapper input {
  background: var(--rapport-surface) !important;
  border: 1px solid var(--rapport-border) !important;
  color: var(--rapport-text) !important;
}

.hextra-search-wrapper input:focus {
  border-color: var(--rapport-accent-2) !important;
}

/* — Tabellen — */
table {
  border-color: var(--rapport-border) !important;
}

thead {
  background: var(--rapport-surface) !important;
}

th, td {
  border-color: var(--rapport-border) !important;
}

/* ─────────────────────────────────────────────────────────────
   RAPPORT-LOGO-KARTE (Hero) — Dark Card auf hellem Grund
   ───────────────────────────────────────────────────────────── */
.rapport-logo-card {
  background: var(--rapport-dark);
  border: 1px solid var(--rapport-dark2);
  border-radius: 999px;
  padding: 28px 64px 26px;
  display: inline-block;
  box-shadow: 6px 0 20px rgba(0, 0, 0, 0.18), 0 6px 16px rgba(0, 0, 0, 0.12);
  text-align: center;
  margin: 0 auto 32px;
}

.rapport-logo-text {
  font-family: 'Krungthep', 'Archivo Black', sans-serif !important;
  font-size: 48px;
  letter-spacing: -0.02em;
  color: #f0ede8;
  line-height: 0.95;
  font-weight: 400;
}

.rapport-logo-sub {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: #f0ede8;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 500;
}

/* — Hero-Meta-Pillen — */
.rapport-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

.rapport-meta-item {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--rapport-text-4);
  text-transform: uppercase;
  padding: 0 10px;
  border-right: 1px solid var(--rapport-border);
}

.rapport-meta-item:last-child {
  border-right: none;
}

/* — Status-Badges (in Arbeit / Geplant / Stabil / Neu) — */
/* Einheitlich: weisse Pill mit dunklem Text — wie Download-Button */
.rapport-status,
.rapport-status.active,
.rapport-status.planned,
.rapport-status.stable,
.rapport-status.new {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 600;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: #ffffff;
  color: var(--rapport-text);
  border: 1px solid var(--rapport-border);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 1px 2px rgba(0,0,0,0.04),
    0 3px 8px rgba(0,0,0,0.06);
}

.dark .rapport-status,
.dark .rapport-status.active,
.dark .rapport-status.planned,
.dark .rapport-status.stable,
.dark .rapport-status.new {
  background: #2a2722;
  color: #ece9e3;
  border-color: #3a3530;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 1px 2px rgba(0,0,0,0.30),
    0 4px 10px rgba(0,0,0,0.35);
}

/* — Stack-Bar (am Footer) — */
.rapport-stack-bar {
  padding: 20px 0;
  border-top: 1px solid var(--rapport-border);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

.rapport-stack-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rapport-text-4);
  flex-shrink: 0;
}

.rapport-stack-items {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rapport-stack-item {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--rapport-text-3);
  background: var(--rapport-surface);
  border: 1px solid var(--rapport-border);
  border-radius: 6px;
  padding: 4px 10px;
}

/* — Reduce default content max-width slightly for monospace lines — */
.content article {
  max-width: 100%;
}

/* ─────────────────────────────────────────────────────────────
   HOME-HERO — zentriertes Layout wie auf der alten Website
   ───────────────────────────────────────────────────────────── */

/* Inhalt der home Page zentrieren */
.hextra-home {
  align-items: center !important;
  text-align: center;
  max-width: 100%;
}

/* Subtitle zentriert, schmaler max-width, Playfair Display */
.hextra-home > p,
.hextra-home .not-prose.hx\:text-xl {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(16px, 2.2vw, 24px) !important;
  font-weight: 400 !important;
  color: var(--rapport-text-3) !important;
  max-width: 560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.55 !important;
  text-align: center;
}

/* Buttons immer in einer zentrierten Zeile */
.hextra-home > div.hx\:flex,
.hextra-home > .hx\:flex {
  justify-content: center;
  align-items: center;
}

/* Hero-Button matches RAPPORT design (dark on cream) */
.hextra-home .hextra-hero-button,
a.hextra-hero-button {
  background: var(--rapport-dark);
  color: #f0ede8 !important;
  border-radius: 20px;
  padding: 13px 28px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.20);
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* Feature-Grid linksbündig (Text in Cards) */
.hextra-home .hextra-feature-grid,
.hextra-home .rapport-stack-bar {
  text-align: left;
  width: 100%;
}

.hextra-home .hextra-feature-card * {
  text-align: left;
}

.rapport-stack-bar {
  justify-content: flex-start;
  text-align: left;
}

/* Section-Heading & Eyebrow vor dem Feature-Grid zentrieren */
.hextra-home h2,
.hextra-home > div > h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* RAPPORT-Logo bleibt zentriert */
.hextra-home .rapport-logo-card {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Hero-Badge zentrieren */
.hextra-home .hextra-badge,
.hextra-home > p:has(.hextra-badge) {
  margin-left: auto;
  margin-right: auto;
  display: inline-flex !important;
}

/* Hero-Background-Glow — sanfter Tan-Halo */
body:has(.hextra-home)::before {
  content: "";
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(176, 120, 72, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.dark body:has(.hextra-home)::before {
  background: radial-gradient(circle, rgba(176, 120, 72, 0.12) 0%, transparent 60%);
}

/* Navbar-Logo — RAPPORT-Schriftzug in Krungthep, etwas grösser */
.hextra-navbar-title,
nav a[href="/"] span,
nav [class*="font-bold"] {
  font-family: 'Krungthep', 'Archivo Black', sans-serif !important;
  letter-spacing: -0.02em !important;
  font-weight: 400 !important;
  font-size: 23px !important;
  line-height: 1 !important;
}

/* RAPPORT-Meta-Pillen zentriert */
.rapport-meta {
  justify-content: center;
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────
   HOSTING-APP — Login / Registrierung / Konto / Preise
   Vanilla-JS-Seiten (layouts/hosting.html + js/hosting-app.js)
   ───────────────────────────────────────────────────────────── */
.hosting-wrap {
  min-height: calc(100vh - var(--navbar-height, 64px));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 20px 80px;
  width: 100%;
}
.hosting-card {
  background: var(--rapport-surface);
  border: 1px solid var(--rapport-border);
  border-radius: 16px;
  padding: 36px 34px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 10px 36px rgba(0,0,0,0.07);
}
.dark .hosting-card { background: #211e1a; border-color: #2d2926; }
.hosting-card.wide { max-width: 1040px; }

.hosting-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 26px;
  margin: 0 0 6px;
  color: var(--rapport-text);
  text-align: center;
}
.hosting-sub { text-align: center; color: var(--rapport-text-3); font-size: 13px; margin-bottom: 26px; }

.hosting-label {
  display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--rapport-text-3); margin-bottom: 6px;
}
.hosting-input {
  width: 100%; box-sizing: border-box;
  background: var(--rapport-surface2); border: 1.5px solid var(--rapport-border);
  border-radius: 10px; padding: 11px 14px; font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--rapport-text); outline: none; margin-bottom: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.dark .hosting-input { background: #1a1714; border-color: #2d2926; color: #ece9e3; }
.hosting-input:focus { border-color: var(--rapport-accent); box-shadow: 0 0 0 3px rgba(176,120,72,0.15); }

.hosting-btn {
  width: 100%; box-sizing: border-box; padding: 13px; border: none; border-radius: 10px; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.03em; transition: background .15s, transform .1s;
}
.hosting-btn-primary { background: var(--rapport-accent); color: #fff; }
.hosting-btn-primary:hover { background: var(--rapport-accent-2); }
.hosting-btn-primary:active { transform: translateY(1px); }
.hosting-btn-dark { background: var(--rapport-dark); color: #f0ede8; }
.hosting-btn:disabled { opacity: .6; cursor: default; }

.hosting-link { background: none; border: none; color: var(--rapport-accent);
  font-family: 'Inter', sans-serif; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.hosting-foot { text-align: center; margin-top: 18px; font-size: 12px; color: var(--rapport-text-3); }

.hosting-msg { padding: 10px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 16px; }
.hosting-msg.err { background: #f8ece4; border: 1px solid #e0b896; color: #9a4a1e; }
.hosting-msg.ok  { background: #ecefe6; border: 1px solid #c2cdb0; color: #4a5a32; }

/* Pläne nebeneinander (3 Spalten) — erst auf schmalen Screens gestapelt. */
.hosting-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 860px) { .hosting-plans { grid-template-columns: 1fr; } }
.hosting-plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--rapport-surface2); border: 1px solid var(--rapport-border);
  border-radius: 14px; padding: 24px;
}
.dark .hosting-plan { background: #1a1714; border-color: #2d2926; }
.hosting-plan.rec {
  border-color: var(--rapport-accent);
  box-shadow: 0 0 0 2px var(--rapport-accent), 0 18px 44px rgba(176,120,72,0.18);
  background: linear-gradient(180deg, rgba(176,120,72,0.06), var(--rapport-surface) 120px);
  transform: translateY(-8px);
}
@media (max-width: 860px) { .hosting-plan.rec { transform: none; } }
.hosting-plan.rec .pprice { color: var(--rapport-accent-2); }
.hosting-plan .pbadge { position: absolute; top: -10px; right: 16px; background: var(--rapport-accent);
  color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.hosting-plan .pname { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rapport-text-3); }
.hosting-plan .pprice { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; margin: 8px 0 4px; color: var(--rapport-text); }
.hosting-plan ul { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13px; color: var(--rapport-text-2); flex: 1; }
.hosting-plan li { padding: 6px 0; border-bottom: 1px solid var(--rapport-border); }
.hosting-plan li:last-child { border-bottom: none; }
.hosting-plan .hosting-btn { margin-top: 16px; }

.hosting-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rapport-border); font-size: 14px; gap: 16px; }
.hosting-row:last-child { border-bottom: none; }

/* Konto-Tabs */
.hosting-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--rapport-border); margin-bottom: 22px; }
.hosting-tab {
  background: none; border: none; cursor: pointer; padding: 10px 16px;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
  color: var(--rapport-text-3); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.hosting-tab:hover { color: var(--rapport-text); }
.hosting-tab.active { color: var(--rapport-accent); border-bottom-color: var(--rapport-accent); }

/* Admin-Panel */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 700px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }
.admin-stat { background: var(--rapport-surface2); border: 1px solid var(--rapport-border); border-radius: 12px; padding: 18px; text-align: center; }
.dark .admin-stat { background: #1a1714; border-color: #2d2926; }
.admin-stat-num { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--rapport-text); line-height: 1; }
.admin-stat-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rapport-text-3); margin-top: 8px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rapport-text-3); padding: 10px 12px; border-bottom: 1px solid var(--rapport-border); }
.admin-table td { padding: 12px; border-bottom: 1px solid var(--rapport-border); vertical-align: top; }
.admin-tag { display: inline-block; background: var(--rapport-accent); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; vertical-align: middle; }

/* Admin-Cockpit: Stat-Unterzeile, Plan-Leiste, Toolbar, klickbare Zeilen */
.admin-stat-sub { font-size: 11px; color: var(--rapport-accent-2); margin-top: 4px; }
.admin-planbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.admin-planchip { font-size: 12px; background: var(--rapport-surface2); border: 1px solid var(--rapport-border); border-radius: 8px; padding: 6px 12px; }
.dark .admin-planchip { background: #1a1714; border-color: #2d2926; }
.admin-toolbar { display: flex; gap: 10px; margin: 22px 0 10px; }
.admin-search { flex: 1; margin: 0; }
.admin-filter { width: 180px; margin: 0; }
@media (max-width: 600px) { .admin-toolbar { flex-direction: column; } .admin-filter { width: 100%; } }

.admin-row { cursor: pointer; transition: background .12s; }
.admin-row:hover { background: var(--rapport-surface2); }
.dark .admin-row:hover { background: #1a1714; }
.admin-chevron { color: var(--rapport-text-3); font-size: 20px; line-height: 1; }

.admin-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 6px;
  background: rgba(176,120,72,0.12); color: var(--rapport-accent-2); text-transform: capitalize; }
.admin-badge.ok { background: #ecefe6; color: #4a5a32; }
.admin-badge.warn { background: #f8e4e4; color: #9a3a3a; }

.admin-section { font-weight: 700; font-size: 13px; color: var(--rapport-text); margin: 24px 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--rapport-border); }
.admin-mini { width: auto; padding: 6px 14px; font-size: 12px; text-decoration: none; background: var(--rapport-surface2); color: var(--rapport-text); border: 1px solid var(--rapport-border); }
.admin-mini:hover { border-color: var(--rapport-accent); }
.admin-mini.warn { color: #9a3a3a; border-color: #e0b0b0; }
.admin-mini.ok { color: #4a5a32; border-color: #c2cdb0; }
.dark .admin-mini { background: #1a1714; color: #ece9e3; border-color: #2d2926; }

/* Footer-Spalten (Rechts-Links + Hosting-Hinweise) */
.rapport-footer-links {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 40px 0 8px; width: 100%;
  font-family: 'Inter', -apple-system, sans-serif;
}
@media (max-width: 700px) { .rapport-footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.rapport-footer-head { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rapport-text-3); margin-bottom: 12px; }
.rapport-footer-col a { display: block; font-size: 13px; color: var(--rapport-text-2); text-decoration: none; padding: 4px 0; }
.rapport-footer-col a:hover { color: var(--rapport-accent); }
.rapport-footer-note { font-size: 12px; color: var(--rapport-text-3); padding: 4px 0; line-height: 1.5; }

/* Auth-2-Spalter (Login/Register): Formular links, Vertrauens-Panel rechts */
.hosting-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 760px) { .hosting-auth { grid-template-columns: 1fr; } .hosting-auth-aside { display: none; } }
.hosting-auth-form { padding: 8px 36px 8px 8px; }
.hosting-auth-aside {
  border-left: 1px solid var(--rapport-border);
  padding: 8px 8px 8px 36px;
  display: flex; flex-direction: column; justify-content: center;
}
.hosting-aside-list { list-style: none; padding: 0; margin: 0; }
.hosting-aside-list li {
  font-size: 14px; color: var(--rapport-text-2); padding: 9px 0;
  border-bottom: 1px solid var(--rapport-border-2);
}
.hosting-aside-list li:last-child { border-bottom: none; }
.dark .hosting-auth-aside { border-left-color: #2d2926; }
