/* ============================================
   BASE.CSS – globale Styles + Theme Switching
   ============================================ */

/* ------------------------------
   1. Fonts & Global Reset
------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Manrope:wght@400;500;600;700;800&display=swap');

.image-text-block {
  display: flex !important;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start !important; /* Wichtig: erzwingt oben Ausrichtung */
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}


/* Globaler Reset für Margin, Padding und Box-Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Smooth Scroll-Verhalten für die Seite */
html {
  scroll-behavior: smooth;
}

/* ------------------------------
   2. Grundstruktur Body
------------------------------ */
body {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--text);
  text-align: justify;
  transition: background-color 0.3s, color 0.3s;
}

/* ------------------------------
   3. Farbvariablen – Basis
------------------------------ */
:root {
  --primary: #3f7ecb;        /* UI-Blau (Buttons, Links) */
  --accent: #f59e0b;         /* Brand-Gold — kanonisch für alle Seiten */
  --link: #aaa;              /* Standard Linkfarbe */
  --link-hover: #f59e0b;     /* Linkfarbe bei Hover */

  --bg: #ffffff;             /* Hintergrund Standard */
  --text: #111111;           /* Textfarbe Standard */
  --box-bg: #f5f7fa;         /* Hintergrund für Boxen / Karten */
  --button-bg: #3f7ecb;      /* Button Hintergrund */
  --button-hover: #2d65a5;   /* Button Hintergrund Hover */
  --box-shadow: 0 4px 20px rgba(0,0,0,0.05);

  /* ---- Kanonische Brand-Tokens (gelten auf allen Seiten) ---- */
  --color-primary:   #194b67;   /* Primär-Blau — Hero, Headings, primäre Buttons */
  --color-ui-blue:   #3f7ecb;   /* UI-Blau — Links, sekundäre Elemente */
  --color-accent:    #f59e0b;   /* Brand-Gold — einzig gültige Akzentfarbe */
  --color-accent-hv: #d97706;   /* Brand-Gold Hover */
  --color-bg:        #ffffff;   /* Seitenhintergrund */
  --color-text:      #1f2937;   /* Haupt-Textfarbe */
  --color-muted:     #6b7280;   /* Sekundär-Text, Hinweise */
  --color-border:    #e5e7eb;   /* Standard-Rahmen */
  --color-bg-light:  #f8f9fa;   /* Heller Abschnittshintergrund */
  --color-error:     #dc2626;   /* Fehlermeldungen */
  --color-success:   #16a34a;   /* Erfolgsmeldungen */
  --btn-radius:      8px;       /* Einheitlicher Button-Radius */
  --shadow-card:     0 4px 20px rgba(0,0,0,0.08);
  --shadow-strong:   0 8px 30px rgba(0,0,0,0.15);
  /* Alias — Rückwärtskompatibilität für Seiten die --bw-* nutzen */
  --bw-blue:         #194b67;
  --bw-blue-dark:    #0f3549;
  --bw-gold:         #f59e0b;
  --bw-gold-dark:    #d97706;
  --bw-text:         #1f2937;
  --bw-text-secondary: #6b7280;
  --bw-bg:           #ffffff;
  --bw-bg-light:     #f8f9fa;
  --bw-border:       #e5e7eb;
  --bw-radius:       8px;
  --bw-shadow:       0 4px 20px rgba(0,0,0,0.08);

  /* Z-Index stack */
  --z-nav:      1000;
  --z-dropdown: 1010;
  --z-overlay:   999;
  --z-modal:    1100;
}

/* ------------------------------
   4. Themes: Dark + weitere Varianten
------------------------------ */
body.dark {
  --bg: #0f0f0f;
  --text: #f5f5f5;
  --box-bg: #000000;
  --button-bg: #ff6600;
  --button-hover: #cc5200;
  --box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}


body.theme-blue {
  --bg: #eaf3fb;
  --text: #0f1e35;
  --box-bg: #eaf3fb;
  --button-bg: #3f7ecb;
  --button-hover: #2d65a5;
  --box-shadow: none;
}

body.theme-green {
  --bg: #f1f8f5;
  --text: #133d2e;
  --box-bg: #f1f8f5;
  --button-bg: #38925e;
  --button-hover: #2c7049;
  --box-shadow: none;
}

body.theme-beige {
  --bg: #fdf7f0;
  --text: #3d2f1d;
  --box-bg: #fdf7f0;
  --button-bg: #c29e6c;
  --button-hover: #a97e4a;
  --box-shadow: none;
}


