:root{
  :root{
  /* Farben */
  --primary: #0d6efd;
  --primary-hover: #0b5ed7;
  --accent-warm: #ff6b35;
  --paper-bg: #fffdf6;
  --site-color: #111827;
  --bs-info: #0dcaf0;

  /* Shadows */
  --shadow-strong: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-soft: 0 6px 18px rgba(0,0,0,0.06);
}
  /* Spacing & sizes */
  --gutter: 1.5rem;
  --max-width-snippet: 56rem; /* ~900px */
  --banner-height: 1.75rem;
  --radius: 0.5rem;

  /* Typo */
  --ui-font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Georgia", serif;
  --base-font-size: 16px;


  /* Farben */
  --site-bg: #f9fafb;
  --site-color: #111827;
  --primary: #0d6efd;
  --primary-hover: #0a58ca;
  --accent: #6610f2;
  --accent-warm: #ff6b35;
  --accent-green: #4CAF50;
  --accent-green-dark: #2e7d32;
  --accent-red: #a94442;
  --paper-bg: #fffef8;
  --card-bg: #f8fafc;
  --soft-bg: #f3f4f6;
  --muted-border: #e2decf;

  /* Spacing & sizes */
  --gutter: 1.5rem;
  --max-width-snippet: 44rem;
  --max-width-zettel: 50rem;
  --banner-height: 1.75rem;
  --radius: 0.5rem;

  /* Typografie */
  --serif: "Georgia", serif;
  --ui-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --base-font-size: 16px;
  --line-height: 1.45;

  /* Schatten */
  --card-shadow: 0 10px 30px rgba(0,0,0,0.06);
  --soft-shadow: 0 4px 12px rgba(0,0,0,0.08);

  /* Gradients */
  --cta-gradient: linear-gradient(90deg, var(--primary), var(--accent));
  --pill-gradient: linear-gradient(90deg, #ffefba, #fff1c4);
}

/* Reset box sizing */
html { box-sizing: border-box; font-size: 100%; }
*, *::before, *::after { box-sizing: inherit; }
/* Basis */
html{box-sizing:border-box;font-size:100%}
*,*::before,*::after{box-sizing:inherit}
body{margin:0;background:var(--paper-bg);color:var(--site-color);font-family:var(--ui-font);font-size:var(--base-font-size);line-height:1.45}

body#home-page {
  outline: 5px solid red !important;
}

/* Info Button */
.info-button{
  display:inline-block;padding:0.35rem 0.9rem;background:var(--primary);color:#fff;border-radius:0.5rem;font-weight:600;text-decoration:none;transition:background 180ms ease, transform 180ms ease;cursor:pointer;border:0;
}
.info-button:hover,
.info-button:focus-visible{ background:var(--primary-hover); transform:translateY(-2px); outline:none }
.info-button:focus-visible{ box-shadow:0 0 0 4px rgba(13,110,253,0.12) }

/* Info Snippet */
.info-snippet{
  width:100%;max-width:var(--max-width-snippet);background:var(--paper-bg);border-left:4px solid var(--primary);
  padding:0.6rem 1rem;margin:1.2rem 0;box-shadow:var(--shadow-soft);border-radius:8px;color:var(--site-color);
  font-family:var(--ui-font);transition:opacity .6s ease, transform .6s cubic-bezier(.2,.9,.2,1), max-height .45s ease, padding .35s ease, margin .35s ease;overflow:hidden;
  will-change:opacity, transform;
}

/* CSS fallback auto-hide (no-JS) */
.info-snippet.css-auto-hide{ animation:cssFadeOut 1s ease forwards; animation-delay:6s }
@keyframes cssFadeOut{ to{ opacity:0; max-height:0; padding:0; margin:0 } }
.info-snippet.hidden{ display:none !important; visibility:hidden }

/* Inner layout */
.info-snippet-inner{ display:flex; gap:0.6rem; align-items:center; flex-wrap:wrap }
.info-snippet strong{ color:var(--primary) }

