:root{
  /* Original-Farbwelt (aus dem Snippet) */
  --bg:#f8f5f0;
  --fg:#191919;
  --muted:#777777;
  --line:rgba(25,25,25,.12);

  --card:#ffffff;

  --accent:#d4b483;   /* gold */
  --accent2:#9e9158;  /* olive */

  --btn:var(--accent);
  --btnfg:#ffffff;

  --max:1080px;
  --radius:16px;
  --shadow:0 10px 26px rgba(25,25,25,.10);

  /* Section-Töne */
  --tone-white:#ffffff;
  --tone-sand:#f1ece3;
  --tone-gold:#d4b483;
  --tone-gold-soft:rgba(212,180,131,.16);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--fg);
  line-height:1.55;
  overflow-x:hidden;
}

/* Scrollbar wie Original */
::-webkit-scrollbar { width: 8px; height: 6px; }
::-webkit-scrollbar-track { box-shadow: inset 0 0 5px #777; border-radius: 10px; }
::-webkit-scrollbar-thumb { background: #9e9158; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #191919; }

img{max-width:100%;display:block;border-radius:var(--radius)}
a{color:inherit}

.container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* Sections */
.section{padding:68px 0}
.section.tight{padding:48px 0}
.section.tone-white{background:var(--tone-white)}
.section.tone-sand{background:var(--tone-sand)}
.section.tone-gold{background:var(--tone-gold)}
.section.tone-gold-soft{background:var(--tone-gold-soft)}
.section.border-top{border-top:1px solid var(--line)}
.section.border-bottom{border-bottom:1px solid var(--line)}

.hero{padding:58px 0;border-bottom:1px solid var(--line)}
.card{background:var(--card)}
.muted{color:var(--muted)}
.small{font-size:14px}

/* Divider */
.divider{
  width:78px;
  height:3px;
  border-radius:999px;
  background:var(--accent);
  margin:14px 0 18px;
}
.divider.center{margin-left:auto;margin-right:auto}
.divider.light{background:#ffffff}
.divider.olive{background:var(--accent2)}

/* Header (Goldbalken, weiße/bold Navigation) */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;

  background: var(--accent);                 /* gold */
  border-bottom: 1px solid rgba(255,255,255,.22);
  backdrop-filter: none;                      /* kein Glas-Effekt */
}

.header-row{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 0;                             /* dicker Balken */
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#fff;
}

.brand-logo{
  width:42px;
  height:42px;
  object-fit:contain;
  border-radius:12px;
  background: rgba(255,255,255,.18);          /* optional: Logo lesbarer */
  padding:6px;                                 /* optional */
}

.brand-name{
  font-weight:800;
  letter-spacing:.2px;
  color:#fff;
}

/* Nav */
.nav{margin-left:auto}
.nav ul{list-style:none;display:flex;gap:10px;margin:0;padding:0;align-items:center}

.nav a{
  text-decoration:none;
  color:#fff;
  font-weight:800;
  padding:8px 10px;
  border-radius:12px;
}
.nav a:hover{background:rgba(255,255,255,.16)}

/* Mobile Toggle */
.nav-toggle{
  display:none;
  margin-left:auto;
  background:transparent;
  border:0;
  padding:8px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:#fff;
  margin:5px 0;
}


/* Layout */
.hero-grid,.split{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:center}
.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}

.centered{
  text-align:center;
  max-width:860px;
  margin:0 auto;
}

/* Typo */
h1{
  font-size:36px;
  line-height:1.10;
  margin:0 0 10px;
  letter-spacing:-.2px;
}
h2{
  font-size:26px;
  line-height:1.2;
  margin:0;
  letter-spacing:-.15px;
}
h3{font-size:18px;margin:22px 0 8px}
p{margin:0 0 12px}

/* Buttons */
.cta-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.btn{
  display:inline-block;
  background:var(--btn);
  color:var(--btnfg);
  text-decoration:none;
  padding:12px 16px;
  border-radius:14px;
  font-weight:700;
  border:1px solid transparent;
  box-shadow:0 8px 18px rgba(212,180,131,.25);
}
.btn:hover{filter:saturate(1.05);transform:translateY(-1px)}
.btn:active{transform:translateY(0)}

.btn-ghost{
  background:transparent;
  color:var(--fg);
  border-color:var(--line);
  box-shadow:none;
}
.btn-ghost:hover{
  background:rgba(255,255,255,.65);
  filter:none;
}

/* Panels */
.panel{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}

/* “Webflow”-Gefühl: weiße Karten auf Goldflächen */
.section.tone-gold .panel,
.section.tone-gold-soft .panel{
  box-shadow:0 14px 34px rgba(25,25,25,.14);
}

/* Feature grid (wie Original: 3er/4er Blöcke) */
.features-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
  align-items:stretch;
}
.features-grid .panel h3{margin-top:0}
.features-grid .divider{margin-top:10px}

@media (max-width: 980px){
  .features-grid{grid-template-columns:repeat(2, 1fr)}
}
@media (max-width: 560px){
  .features-grid{grid-template-columns:1fr}
}