/* ===================================================
   5. Layout & Struktur (Container, Sections, Footer)
=================================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 4rem 2rem;
}

/* Spezieller Container für Hauptinhalte */
main.container {
  padding: 4rem 2rem;
  background-color: var(--box-bg);
  border-radius: 16px;
  max-width: 900px;
  margin: 4rem auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}


/* Paragraph in main.container mit angepasster Farbe */
main.container p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: -2rem;
  text-align: center;
}

/* Footer mit zentriertem Text */
footer {
  text-align: center;
  padding: 3rem 1rem;
  font-size: 0.9rem;
  color: #666;
}

/* ===================================================
   6. Typografie, Bilder, Links
=================================================== */
h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: inherit;
}

p {
  margin-bottom: 1rem;
  max-width: 800px;
}

a {
  color: #ff6600;
  text-decoration: none;
}

a:hover {
  color: var(--button-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* ===================================================
   7. NAVBAR — NatGeo/Stripe/Linear inspired
=================================================== */
:root {
  --bw-nav-height:   68px;
  --bw-nav-bg:       rgba(8, 20, 44, 0.97);
  --bw-nav-border:   rgba(255, 255, 255, 0.07);
  --bw-nav-accent:   #f59e0b;
  --bw-nav-link:     rgba(255, 255, 255, 0.72);
  --bw-nav-link-on:  #ffffff;
}

/* ---- Outer bar ---- */
.bw-navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  min-height: var(--bw-nav-height);
  background: var(--bw-nav-bg);
  border-bottom: 1px solid var(--bw-nav-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.bw-navbar.scrolled {
  background: rgba(8, 20, 44, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.28);
}

/* ---- Inner container ---- */
.bw-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: var(--bw-nav-height);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ---- Brand / Wordmark ---- */
.bw-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.bw-nav-icon {
  color: var(--bw-nav-accent);
  flex-shrink: 0;
}

.bw-nav-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

.bw-nav-wordmark-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  font-style: italic;
}

.bw-nav-wordmark-sans {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--bw-nav-accent);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* ---- Nav links (desktop) ---- */
.bw-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.bw-nav-link {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--bw-nav-link);
  text-decoration: none;
  padding: 0 1rem;
  height: var(--bw-nav-height);
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.bw-nav-link:hover,
.bw-nav-link:focus {
  color: var(--bw-nav-link-on);
  text-decoration: none;
}

/* Amber underline — animates in from left */
.bw-nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 2px;
  background: var(--bw-nav-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.bw-nav-link:hover::after,
.bw-nav-link.active::after {
  transform: scaleX(1);
}

.bw-nav-link.active {
  color: var(--bw-nav-link-on);
  font-weight: 600;
}

/* ---- Right cluster ---- */
.bw-nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* ---- User button ---- */
.bw-user-wrap {
  position: relative;
}

.bw-user-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  height: var(--bw-nav-height);
  padding: 0 0.75rem;
  background: transparent;
  border: none;
  color: var(--bw-nav-link);
  cursor: pointer;
  transition: color 0.18s ease;
}

.bw-user-btn:hover {
  color: var(--bw-nav-link-on);
}

.bw-chevron {
  transition: transform 0.2s ease;
}

.bw-user-wrap.is-open .bw-user-btn {
  color: var(--bw-nav-link-on);
}

.bw-user-wrap.is-open .bw-chevron {
  transform: rotate(180deg);
}

/* ---- User dropdown (dark) ---- */
.bw-user-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 220px;
  background: #0d1f3c;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.40);
  padding: 0.375rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: var(--z-dropdown);
}

.bw-user-wrap.is-open .bw-user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.bw-dd-header {
  padding: 0.625rem 0.875rem 0.5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bw-dd-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}

.bw-dd-item:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  text-decoration: none;
}

.bw-dd-logout:hover {
  background: rgba(239,68,68,0.12);
  color: #f87171;
}

.bw-dd-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0.375rem 0.75rem;
}

/* ---- Hamburger ---- */
.bw-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 4px;
}

