/* =========================================================
   Erika HypnoX – Design-Tokens v1.1 (Richtung A „Abendstunde“)
   Quelle: Claude Design, Canvas „Erika HypnoX – Startseite Entwurf“
   Ziel: wird 1:1 an den Anfang von content-dropins/css/global.css übernommen.
   Kontraste geprüft (WCAG 2.2): Werte in Kommentaren.
   ========================================================= */

:root {
  /* ---- Farbe: Flächen ---- */
  --eh-night:        #1B1718;  /* dunkle Sektionen, Header */
  --eh-night-deep:   #141112;  /* Footer */
  --eh-night-field:  #262122;  /* Eingabefelder auf Dunkel */
  --eh-paper:        #F1F1EE;  /* helle Sektionen, Grundfläche */
  --eh-paper-2:      #E5E4DF;  /* helle Wechselsektionen */
  --eh-paper-card:   #FBFBF9;  /* Karten auf Papier */

  /* ---- Farbe: Text ---- */
  --eh-ink:          #231F20;  /* Text auf Hell, Logo-Farbe. 14,4:1 auf paper */
  --eh-ink-muted:    #57504F;  /* Sekundärtext auf Hell. 6,96:1 paper / 6,19:1 paper-2 */
  --eh-on-night:     #F1F1EE;  /* Text auf Dunkel. 15,7:1 */
  --eh-on-night-2:   #D9D3CF;  /* Fließtext auf Dunkel. 12,0:1 */
  --eh-on-night-3:   #BDB5B1;  /* Sekundärtext auf Dunkel. 8,8:1 */

  /* ---- Farbe: Aktion und Signatur ---- */
  --eh-lamp:         #E8A33D;  /* Aktion: Button-Fläche, Fokus, Linie auf Dunkel. Ink darauf 7,56:1 */
  --eh-lamp-hover:   #F2B55A;  /* Button hover. Ink darauf 8,95:1 */
  --eh-lamp-active:  #D69230;  /* Button active */
  --eh-lamp-deep:    #A86A14;  /* Linie/Unterstreichung auf Hell (nur dekorativ, 3,9:1) */
  --eh-link-hover-light: #8A5410; /* Linktext hover auf Hell. 5,53:1 */

  /* ---- Farbe: Linien ---- */
  --eh-rule-light:   #B9B6AF;  /* Trennlinien auf Hell */
  --eh-rule-light-2: #D6D4CE;  /* Trennlinien in Karten */
  --eh-rule-strong:  #231F20;  /* Startlinie von Listen auf Hell */
  --eh-rule-night:   #4A4243;  /* Trennlinien auf Dunkel */
  --eh-rule-night-2: #3A3334;  /* Trennlinien im Footer */
  --eh-field-border-light: #8C8584; /* 3,2:1 */
  --eh-field-border-night: #857B7C; /* ≥ 3:1 auf night */

  /* ---- Farbe: Status ---- */
  --eh-error:        #B3261E;  /* auf Hell, 5,78:1 */
  --eh-error-night:  #FF9A8F;  /* auf Dunkel, 8,69:1 */
  --eh-success:      #2E6B3F;  /* auf Hell */
  --eh-success-night:#8FD19E;  /* auf Dunkel */

  /* ---- Typografie ---- */
  --eh-font: "Archivo", Arial, sans-serif;
  --eh-fs-body: 18px;      --eh-lh-body: 1.6;
  --eh-fs-lede: 20px;
  --eh-fs-small: 16px;
  --eh-fs-meta: 14px;
  --eh-fs-h1: clamp(34px, 5.2vw, 72px);   --eh-lh-h1: 1.05; --eh-wdth-h1: 118%;
  --eh-fs-h2: clamp(32px, 3.6vw, 48px);   --eh-lh-h2: 1.1;  --eh-wdth-h2: 115%;
  --eh-fs-h2-cta: clamp(36px, 4.4vw, 60px);                   /* nur Abschluss-CTA, wdth 118% */
  --eh-fs-h3: 26px;        --eh-wdth-h3: 112%;   /* Karten, Themenliste */
  --eh-fs-h3-step: 22px;                          /* Ablaufschritte, wdth 100% */
  --eh-fs-faq: 21px;
  --eh-fs-quote: 24px;     --eh-wdth-quote: 108%;
  --eh-fw-regular: 400; --eh-fw-medium: 500; --eh-fw-semibold: 600;

  /* ---- Layout ---- */
  --eh-container: 1200px;
  --eh-gutter: 40px;              /* ≤ 900px: 22px */
  --eh-section-y: 112px;          /* ≤ 900px: 72px */
  --eh-gap-xs: 12px; --eh-gap-s: 24px; --eh-gap-m: 32px; --eh-gap-l: 48px; --eh-gap-xl: 64px; --eh-gap-xxl: 72px;
  --eh-header-h: 92px;            /* ≤ 900px: 72px */

  /* ---- Form ---- */
  --eh-radius-s: 4px;   /* Platzhalter-Label */
  --eh-radius-m: 6px;   /* Button, Input, Bild */
  --eh-radius-l: 8px;   /* Abgrenzungsbox, Dropdown */
  --eh-radius-xl: 10px; /* Karten */
  --eh-shadow-1: 0 8px 24px rgba(20, 17, 18, .22); /* nur Dropdown und Mobile-Menü */

  /* ---- Signatur-Linie ---- */
  --eh-line-width: 1.5px;
  --eh-line-color-night: var(--eh-lamp);
  --eh-line-color-light: var(--eh-lamp-deep);

  /* ---- Fokus ---- */
  --eh-focus: 3px solid var(--eh-lamp);
  --eh-focus-offset: 3px;

  /* ---- Breakpoints (nur Doku, in Media Queries als Zahl) ----
     1100px: Header schaltet auf Mobile-Menü (nur Header)
     900px: Layout einspaltig, Gutter 22px, Header-Höhe 72px
     560px: Ablaufschritte einspaltig, Hero-Buttons vor Faktenliste */
}