/* Forms */
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
label{display:block;margin:10px 0;font-weight:650}
input,textarea{
  width:100%;
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  font:inherit;
  background:#fff;
}
input:focus,textarea:focus{outline:2px solid rgba(212,180,131,.35);border-color:rgba(212,180,131,.55)}
.check{display:flex;align-items:flex-start;gap:10px;font-weight:500}
.check input{width:auto;margin-top:3px}

/* Lists */
.bullets{padding-left:18px}
.bullets li{margin:6px 0}

/* Video */
.video{
  width:100%;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:#000;
}

/* Footer: Typo wie Header, weiß/bold, 1-zeilig */
.site-footer{
  position: static;
  border-top:1px solid rgba(255,255,255,.18);
  background: rgba(25,25,25,.82);   /* dunkler Balken */
  padding: 12px 0;                  /* wie Header-Höhe */
}

.footer-grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.site-footer h3{ display:none; }
.site-footer p{ margin:0; }

/* Typo wie Header */
.site-footer,
.site-footer a{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size: 14px;                  /* wie Nav */
  font-weight: 700;                 /* bold */
  letter-spacing: .2px;
  color:#fff;
  text-decoration:none;
  white-space: nowrap;
}

.site-footer a:hover{
  text-decoration: underline;
}

@media (max-width: 860px){
  .footer-grid{ flex-wrap:wrap; justify-content:flex-start; }
  .site-footer, .site-footer a{ white-space: normal; }
}




/* Back-to-top */
.to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:44px;height:44px;
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(25,25,25,.78);
  color:#fff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.18);
}
.to-top:hover{background:rgba(25,25,25,.92)}

/* Mobile */
@media (max-width: 860px){
  .hero-grid,.split,.contact-grid{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}

  .nav-toggle{display:block}
  .nav{display:none;width:100%}
  .nav.open{display:block}
  .nav ul{flex-direction:column;align-items:flex-start;padding:10px 0}
}
/* --- Hero Title/Subline --- */
.hero-title{
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.6px;
  margin: 0;
}

.hero-subline{
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
  color: var(--fg);
}

@media (max-width: 860px){
  .hero-title{font-size: 38px}
  .hero-subline{font-size: 16px}
}
.intro-text{white-space:pre-line;}

/* Box ohne Card-Look: Hintergrund = Abschnitt, ohne Schatten */
.sectionbox{
  padding: 6px 6px 6px 0;
}

.sectiontext{
  white-space: pre-line; /* falls du \n im Text nutzt */
}

/* optional: Panel im Gold-Abschnitt weniger “schwer” */
.section.tone-gold .panel{
  box-shadow: 0 10px 26px rgba(25,25,25,.10);
}
/* Split: gleiche Höhe */
.split{ align-items: stretch; }

/* Textbox: Abschnittsfarbe, ohne Card-Look */
.sectionbox{ padding: 6px 6px 6px 0; }
.sectiontext{ white-space: pre-line; }

/* Bildbox: groß, ohne Padding, füllt die Spaltenhöhe */
.media-box{
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: none; /* kein Schatten */
}

.media-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
/* FAQ Layout */
.faq-list{
  display: grid;
  gap: 18px;              /* Abstand zwischen FAQ-Items */
}

.faq-item{
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--line);  /* Trennlinie */
}

.faq-q{
  font-weight: 800;       /* bold */
  font-size: 20px;        /* größere Frage-Schrift */
  line-height: 1.25;
  margin: 0;
}

.faq-a{
  margin-top: 10px;
  white-space: pre-line;  /* \n aus JSON darstellen */
  line-height: 1.6;
}

/* Optional: besser auf Mobil */
@media (max-width: 860px){
  .faq-q{ font-size: 18px; }
}
/* FAQ Accordion (faq.html) */
.accordion{
  margin-top: 18px;
  display: grid;
  gap: 18px;                 /* größerer Abstand zwischen den FAQ */
}

.accordion details{
  border-bottom: 1px solid var(--line);  /* Trennlinie */
  padding: 12px 0 18px;
}

.accordion summary{
  list-style: none;
  cursor: pointer;
  font-weight: 800;          /* bold */
  font-size: 20px;           /* größere Schrift */
  line-height: 1.25;
}

/* Standard-Pfeil ausblenden (Chrome/Safari) */
.accordion summary::-webkit-details-marker{ display:none; }

/* Optional: eigenes Icon rechts */
.accordion summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.accordion summary::after{
  content: "+";
  font-weight: 800;
  opacity: .7;
}
.accordion details[open] summary::after{
  content: "–";
}

.accordion .accordion-body{
  margin-top: 10px;
}

.accordion .accordion-body p{
  margin: 0;
  line-height: 1.7;
}

/* Mobil etwas kleiner */
@media (max-width: 860px){
  .accordion summary{ font-size: 18px; }
}
/* Headline-Varianten */
.hbar{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  line-height: 1.15;
}