.bw-hamburger span {
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.80);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.bw-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.bw-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.bw-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile nav overlay ---- */
.bw-mobile-nav {
  display: block;
  position: fixed;
  inset: var(--bw-nav-height) 0 0 0;
  background: rgba(8, 20, 44, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: var(--z-overlay);
  padding: 1.5rem;
  overflow-y: auto;
  /* visibility-based animation prevents click leaks during transitions */
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.bw-mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.bw-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bw-mobile-nav a {
  display: block;
  padding: 0.875rem 0;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.15s ease;
}

.bw-mobile-nav a:hover,
.bw-mobile-nav a.active {
  color: #ffffff;
}

.bw-mobile-sep {
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 0.75rem 0;
}

body.bw-nav-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .bw-nav-links { display: none; }
  .bw-hamburger { display: flex; }
}

/* ===================================================
   8. Buttons — einheitliches System
   Basis: .btn  |  Varianten: .btn-primary .btn-accent .btn-outline
=================================================== */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--btn-radius, 8px);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: var(--color-ui-blue);
  color: #ffffff;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Primärer Button — dunkleres Marken-Blau */
.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

/* Akzent-Button — Brand-Gold */
.btn-accent {
  background: var(--color-accent);
  color: #000000;
}

.btn-accent:hover {
  background: var(--color-accent-hv);
  color: #000000;
}

/* Outline-Button — transparenter Rahmen */
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-ui-blue);
  color: var(--color-ui-blue);
}

.btn-outline:hover {
  background: var(--color-ui-blue);
  color: #ffffff;
}

/* Legacy-Klasse erhalten */
.button-wmf {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000000;
  background-color: var(--color-accent);
  border-radius: var(--btn-radius, 8px);
}

.button-wmf:hover {
  background-color: var(--color-accent-hv);
}

/* ===================================================
   9. Flip Button (animierter Effekt)
=================================================== */
.flip1-btn {
  perspective: 800px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  width: 160px;
  height: 42px;
  font-family: 'Manrope', sans-serif;
}

.flip1-btn span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  backface-visibility: hidden;
  border-radius: 50px;
  line-height: 42px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.5s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/*
.flip1-btn span:first-child {
  background: var(--button-bg);
  color: var(--accent);
}
.flip1-btn span:last-child {
  background: var(--button-hover);
  color: #fff;
  transform: rotateX(180deg);
}
*/


.flip1-btn span:first-child {
  background: #2a2a2a;
  color: var(--color-accent);
}

.flip1-btn span:last-child {
  background: #134b85;
  color: #fff;
  transform: rotateX(180deg);
}



.flip1-btn:hover span:first-child {
  transform: rotateX(180deg);
}

.flip1-btn:hover span:last-child {
  transform: rotateX(0deg);
}

/* ===================================================
   10. Formulare
=================================================== */
form {
  max-width: 700px;
  margin: 3rem auto;
  background-color: #fdfdfd;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #444;
}

form input, form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  font-family: 'Manrope', sans-serif;
}

form input:focus, form textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  background-color: #fcfcfc;
}

form button {
  background-color: var(--color-accent);
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: var(--btn-radius, 8px);
  cursor: pointer;
}

form button:hover {
  background-color: #ff9933;
  color: #fff;
}

/*
input[type="text"],
input[type="email"],
textarea,
select {
  height: 2.5rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
textarea {
  height: 6rem;
}
*/

/* Entfernen der festen Höhe für Input-Felder */
input[type="text"],
input[type="email"],
textarea,
select {
  height: auto; /* Flexibel statt feste Höhe */
  line-height: 1.5;
  margin-bottom: 1rem; /* Mehr Abstand */
}


/* ===================================================
   11. Download-Buttons
=================================================== */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--button-bg);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  margin: 2rem auto;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: var(--button-hover);
}

.download-btn svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* ===================================================
   12. Fix: Bild/Text gleich hoch in .image-text-block
=================================================== */

.image-text-block {
  display: flex;
  align-items: stretch;
}

.image-text-block .image,
.image-text-block .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-text-block .image img {
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}


/*NEU - Test*/
.image-text-block .text {
  background-color: var(--box-bg);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--box-shadow);
}



/* ===================================================
   13. Theme Toggle Button (unten rechts)
=================================================== */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  padding: 10px 20px;
  background-color: var(--button-bg);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  transition: background-color 0.3s;
}

.theme-toggle:hover {
  background-color: var(--button-hover);
}

/* Theme Background & Text Farben für verschiedene Themes */
body.theme-blue,
body.theme-green,
body.theme-beige {
  background-color: var(--bg);
  color: var(--text);
}

body.dark {
  background-color: var(--bg) !important;
  color: var(--text) !important;
}