@font-face{font-family:"Archivo";src:url("../media/global/fonts/archivo-var-latin-ext.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap}
body{font-family:var(--eh-font);font-size:var(--eh-fs-body);line-height:var(--eh-lh-body);color:var(--eh-ink);background:var(--eh-paper)}
button,input{font:inherit}
button{cursor:pointer}
a{color:inherit}
:where(a,button,input,textarea,select):focus-visible{outline:var(--eh-focus);outline-offset:var(--eh-focus-offset)}
:where(section[id],div[id]){scroll-margin-top:var(--eh-header-h)}
.eh-wrap{width:min(100%,var(--eh-container));margin-inline:auto;padding-inline:var(--eh-gutter)}
.eh-section{padding-block:var(--eh-section-y)}
.eh-section--night{background:var(--eh-night);color:var(--eh-on-night);--eh-text-secondary:var(--eh-on-night-2);--eh-link-underline:var(--eh-lamp);--eh-link-hover:var(--eh-lamp);--eh-line-color:var(--eh-line-color-night)}
.eh-section--paper{background:var(--eh-paper);color:var(--eh-ink);--eh-text-secondary:var(--eh-ink-muted);--eh-link-underline:var(--eh-lamp-deep);--eh-link-hover:var(--eh-link-hover-light);--eh-line-color:var(--eh-line-color-light)}
.eh-section--paper-2{background:var(--eh-paper-2);color:var(--eh-ink);--eh-text-secondary:var(--eh-ink-muted);--eh-link-underline:var(--eh-lamp-deep);--eh-link-hover:var(--eh-link-hover-light);--eh-line-color:var(--eh-line-color-light)}
.eh-section h1,.eh-section h2,.eh-section h3,.eh-section p{margin-top:0}
.eh-section h1{font-size:var(--eh-fs-h1);line-height:var(--eh-lh-h1);font-weight:var(--eh-fw-semibold);font-stretch:var(--eh-wdth-h1);letter-spacing:-.01em;margin-bottom:28px}
.eh-section h2{font-size:var(--eh-fs-h2);line-height:var(--eh-lh-h2);font-weight:var(--eh-fw-semibold);font-stretch:var(--eh-wdth-h2);margin-bottom:48px}
.eh-section h3{font-size:var(--eh-fs-h3);font-weight:var(--eh-fw-semibold);font-stretch:var(--eh-wdth-h3);line-height:1.2}
.eh-section p{max-width:46em;margin-bottom:20px}
.eh-section--night p{color:var(--eh-text-secondary)}
.eh-lede{font-size:var(--eh-fs-lede);line-height:1.6}
.eh-small{font-size:var(--eh-fs-small)}
.eh-meta{font-size:var(--eh-fs-meta);line-height:1.5}
.eh-muted{color:var(--eh-ink-muted)}
.eh-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center}
.eh-grid-split{display:grid;grid-template-columns:4fr 7fr;gap:var(--eh-gap-xxl)}
.eh-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:16px 28px;border:0;border-radius:var(--eh-radius-m);background:var(--eh-lamp);color:var(--eh-ink);font-weight:var(--eh-fw-semibold);line-height:1.2;text-align:center;text-decoration:none}
.eh-btn:hover{background:var(--eh-lamp-hover);color:var(--eh-ink)}
.eh-btn:active{background:var(--eh-lamp-active)}
.eh-btn:disabled{background:var(--eh-rule-light-2);color:var(--eh-ink-muted);cursor:not-allowed}
.eh-btn--small{padding:12px 20px;font-size:16px}
.eh-btn--outline{border:1.5px solid var(--eh-ink);background:transparent;color:var(--eh-ink);padding:13px 22px}
.eh-btn--outline:hover{background:var(--eh-ink);color:var(--eh-paper)}
.eh-section--night .eh-btn--outline{border-color:var(--eh-on-night);color:var(--eh-on-night)}
.eh-section--night .eh-btn--outline:hover{background:var(--eh-on-night);color:var(--eh-ink)}
.eh-textlink{font-weight:var(--eh-fw-semibold);text-decoration:underline;text-decoration-color:var(--eh-link-underline);text-underline-offset:5px}
.eh-textlink:hover{color:var(--eh-link-hover)}
.eh-section--paper a:not(.eh-btn):hover,.eh-section--paper-2 a:not(.eh-btn):hover{color:var(--eh-link-hover-light)}
.eh-section--night a:not(.eh-btn):hover{color:var(--eh-lamp)}
.eh-facts{margin:0}
.eh-facts dt,.eh-facts dd{margin:0}
.eh-facts--hero{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--eh-rule-night);max-width:560px}
.eh-facts--hero>div{padding:14px 0;border-bottom:1px solid var(--eh-rule-night)}
.eh-facts--hero>div:nth-child(even){padding-left:24px}
.eh-facts--hero dt{font-size:var(--eh-fs-meta);color:var(--eh-on-night-3)}
.eh-facts--hero dd{font-weight:var(--eh-fw-semibold)}
.eh-facts--card{border-top:1px solid var(--eh-rule-light-2);font-size:var(--eh-fs-small);margin-bottom:28px}
.eh-facts--card>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--eh-rule-light-2)}
.eh-facts--card dt{color:var(--eh-ink-muted)}
.eh-topics{list-style:none;margin:0 0 48px;padding:0;border-top:1px solid var(--eh-rule-strong)}
.eh-topics a{display:block;padding:22px 0;border-bottom:1px solid var(--eh-rule-light);text-decoration:none}
.eh-topics__name{display:block;font-size:var(--eh-fs-h3);font-weight:var(--eh-fw-semibold);font-stretch:var(--eh-wdth-h3);line-height:1.2}
.eh-topics__text{display:block;margin-top:4px;color:var(--eh-ink-muted)}
.eh-topics a:hover .eh-topics__name,.eh-topics a:focus-visible .eh-topics__name{text-decoration:underline;text-decoration-color:var(--eh-lamp-deep);text-underline-offset:6px}
.eh-note{border:1px solid var(--eh-ink);border-radius:var(--eh-radius-l);padding:28px 32px;background:var(--eh-paper)}
.eh-note h3{font-size:20px;font-stretch:100%;line-height:1.3;margin-bottom:10px}
.eh-note p{font-size:var(--eh-fs-small);line-height:1.6;margin:0}
.eh-steps{position:relative}
.eh-steps__line{position:absolute;left:0;top:4px;width:100%;height:60px}
.eh-steps ol{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--eh-gap-m);list-style:none;margin:0;padding:0}
.eh-steps__number{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border:1.5px solid var(--eh-lamp);border-radius:50%;background:var(--eh-night);color:var(--eh-lamp);font-weight:var(--eh-fw-semibold)}
.eh-steps h3{font-size:var(--eh-fs-h3-step);font-stretch:100%;line-height:1.3;margin:24px 0 10px}
.eh-steps p{font-size:17px;margin:0}
.eh-steps__foot{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:24px 64px;margin-top:64px;padding-top:32px;border-top:1px solid var(--eh-rule-night)}
.eh-steps__foot p{margin:0}
.eh-card{display:flex;flex-direction:column;padding:36px;border:1px solid var(--eh-rule-light);border-radius:var(--eh-radius-xl);background:var(--eh-paper-card)}
.eh-card h3{margin-bottom:12px}
.eh-card p{margin-bottom:24px}
.eh-card .eh-textlink{margin-top:auto}
.eh-cards{align-items:stretch;gap:var(--eh-gap-m)}
.eh-quote{margin:36px 0 32px}
.eh-quote .eh-sigline{width:160px;height:16px;margin-bottom:14px}
.eh-quote p{font-size:var(--eh-fs-quote);font-weight:var(--eh-fw-medium);font-stretch:var(--eh-wdth-quote);line-height:1.4;margin:0}
.eh-quote footer{font-size:15px;color:var(--eh-ink-muted);margin-top:10px}
.eh-figure{position:relative;margin:0}
.eh-figure__image{display:block;width:100%;height:auto;object-fit:cover;border-radius:var(--eh-radius-m)}
.eh-figure__image--portrait{aspect-ratio:4/5}
.eh-figure__image--room{aspect-ratio:4/3}
.eh-figure__image--book{aspect-ratio:3/2}
.eh-figure__image--video{aspect-ratio:16/9}
.eh-figure__label{position:absolute;top:12px;left:12px;padding:4px 10px;border-radius:var(--eh-radius-s);background:var(--eh-paper);color:var(--eh-ink);font-size:13px;font-weight:var(--eh-fw-semibold)}
.eh-sigline{display:block;color:var(--eh-line-color)}
.eh-sigline path{stroke:currentColor;stroke-width:var(--eh-line-width)}
.eh-acc{border-top:1px solid var(--eh-rule-strong)}
.eh-acc__item{border-bottom:1px solid var(--eh-rule-light)}
.eh-acc__item h3{margin:0}
.eh-acc__button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;border:0;background:transparent;color:inherit;font-size:var(--eh-fs-faq);font-weight:var(--eh-fw-semibold);line-height:1.4;text-align:left}
.eh-acc__plus{flex:none;display:inline-block;color:var(--eh-lamp-deep);font-size:28px;font-weight:var(--eh-fw-regular);line-height:1;transition:transform .2s}
.eh-acc__button[aria-expanded="true"] .eh-acc__plus{transform:rotate(45deg)}
.eh-acc__panel{display:grid;grid-template-rows:1fr;transition:grid-template-rows .2s}
.eh-acc__panel>div{min-height:0;overflow:hidden}
.eh-acc__panel p{max-width:40em;margin:0 0 24px}
.eh-js .eh-acc__item:not(.is-open)>.eh-acc__panel{grid-template-rows:0fr}
.eh-js .eh-acc__item:not(.is-open)>.eh-acc__panel>div{visibility:hidden}
.eh-form label{display:block;font-size:15px;font-weight:var(--eh-fw-medium)}
.eh-form :where(input,textarea,select){min-height:52px;border:1px solid var(--eh-field-border-light);border-radius:var(--eh-radius-m);padding:0 16px;background:var(--eh-paper-card);color:var(--eh-ink);font-size:17px}
.eh-form--night :where(input,textarea,select){border-color:var(--eh-field-border-night);background:var(--eh-night-field);color:var(--eh-on-night)}
.eh-form [aria-invalid="true"]{border:2px solid var(--eh-error)}
.eh-form--night [aria-invalid="true"]{border-color:var(--eh-error-night)}
.eh-form .eh-error{color:var(--eh-error);font-size:15px}
.eh-form--night .eh-error{color:var(--eh-error-night)}
.eh-form .eh-success{color:var(--eh-success);font-size:var(--eh-fs-small)}
.eh-form--night .eh-success{color:var(--eh-success-night)}
.eh-form button{min-height:52px}
.eh-cta-band{position:relative;overflow:hidden;text-align:center}
.eh-cta-band__line{position:absolute;top:0;left:0;width:100%;height:200px}
.eh-cta-band .eh-wrap{position:relative}
.eh-cta-band h2{font-size:var(--eh-fs-h2-cta);font-stretch:var(--eh-wdth-h1);line-height:1.05}
.eh-cta-band p{margin-inline:auto}
.eh-cta-band__contact{margin:24px auto 0}
@media(max-width:900px){:root{--eh-gutter:22px;--eh-section-y:72px;--eh-header-h:72px}.eh-grid-2,.eh-grid-split{grid-template-columns:1fr;gap:40px}.eh-steps ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.eh-facts--hero,.eh-steps ol{grid-template-columns:1fr}.eh-facts--hero>div:nth-child(even){padding-left:0}.eh-steps__line{display:none}.eh-card{padding:24px}.eh-facts--card>div{grid-template-columns:90px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.eh-acc__panel,.eh-acc__plus{transition:none!important}}

/* Hub-Blueprint (Turn 3) */
.eh-pagehead{padding-block:56px 80px}
.eh-pagehead .eh-wrap{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px}
.eh-pagehead .eh-wrap>div{min-width:0}
.eh-pagehead--plain .eh-wrap{grid-template-columns:minmax(0,1fr)}
.eh-pagehead--plain .eh-wrap>div{max-width:46em}
.eh-pagehead h1{margin-bottom:24px}
.eh-pagehead .eh-lede{margin-bottom:40px}
.eh-pagehead .eh-facts--hero{align-self:end}
.eh-pagehead .eh-meta{margin:16px 0 0;color:var(--eh-on-night-3)}
.eh-crumbs{margin-bottom:24px;font-size:var(--eh-fs-meta);line-height:1.5}
.eh-section--night .eh-crumbs{color:var(--eh-on-night-3)}
.eh-section--paper .eh-crumbs,.eh-section--paper-2 .eh-crumbs{color:var(--eh-ink-muted)}
.eh-crumbs ol{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.eh-crumbs li+li::before{content:"/" / "";margin-inline:8px}
.eh-crumbs a{text-decoration:underline;text-decoration-color:var(--eh-link-underline);text-underline-offset:5px;font-weight:var(--eh-fw-regular)}
.eh-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--eh-gap-m);align-items:stretch;list-style:none;margin:0;padding:0}
.eh-prose{max-width:38em}
.eh-prose>div+div{margin-top:40px}
.eh-prose h3{font-size:var(--eh-fs-h3-step);font-weight:var(--eh-fw-semibold);font-stretch:100%;line-height:1.3;margin:0 0 12px}
.eh-prose p{font-size:var(--eh-fs-body);max-width:38em;margin:0}
.eh-prose a{font-weight:var(--eh-fw-regular);text-decoration:underline;text-decoration-color:var(--eh-link-underline);text-underline-offset:5px}
.eh-prose+.eh-note{margin-top:48px}
.eh-linklist{list-style:none;margin:32px 0 0;padding:0}
.eh-linklist li+li{margin-top:12px}
.eh-topics:has(+ .eh-hub__note){margin-bottom:0}
.eh-section .eh-hub__note{font-size:var(--eh-fs-small);color:var(--eh-ink-muted);margin:32px 0 0}
.eh-hub__note+.eh-textlink{display:inline-block;margin-top:12px}
@media(max-width:900px){.eh-pagehead{padding-block:40px 56px}.eh-pagehead .eh-wrap{grid-template-columns:minmax(0,1fr);gap:40px}.eh-grid-3{grid-template-columns:minmax(0,1fr)}}