/* Links */
.info-link{ color:var(--bs-info); text-decoration:none; font-weight:500; transition:color .18s ease, text-decoration-color .18s ease }
.info-link:hover{ text-decoration:underline }
.info-link:focus-visible{ outline:3px solid rgba(13,202,240,0.18); outline-offset:3px }

/* Responsive */
@media (max-width:640px){
  .info-snippet{ padding:0.5rem 0.8rem; margin:1rem 0 }
  .info-button{ padding:0.3rem 0.7rem }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .info-snippet, .info-button{ transition:none; animation:none; transform:none }
}



/* Base */
body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-color);
  font-family: var(--ui-font);
  line-height: var(--line-height);
  font-size: var(--base-font-size);
}

/* Component typography */
.snippet, .zettel, .quote-block {
  font-family: var(--serif);
  color: #333;
}

/* Snippet */
.snippet {
  max-width: var(--max-width-snippet);
  margin: 2rem auto;
  padding: 1.5rem;
  background: var(--paper-bg);
  border-left: 0.25rem solid var(--accent-green);
  border-radius: 0.375rem;
  line-height: 1.6;
}
.snippet h2 {
  margin-top: 0;
  color: var(--accent-green-dark);
  font-size: 1.4rem;
}

/* Compact inline snippet */
.info-snippet { margin: 0.5rem 0; }
.info-anchor {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.info-banner {
  height: var(--banner-height);
  width: auto;
  display: inline-block;
  flex-shrink: 0;
}
.info-text { line-height: 1.2; font-size: 0.95rem; }

/* Zettel */
.zettel-container {
  max-width: var(--max-width-zettel);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.zettel {
  background: #fffdf5;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--muted-border);
  border-radius: 0.75rem;
  box-shadow: var(--soft-shadow);
  transform: rotate(-1deg);
}

/* sanftere Rotation nur auf größere Bildschirme */
@media (min-width: 900px) {
  .zettel:nth-child(2) { transform: rotate(1deg); }
  .zettel:nth-child(3) { transform: rotate(-0.5deg); }
}

/* Quote block */
.quote-block {
  background-color: #fff8f8;
  border-left: 0.25rem solid var(--accent-red);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
}

/* Accessibility focus */
.info-anchor:focus, .info-anchor:focus-visible {
  outline: 3px solid rgba(66,153,225,0.25);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .snippet { padding: 1rem; margin: 1.25rem auto; }
  .info-text { font-size: 0.9rem; }
  .snippet h2 { font-size: 1.4rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .zettel { transition: none; transform: none; }
}

/* Header1 / Nav .site-header → Rahmen & Atmosphäre */
.site-header {
  background: var(--card-bg);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.site-header a { color: #001f54; font-weight: 600; text-decoration: none; }
.site-header a:hover { color: #003366; }

/* Header1 - Navigation Container .nav-container → Layout - Design */
.nav-container {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Header1 / Nav .nav-button → Stimmung & aufeinander bezogen */
.nav-button {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  background: linear-gradient(#f7f9fc, #e6ecf3);
  border: 1px solid rgba(0, 0, 0, 0.12);
}


/* Hero */
/* Domains - Hero-Bereich */
.hero-section {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}
/* visuelle und inhaltliche Schaufenster */
.hero-container {
  max-width: 960px;
  margin: 0 auto;
}
/* Responsive Anpassung */
@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-text {
    font-size: 0.75rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin: 0.25em 0;
  line-height: 1.4;
}
p {
  margin-block-start: 1em;
  margin-block-end: 1em;
}
.hero-paragraph {
  font-size: 1em;          /* Schriftgröße etwas kleiner als Überschriften */
  line-height: 1.;        /* angenehmer Zeilenabstand */
  color: #444;             /* dezentes Dunkelgrau für gute Lesbarkeit */
  font-style: italic;      /* kursiv, damit es sich von normalem Text abhebt */
  margin: 0.5em 0 1em 0;   /* Abstand oben/unten für klare Struktur */
  text-align: center;      /* mittig ausgerichtet, passt zu Hero-Charakter */
}

}

.bubble-matrix {
  display: flex;
  flex-direction: column;   /* 👈 untereinander */
  align-items: center;
  gap: 10px;                /* vertikaler Abstand */
  margin: 1em 0;
}

.bubble-subtitle {
  font-size: 0.85em;
  color: violet;
  text-align: center;
  margin: 0;
  font-style: italic;
  line-height: 1.3;
}
.bubble-text {
  font-size: 0.95em;
  color: #333;
  text-align: center;
  margin: 0;           /* GANZ WICHTIG */
  padding: 0;
  line-height: 1.5;
}
/* Hier: eine Zeile mit Bubble + Text - untereinander = strukturierte Liste */
.bubble-row {
  display: flex;
  align-items: center;   /* 👈 perfekt für Untertitel */
  gap: 0.75rem;           /* Abstand Bubble ↔ Text ↔ steuert horizontal  */
  margin-bottom: 8px;    /* steuert vertikalen Abstand */
}
.bubble-icon {
  margin-top: 0em;  /* 🔧 Feinjustierung zur ersten Textzeile */
  width: 15px;  /* kleiner = feiner */
  height: 15px;
  flex-shrink: 0;
  /* margin-top: 0px; /*  /* niemals doppelte margin-top-Werte */
}

/* Buttons: utility classes for flexible width */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0.625rem 0;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--btn-shadow);
}
.btn--full { width: 100%; display: block; text-align: center; }
.btn--inline { width: auto; }
.btn:active { transform: translateY(1px); }

/* Utility: visually hidden for accessibility */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
/* Buttons - Basis */
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 160ms ease, color 160ms ease;
  border: 0;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Default hover/focus */
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  outline: none;
}

/* Primary */
.btn-primary {
  background-color: var(--accent-warm);
  color: #fff;
  box-shadow: var(--btn-shadow);
}
.btn-primary:hover { background-color: #e85c2d; }
.btn-primary:active { transform: translateY(0); }

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--accent-warm);
  border: 2px solid var(--accent-warm);
}
.btn-ghost:hover {
  background: var(--accent-warm);
  color: #fff;
}

/* Generic hover override (keeps .btn variants consistent) */
.btn:hover { background-color: #003f87; color: #fff; }

/* CTA */
.btn-cta {
  padding: 0.6rem 1.1rem;
  font-weight: 800;
  color: #fff;
  background: var(--cta-gradient);
  border-radius: 0.5rem;
  box-shadow: var(--btn-shadow);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13,110,253,0.22);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn-cta { transition: none; transform: none; }
}

/* Bewusstes Leben Box */
.bewusstes-leben {
  background: var(--paper-bg);
  border: 1px solid var(--muted-border);
  border-radius: 0.5rem;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-family: var(--serif);
  line-height: 1.6;
  color: #333;
}
.bewusstes-leben a {
  color: #006699;
  font-weight: 700;
  text-decoration: underline;
}
.bewusstes-leben a:focus-visible { outline: 3px solid rgba(0,102,153,0.12); outline-offset: 3px; }

/* Pills & Badges */
.domain-pill {
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--pill-gradient);
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  color: #111;
  display: inline-block;
}
.badge-plain {
  background: transparent;
  color: inherit;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  display: inline-block;
}

/* Footer */
footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 2rem 1rem;
  margin-top: 3rem;
  background: transparent;
  color: var(--site-color);
}

/* Small utility */
.btn--full { width: 100%; display: inline-block; text-align: center; }

/* Navigation nur anzeigen, wenn JS aktiv ist */
.nav-footer {
  display: none;
}

.js-enabled .nav-footer {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
