/* ninios-design-3.0.css – Gestaltungsebene „Buehne“ (Entwurf 22.11.2026).
   Wirkt nur auf Seiten mit <body class="d3">. Inhalte, Kopfbereich und Skripte bleiben unveraendert;
   die Ebene ordnet vorhandene Elemente neu an und vergroessert die Videos. */
.d3{
  --d3-bg:#faf7f2;--d3-line:rgba(23,29,25,.09);--d3-green:#39482f;--d3-green-2:#52633e;--d3-gold:#b99a57;
  --d3-tint:linear-gradient(160deg,#f2f5ea 0%,#fdfbf6 72%);
  --d3-sans:"Outfit","Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  /* Videos: so breit wie der Seiteninhalt, aber nie hoeher als der sichtbare Bereich unter dem Kopfbereich (16:9). */
  --d3-video-max:min(1320px,max(520px,calc((100vh - var(--ninios-header-height,158px) - 36px)*1.7778)));
  background:linear-gradient(180deg,#fdfbf7 0%,var(--d3-bg) 38%,#f5efe6 100%);
}
/* Die Kontaktkarte (.contact-form-shell) behaelt bewusst ihr festgelegtes Schriftbild aus kontaktformular.css. */
.d3 main,.d3 .footer{--font-body:var(--d3-sans);font-family:var(--d3-sans)}

/* ---------- Buehne: Ueberschrift, Schaltflaechen, grosses Video ---------- */
.d3 main>.hero{padding-bottom:64px}
.d3 .hero::after{display:none}
.d3 .hero .hero-layout{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:0}
.d3 .hero .hero-copy,.d3 .hero .hero-layout>.reveal:first-child:not(.hero-media):not(.js-video-block){display:contents}
.d3 .hero .hero-layout>.reveal-delay-1:not(.hero-copy){order:4;width:100%;max-width:var(--d3-video-max)}
.d3 .hero .hero-kicker{order:0;margin:0 auto 18px}
.d3 .hero .hero-title{order:1;max-width:19ch;margin:0 auto 14px;font-size:clamp(2.45rem,4.9vw,4.3rem);line-height:1.08;letter-spacing:-.035em}
.d3 .hero .hero-title::after{width:88px;margin:22px auto 0;background:linear-gradient(90deg,rgba(185,154,87,0),var(--d3-gold),rgba(185,154,87,0))}
.d3 .hero .hero-subtitle{order:2;max-width:none;margin:0 auto 26px}
.d3 .hero .hero-actions{order:3;justify-content:center;margin:0 0 42px}
.d3 .hero .hero-actions .btn-secondary{background:#fff;border:1px solid rgba(56,70,50,.4);color:#26382b}
.d3 .hero .hero-actions .btn-secondary::before{display:none}
.d3 .hero .hero-media,.d3 .hero .js-video-block{order:4;width:100%;max-width:var(--d3-video-max)}
.d3 .hero .hero-media::before{display:none}
.d3 .hero .hero-frame{aspect-ratio:16/9;border-radius:30px;border:0;box-shadow:0 44px 96px rgba(38,31,23,.22),0 4px 14px rgba(38,31,23,.08)}
.d3 .hero .hero-summary{order:5;max-width:800px;margin:44px auto 26px;font-size:1.1rem;line-height:1.75}
.d3 .hero .hero-meta{order:6;width:100%;max-width:980px;margin:0 auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.d3 .hero .hero-meta a{text-align:left;background:#fff;border:1px solid var(--d3-line);border-radius:20px;box-shadow:0 10px 26px rgba(38,31,23,.05);font-size:.95rem}
.d3 .hero .hero-note{order:7;margin:22px auto 0;text-align:center}
/* Seiten ohne Video: das Kopfbild steht in derselben Buehne wie sonst das Video */
.d3 .hero .media-frame{aspect-ratio:16/9;border-radius:30px;border:0;box-shadow:0 44px 96px rgba(38,31,23,.22),0 4px 14px rgba(38,31,23,.08)}
.d3 .hero .hero-meta{justify-content:center}
.d3 .hero>.narrow{text-align:center}
.d3 .hero .hero-layout>.regional-card{max-width:820px;text-align:left}

/* ---------- Seitenlinks als Auswahlleiste ---------- */
.d3 .ninios-page-links{margin:0 auto 8px}
.d3 .ninios-page-links details{padding:0;border:0;text-align:center}
.d3 .ninios-page-links summary{display:inline-block;min-height:0;margin:0 0 12px;font-size:.72rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#56634f;list-style:none}
.d3 .ninios-page-links summary::-webkit-details-marker{display:none}
.d3 .ninios-page-links ul{justify-content:center;gap:10px;margin:0}
.d3 .ninios-page-links a{min-height:44px;padding:0 20px;border:1px solid rgba(23,29,25,.13);border-radius:999px;background:#fff;color:#26382b;font-size:15px;font-weight:600;text-decoration:none;box-shadow:0 6px 16px rgba(38,31,23,.04);transition:border-color .2s ease,background-color .2s ease,transform .2s ease}
.d3 .ninios-page-links a:hover{border-color:#39482f;background:#f3f5ec;transform:translateY(-1px)}

/* ---------- Abschnitte: zentrierte Koepfe, ruhiger Rhythmus ---------- */
.d3 .section{padding:96px 0}
.d3 .section-head{max-width:880px;margin:0 auto 46px;text-align:center}
.d3 .section-head .eyebrow{justify-content:center}
.d3 .section-head .eyebrow::after{content:'';width:34px;height:1px;background:linear-gradient(270deg,var(--gold,#c6a35a),rgba(198,163,90,.16))}
.d3 .section-head h2{font-size:clamp(2rem,3.3vw,3rem);line-height:1.13}
.d3 .hero-title,.d3 .hero .hero-subtitle,.d3 .section-head h2,.d3 #bewertungen h2,.d3 .myth-layout h2{text-wrap:balance}
.d3 .section-head p{max-width:740px;margin-inline:auto;font-size:1.08rem}
.d3 .region-section-heading{text-align:center}

/* ---------- Zweites Video und Vorteile ---------- */
.d3 #besonders .video-frame{max-width:var(--d3-video-max);margin:0 auto 26px!important;border-radius:30px;border:0;box-shadow:0 38px 86px rgba(38,31,23,.2),0 4px 14px rgba(38,31,23,.08)}
.d3 #besonders .special-panel{max-width:var(--d3-video-max);margin-inline:auto;padding:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.d3 #besonders .feature-list.two-cols{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.d3 #besonders .feature-list li{padding:18px 20px 18px 56px;background:#fff;border:1px solid var(--d3-line);border-radius:18px;box-shadow:0 8px 22px rgba(38,31,23,.04);font-size:1rem;line-height:1.5}
.d3 #besonders .feature-list li::before{left:18px;top:18px;width:24px;height:24px;border:0;border-radius:50%;box-shadow:none;background:var(--d3-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat}

/* ---------- Videos im Seiteninhalt (Unterseiten): volle Breite ueber dem Text ---------- */
.d3 .myth-layout>.trust-panel{padding:34px 38px}
.d3 .myth-layout.d3-video-layout{grid-template-columns:minmax(0,1fr);justify-items:center;gap:26px}
.d3 .myth-layout.d3-video-layout>.js-video-block{order:-1;width:100%;max-width:var(--d3-video-max)}
.d3 .myth-layout.d3-video-layout>.trust-panel{width:100%;max-width:940px;padding:38px 44px;background:#fff;border:1px solid var(--d3-line);box-shadow:0 10px 28px rgba(38,31,23,.05);backdrop-filter:none;-webkit-backdrop-filter:none}
.d3 .myth-layout .video-frame{border-radius:30px;border:0;box-shadow:0 38px 86px rgba(38,31,23,.2),0 4px 14px rgba(38,31,23,.08)}
.d3 .video-caption{text-align:center}
.d3 .philosophy-layout{grid-template-columns:minmax(0,1fr);justify-items:center;gap:26px}
.d3 .philosophy-layout>.reveal:not(.philosophy-panel){order:-1;width:100%;max-width:var(--d3-video-max)}
.d3 .philosophy-layout .video-frame{border-radius:30px;border:0;box-shadow:0 38px 86px rgba(38,31,23,.2),0 4px 14px rgba(38,31,23,.08)}
.d3 .philosophy-layout .video-copy{max-width:940px;margin:26px auto 0!important;background:#fff;border:1px solid var(--d3-line);box-shadow:0 10px 28px rgba(38,31,23,.05);backdrop-filter:none;-webkit-backdrop-filter:none}
.d3 .philosophy-layout>.philosophy-panel{width:100%;max-width:940px;background:#fff;border:1px solid var(--d3-line);box-shadow:0 10px 28px rgba(38,31,23,.05);backdrop-filter:none;-webkit-backdrop-filter:none}

/* ---------- Schwerpunkte: weiche Karten mit runder Schaltflaeche ---------- */
.d3 .services-grid{gap:18px}
.d3 .services-grid .service-card{position:relative;overflow:hidden;padding:30px 30px 26px;background:var(--d3-tint);border:1px solid var(--d3-line);box-shadow:0 10px 28px rgba(38,31,23,.05);backdrop-filter:none;-webkit-backdrop-filter:none}
.d3 .services-grid .service-card:not(.featured)::after{content:'';position:absolute;right:-46px;top:-46px;width:132px;height:132px;border-radius:50%;border:1px solid rgba(82,99,62,.16);box-shadow:0 0 0 22px rgba(82,99,62,.045);pointer-events:none}
.d3 .services-grid .service-card>*{position:relative;z-index:1}
.d3 .services-grid .service-card h3{font-family:var(--font-display);font-weight:400;font-size:1.42rem;line-height:1.22;letter-spacing:-.015em;margin-bottom:12px}
.d3 .services-grid .service-card p{font-size:1rem;line-height:1.62}
.d3 .services-grid .service-card.featured{background:linear-gradient(145deg,#33422c,#5b6e4a);border-color:rgba(255,255,255,.16);box-shadow:0 24px 60px rgba(38,48,30,.22)}
.d3 .services-grid .service-card.featured h3{font-size:clamp(1.5rem,2.2vw,1.9rem)}
.d3 .service-card .service-link{display:inline-flex;align-items:center;min-height:42px;margin-top:auto;padding:0 18px;border:1px solid rgba(56,70,50,.4);border-radius:999px;background:#fff;color:#2c3a26;font-size:.88rem;font-weight:700;transition:background-color .2s ease,border-color .2s ease}
.d3 .service-card .service-link{margin-top:18px}
.d3 .service-card p{margin-bottom:auto}
.d3 .service-card:hover .service-link{background:#f0f3e8;border-color:#39482f}
.d3 .service-card.featured .service-link{background:#fff;border-color:#fff;color:#2c3a26}
.d3 .hinweis-bar{background:#fff;border:1px solid var(--d3-line)}

/* ---------- Vertrauensblock auf dunklem Gruen ---------- */
.d3 .d3-band>.container{padding:68px 56px 60px;border-radius:38px;background:linear-gradient(150deg,#2c3a26 0%,#4c5e3f 100%);box-shadow:0 34px 80px rgba(38,48,30,.22);position:relative;overflow:hidden}
.d3 .d3-band>.container::before{content:'';position:absolute;right:-90px;top:-110px;width:330px;height:330px;border-radius:50%;background:rgba(198,163,90,.16);pointer-events:none}
.d3 .d3-band>.container>*{position:relative}
.d3 .d3-band .eyebrow,.d3 .d3-band h2{color:#fff}
.d3 .d3-band .section-head p{color:rgba(255,255,255,.86)}
.d3 .d3-band .trust-panel{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.d3 .d3-band .trust-panel h3{color:#fff;font-family:var(--font-display);font-weight:400;font-size:1.38rem;margin-bottom:14px}
.d3 .d3-band .trust-panel p{color:rgba(255,255,255,.88)}
.d3 .d3-band .btn-dark,.d3 .d3-band .btn-secondary{background:#fff;color:#26331f;border:0;box-shadow:0 14px 30px rgba(0,0,0,.18)}
.d3 .d3-band .btn-dark:hover,.d3 .d3-band .btn-secondary:hover{background:#f3f5ec}

/* ---------- FAQ und Bewertungen ---------- */
.d3 #bewertungen .container>.reveal:first-child{max-width:880px;margin:0 auto 40px;text-align:center}
.d3 #bewertungen .container>.reveal:first-child .eyebrow{justify-content:center}
.d3 #bewertungen .container>.reveal:first-child .eyebrow::after{content:'';width:34px;height:1px;background:linear-gradient(270deg,var(--gold,#c6a35a),rgba(198,163,90,.16))}
.d3 #bewertungen h2{font-size:clamp(2rem,3.3vw,3rem);line-height:1.13}
.d3 .faq-item,.d3 .faq-cta,.d3 .review-card{background:#fff;border:1px solid var(--d3-line);box-shadow:0 10px 28px rgba(38,31,23,.05);backdrop-filter:none;-webkit-backdrop-filter:none}
.d3 .faq-item h3{font-size:1.14rem;line-height:1.35}

/* ---------- Tablet ---------- */
@media(max-width:1180px){
 .d3 .section{padding:84px 0}
 .d3 #besonders .feature-list.two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
 .d3 .d3-band>.container{padding:56px 36px 48px;border-radius:32px}
}
/* ---------- Handy ---------- */
@media(max-width:760px){
 .d3 .section{padding:64px 0}
 .d3 main>.hero{padding-bottom:44px}
 .d3 .hero .hero-title{font-size:clamp(2.1rem,9vw,2.6rem)}
 .d3 .hero .hero-actions{margin-bottom:30px}
 .d3 .hero .hero-media,.d3 .hero .js-video-block{width:calc(100% + 12px);margin-inline:-6px}
 .d3 .hero .hero-frame{border-radius:20px}
 .d3 .hero .hero-summary{margin:30px auto 22px;font-size:1.04rem;text-align:left}
 .d3 .hero .hero-meta{grid-template-columns:1fr;max-width:none;gap:10px}
 .d3 .hero .hero-meta a{min-height:64px}
 .d3 .section-head{margin-bottom:32px}
 .d3 .section-head p{font-size:1.02rem}
 .d3 #besonders .video-frame{width:calc(100% + 12px);max-width:none;margin:0 -6px 20px!important;border-radius:20px}
 .d3 #besonders .feature-list.two-cols{grid-template-columns:1fr;gap:10px}
 .d3 .services-grid .service-card{padding:26px 24px 22px}
 .d3 .myth-layout>.trust-panel,.d3 .myth-layout.d3-video-layout>.trust-panel{padding:28px 24px}
 .d3 .myth-layout .video-frame,.d3 .philosophy-layout .video-frame{border-radius:20px}
 .d3 .hero .hero-layout>.reveal-delay-1:not(.hero-copy){width:calc(100% + 12px);margin-inline:-6px}
 .d3 .d3-band>.container{width:calc(100% - 16px);padding:44px 22px 36px;border-radius:26px}
 .d3 .ninios-page-links summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0 0 10px;padding:0 20px;border:1px solid rgba(23,29,25,.13);border-radius:999px;background:#fff;font-size:.76rem;cursor:pointer}
 .d3 .ninios-page-links summary::after{content:'';width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg) translateY(-2px)}
 .d3 .ninios-page-links details[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
 .d3 .ninios-page-links ul{gap:8px;padding-bottom:6px}
 .d3 .ninios-page-links a{padding:0 16px}
}
@media(prefers-reduced-motion:reduce){.d3 .ninios-page-links a,.d3 .service-card .service-link{transition:none}}