/* Formular hell + CF7 (Turn 4) */
.eh-form--light{display:flex;flex-direction:column;gap:24px}
.eh-form--light .eh-form__note{font-size:15px;color:var(--eh-ink-muted);margin:0}
.eh-field{display:flex;flex-direction:column;gap:8px}
.eh-field label,.eh-field legend{font-size:15px;font-weight:var(--eh-fw-medium);color:var(--eh-ink)}
.eh-form--light :is(input[type="text"],input[type="email"],input[type="tel"],select,textarea){display:block;width:100%;min-height:52px;border:1px solid var(--eh-field-border-light);border-radius:var(--eh-radius-m);padding:0 16px;background:var(--eh-paper-card);color:var(--eh-ink);font-size:17px}
.eh-form--light .eh-field textarea{min-height:160px;padding:14px 16px;resize:vertical}
.eh-form--light :is(input[type="text"],input[type="email"],input[type="tel"],select,textarea):focus-visible{outline:var(--eh-focus);outline-offset:var(--eh-focus-offset)}
.eh-field--choice{border:0;padding:0;margin:0}
.eh-field--choice .wpcf7-list-item{display:block;min-height:44px;margin-left:0}
.eh-field--choice .wpcf7-list-item label{display:flex;align-items:center;gap:12px;min-height:44px}
.eh-field--choice input[type="radio"],.eh-field--consent input[type="checkbox"]{flex:none;width:20px;height:20px;min-height:20px;padding:0;accent-color:var(--eh-lamp-deep)}
.eh-field--consent .wpcf7-list-item{margin-left:0}
.eh-field--consent .wpcf7-list-item label{display:flex;align-items:flex-start;gap:12px;font-size:var(--eh-fs-small);font-weight:var(--eh-fw-regular)}
.eh-field--consent a{font-weight:var(--eh-fw-regular);text-decoration:underline;text-decoration-color:var(--eh-lamp-deep);text-underline-offset:5px}
.wpcf7-form-control-wrap{display:block}
.eh-form--light .eh-field .wpcf7-not-valid{border:2px solid var(--eh-error)}
.wpcf7-not-valid-tip{display:block;margin-top:6px;color:var(--eh-error);font-size:15px}
.wpcf7-response-output{margin:24px 0 0;border:1px solid var(--eh-field-border-light);border-radius:var(--eh-radius-m);padding:16px 20px;font-size:var(--eh-fs-small)}
.wpcf7-form:is(.invalid,.failed,.spam,.aborted) .wpcf7-response-output{border-color:var(--eh-error);color:var(--eh-error)}
.wpcf7-form.sent .wpcf7-response-output{border-color:var(--eh-success);color:var(--eh-success)}
.wpcf7-form:is(.init,.resetting,.submitting) .wpcf7-response-output{display:none}
.wpcf7 .screen-reader-response{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.wpcf7-spinner{display:none}
.wpcf7-form.submitting [type="submit"]{opacity:.6;cursor:progress}
.eh-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