.hbar--dark{
  background: var(--fg);
  color: #fff;
}

.hbar--gold{
  background: var(--accent);
  color: #fff;
}

.hbar--white{
  background: #fff;
  color: var(--fg);
  border: 1px solid var(--line);
}

/* optional: kleine Unterzeile/Optik */
.hbar + .divider{ margin-top: 12px; }

/* Headline-Farbvarianten (nur Textfarbe) */
.headline--dark{ color: var(--fg); }
.headline--gold{ color: var(--accent); }
.headline--white{ color: #fff; }

/* optional: auf goldenen Flächen wirkt weiß besser lesbar */
.section.tone-gold h2.headline--white,
.section.tone-gold h3.headline--white{ color:#fff; }
a.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
}

a.btn:hover{ filter: brightness(0.95); }

a.btn.btn-ghost{
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
/* Button erzwingen (falls .btn überschrieben/neutral ist) */
.btn.btn-solid{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  background: var(--fg);
  color: #fff;
  border: 1px solid transparent;
}

.btn.btn-solid:hover{ filter: brightness(0.95); }

/* Kontakt-Seite: mehr Rand + Card-Padding */
.container.contact-page{
  padding-left: 28px;
  padding-right: 28px;
}

@media (max-width: 560px){
  .container.contact-page{
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* diese Klasse fehlt dir aktuell komplett */
.pad{
  padding: 26px;
}

@media (max-width: 560px){
  .pad{ padding: 18px; }
}

/* Kontakt-Grid: mehr Luft */
.contact-grid--spaced{
  margin-top: 22px;
  gap: 22px;
}

/* dezente Cards (ohne “starken” Schatten) */
.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: none;
}

/* optionale Farbvarianten für wechselnde Flächen */
.card--white{ background: var(--tone-white); }
.card--sand{ background: var(--tone-sand); }

/* Intro-Text etwas ruhiger und besser lesbar */
.lead{
  margin-top: 10px;
  font-size: 16px;
  max-width: 820px;
}
/* Frame-in-Frame: Außen bleibt, innen scrollt */
html, body { height: 100%; }

body{
  overflow: hidden;          /* keine Body-Scrollbars */
}

.frame{
  height: 100vh;
  padding: 18px;             /* Rand um die Seite */
  background: var(--bg);     /* Außenfläche */
}

.frame-inner{
  height: 100%;
  overflow: auto;            /* nur innen scrollt */
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

/* Header bleibt sticky innerhalb des inneren Scrollcontainers */
.site-header{
  position: sticky;
  top: 0;
}

/* --- Frame-Layout: inneres Scrollen erzwingen --- */
body{
  overflow-x:hidden;
  overflow-y:auto; /* wichtig: nicht hidden */
}

.frame{
  padding:14px;                 /* Rand links/rechts */
  background:var(--bg);
  min-height:100vh;
}

.frame-inner{
  min-height:calc(100vh - 28px);
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--bg);
  overflow:hidden;              /* Rahmen bleibt fix */
  display:flex;
  flex-direction:column;
}

/* NUR der Content scrollt */
.frame-inner main{
  flex:1;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
/* Passpartout (weißes PP + Schatten) für Bilder */
.pp{
  background:#fff;
  padding:14px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.pp img{
  width:100%;
  display:block;
  border-radius:calc(var(--radius) - 6px);
}
/* Split: beide Spalten gleiche Höhe */
.split{ align-items: stretch; }

/* PP-Box, die die Spaltenhöhe mitgeht */
.pp-fill{
  height: 100%;
  background:#fff;
  padding:14px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  display:flex;
}

.pp-fill img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:calc(var(--radius) - 6px);
}
/* ===== Quiz Modal (kein <dialog>, Safari/Chrome safe) ===== */
body.qmodal-open{ overflow:hidden; }

.qmodal{
  position:fixed;
  inset:0;
  z-index:200; /* über header */
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
}
.qmodal[hidden]{ display:none; }

.qmodal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(25,25,25,.55);
}

.qmodal__panel{
  position:relative;
  width:min(860px, calc(100% - 28px));
  max-height:80vh;
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 18px 42px rgba(25,25,25,.18);
}

.qmodal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.96);
  position:sticky;
  top:0;
  z-index:1;
}

.qmodal__title{ font-weight:800; }

.qmodal__close{
  width:38px;height:38px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:22px;
  font-weight:800;
  line-height:1;
}

.qmodal__body{ padding:16px; }
.qmodal__foot{
  padding:14px 16px;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.96);
}

/* Content-Typo im Modal (ruhig, lesbar) */
.qres-h{
  margin:0 0 10px 0;
  color:var(--accent2);
  font-size:24px;
  line-height:1.2;
}
.qres-p{
  margin:0 0 12px 0;
  font-size:16px;
  line-height:1.65;
}
.qres-cta{ display:flex; justify-content:center; margin-top:14px; }
.qres-note{ margin-top:12px; color:var(--muted); font-size:14px; }