/* Redundante Regeln für Theme-Toggle */
.theme-toggle {
  background-color: var(--button-bg);
}
.theme-toggle:hover {
  background-color: var(--button-hover);
}

/* ===================================================
   14. Theme Toggle Button (Details)
=================================================== */

.detailsWrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.detailsWrapper.show {
  max-height: 1000px; /* ausreichend hoch für Inhalte */
}

.toggleDetails {
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--button-bg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin: 1rem 0;
}

.toggleDetails .chevron {
  width: 1em;
  height: 1em;
  transition: transform 0.3s ease;
}

.detailsWrapper.show + .chevron,
.toggleDetails[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}



.file-list {
    margin: 1em 0;
    padding: 0.5em;
    list-style: none;
    color: #333; /* gut lesbar, dunkel */
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.file-list li {
    margin-bottom: 4px;
}




/* ===================================================
   15. Mobile Fix für image-text-block
=================================================== */

@media (max-width: 768px) {
  .image-text-block {
    flex-direction: column;
    align-items: center;
  }

  .image-text-block .image,
  .image-text-block .text {
    width: 100%;
    max-width: 100%;
  }

  .image-text-block .image img {
    width: 100%;
    height: auto;
  }
}

.image-text-block {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}



/* Bei reverse wechseln Bild und Text */
.image-text-block.reverse {
  flex-direction: row-reverse;
}

/* Auf Mobil immer untereinander */
@media (max-width: 768px) {
  .image-text-block,
  .image-text-block.reverse {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Bilder und Text etwas schöner */
.image-text-block .image,
.image-text-block .text {
  flex: 1 1 45%;
}

/* Bild immer schön skaliert */
.image-text-block .image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Textblock mit maximaler Breite */
.image-text-block .text {
  max-width: 600px;
}



/* ===================================================
   16. Verschiebungen für ungerade / gerade Blöcke
=================================================== */
.image-text-block:nth-of-type(odd) .text {
  transform: translateX(-5%);
}
.image-text-block:nth-of-type(even) .text {
  transform: translateX(5%);
}

.image-text-block:nth-of-type(odd) .text {
  transform: translateY(15px);
}

.image-text-block:nth-of-type(even) .text {
  transform: translateY(-15px);
}


@media (max-width: 768px) {
  .image-text-block .text {
    transform: none;
    margin-top: 0;
    margin-bottom: 0;
  }
}






/* ===================================================
   16. Seiten-Karte (Danke, Bestätigung, etc.)
=================================================== */
.bw-page-card {
  max-width: 600px;
  margin: 4em auto;
  padding: 2em;
  background: #f7f9fc;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  line-height: 1.6;
}

.bw-page-card h1 {
  color: var(--bw-blue, #194b67);
  margin-bottom: 0.5em;
  font-weight: 700;
  font-size: 2.2rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.bw-page-card p {
  margin: 1em 0;
  font-size: 1.05rem;
  color: #444;
  max-width: none;
}

.bw-page-card .bw-page-card-btn {
  display: inline-block;
  margin-top: 1.5em;
  padding: 0.75em 1.75em;
  background-color: var(--bw-blue, #194b67);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.bw-page-card .bw-page-card-btn:hover {
  background-color: var(--bw-blue-dark, #0f3549);
  transform: translateY(-1px);
  text-decoration: none;
}


/* ===================================================
   17. Danke-Seite — Erfolg + Next Steps
=================================================== */
.bw-success-icon {
  margin: 0 auto 1.25rem;
  display: flex;
  justify-content: center;
}

.bw-danke-steps {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem auto;
  max-width: 380px;
  text-align: left;
}

.bw-danke-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #444;
}

.bw-danke-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--bw-blue, #194b67);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.bw-danke-contact {
  font-size: 0.875rem;
  color: #888;
  margin: 1rem 0 0.5rem;
}

.bw-danke-contact a {
  color: var(--bw-blue, #194b67);
  text-decoration: underline;
}

/* =========================================================
   BLUEWOHNIQUE – HEADER LOGO
   ========================================================= */

.bw-nav-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;

    padding: 0;
    margin: 0;

    background: transparent;
    text-decoration: none;
}

.bw-nav-logo {
    display: block;

    width: auto;
    height: 56px;
    max-width: 290px;

    object-fit: contain;
    background: transparent;
}

/* Tablet */
@media (max-width: 1024px) {
    .bw-nav-logo {
        height: 50px;
        max-width: 255px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .bw-nav-logo {
        height: 42px;
        max-width: 215px;
    }
}
