/* =====================================================================
   ELBFINANZ DRESDEN - Design-System (Schwarz-Gold-Edel)
   Tokens + globale Regeln + wiederverwendbare Sektions-Komponenten.
   Hell-first, Gold = Akzent, Playfair Headlines, runde Buttons, Du.
   ===================================================================== */

:root {
	--ed-black:        #0d0d0d;
	--ed-black-hover:  #000000;
	--ed-gold:         #c69b3d;  /* Gold B - edler, weniger gelb (Wahl 22.06.) */
	--ed-gold-dark:    #a8822e;  /* tieferer Hover-/Tiefen-Ton zu Gold B */
	--ed-white:        #ffffff;
	--ed-bg-alt:       #f8f8f8;
	--ed-text:         #1a1a1a;
	--ed-text-muted:   #666666;
	--ed-border:       #e5e5e5;

	--ed-serif: 'Playfair Display', 'Lora', Georgia, serif;
	--ed-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;

	--ed-radius-pill: 100px;
	--ed-radius-card: 10px;
	--ed-maxw: 1180px;
	--ed-section-pad: 88px;
	--ed-shadow: 0 4px 24px rgba(13,13,13,0.08);
	--ed-shadow-hover: 0 10px 36px rgba(13,13,13,0.14);
}

/* ---------- Grundlagen ---------- */
body {
	font-family: var(--ed-sans);
	color: var(--ed-text);
	background: var(--ed-white);
	line-height: 1.65;
}

h1, h2, h3, h4, .ast-single-entry-title, .entry-title {
	font-family: var(--ed-serif);
	color: var(--ed-black);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.01em;
}

p { color: var(--ed-text); }
/* Links global ohne Unterstreichung (ganze Seite) */
a, a:hover, a:focus,
.entry-content a, .entry-content a:hover, .entry-content a:focus { text-decoration: none !important; }
a { color: var(--ed-black); }
a:hover, a:focus { color: var(--ed-gold-dark); }

.ed-wrap { max-width: var(--ed-maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons (global, rund) ---------- */
.ed-btn,
.wp-block-button__link,
.ast-button,
button.ed-btn {
	display: inline-block;
	font-family: var(--ed-sans);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	padding: 16px 38px;
	border-radius: var(--ed-radius-pill);
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ed-btn--primary {
	background: var(--ed-black);
	color: var(--ed-white);
}
.ed-btn--primary:hover {
	background: var(--ed-gold-dark);
	color: var(--ed-white);
	transform: translateY(-2px);
}
.ed-btn--gold {
	background: var(--ed-gold);
	color: var(--ed-black);
}
.ed-btn--gold:hover { background: var(--ed-gold-dark); color: var(--ed-white); transform: translateY(-2px); }
.ed-btn--ghost {
	background: transparent;
	color: var(--ed-black);
	border: 2px solid var(--ed-black);
	padding: 14px 36px;
}
.ed-btn--ghost:hover { background: var(--ed-black); color: var(--ed-white); }
/* Ghost auf dunklem Grund */
.ed-dark .ed-btn--ghost { color: var(--ed-white); border-color: var(--ed-gold); }
.ed-dark .ed-btn--ghost:hover { background: var(--ed-gold); color: var(--ed-black); }

/* ---------- Bausteine: Sektion allgemein ---------- */
.ed-section { padding: var(--ed-section-pad) 0; }
.ed-section--alt { background: var(--ed-bg-alt); }
.ed-dark { background: var(--ed-black); color: var(--ed-white); }
.ed-dark h1, .ed-dark h2, .ed-dark h3 { color: var(--ed-white); }
.ed-dark p { color: rgba(255,255,255,0.82); }

.ed-eyebrow {
	display: inline-block;
	font-family: var(--ed-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ed-gold);
	margin-bottom: 16px;
}
.ed-rule { width: 64px; height: 2px; background: var(--ed-gold); border: 0; margin: 18px 0; }
.ed-center { text-align: center; }
.ed-center .ed-rule { margin-left: auto; margin-right: auto; }
.ed-lead { font-size: 1.18rem; color: var(--ed-text-muted); max-width: 640px; }
.ed-center .ed-lead { margin-left: auto; margin-right: auto; }

/* ---------- HERO ---------- */
.ed-hero {
	background: var(--ed-black);
	color: var(--ed-white);
	overflow: hidden;
}
.ed-hero__inner {
	max-width: var(--ed-maxw);
	margin: 0 auto;
	padding: 96px 24px;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	column-gap: 56px;
	align-items: center;   /* Textblock (col1) vertikal mittig zum Foto (col2) */
}
.ed-hero__media--m { display: none; }   /* Mobile-Foto auf Desktop aus */
.ed-hero__eyebrow { color: var(--ed-gold); }
.ed-hero h1 { color: var(--ed-white); font-size: clamp(2.4rem, 5vw, 3.7rem); margin: 0 0 18px; }
.ed-hero p { color: rgba(255,255,255,0.82); font-size: 1.2rem; max-width: 520px; margin: 0 0 30px; }
.ed-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.ed-hero__media {
	position: relative;
	border-radius: var(--ed-radius-card);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	box-shadow: var(--ed-shadow-hover);
}
.ed-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-hero__media::after {
	content: "";
	position: absolute; inset: 0;
	box-shadow: inset 0 0 0 1px rgba(212,160,23,0.35);
	border-radius: var(--ed-radius-card);
	pointer-events: none;
}

/* ---------- TRUST-COUNTER ---------- */
.ed-trust__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	text-align: center;
}
.ed-trust__num {
	font-family: var(--ed-serif);
	font-size: clamp(2.6rem, 5vw, 3.6rem);
	font-weight: 700;
	color: var(--ed-black);
	line-height: 1;
}
.ed-dark .ed-trust__num { color: var(--ed-white); }
.ed-trust__bar { width: 28px; height: 2px; background: var(--ed-gold); margin: 12px auto; }
.ed-trust__label {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 1.4px;
	color: var(--ed-text-muted);
}
.ed-dark .ed-trust__label { color: rgba(255,255,255,0.7); }

/* ---------- CARDS (3-Spalten, mit Bild) ---------- */
.ed-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 44px;
}
.ed-card {
	background: var(--ed-white);
	border: 1px solid var(--ed-border);
	border-radius: var(--ed-radius-card);
	overflow: hidden;
	box-shadow: var(--ed-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
	display: flex;
	flex-direction: column;
}
.ed-card:hover { transform: translateY(-6px); box-shadow: var(--ed-shadow-hover); }
.ed-card__media { aspect-ratio: 16 / 10; background: linear-gradient(135deg,#2a2a2a,#0d0d0d); overflow: hidden; }
.ed-card__media--ph { display: flex; align-items: center; justify-content: center; }
.ed-card__media--ph span { color: rgba(255,255,255,0.4); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; }
.ed-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ed-card__icon { color: var(--ed-gold); font-size: 1.5rem; line-height: 1; }
.ed-card__icon svg { width: 36px; height: 36px; display: block; }
.ed-card h3 { font-size: 1.35rem; margin: 2px 0 4px; }
.ed-card p { color: var(--ed-text-muted); font-size: 0.98rem; margin: 0; }
.ed-card__link {
	margin-top: auto; padding-top: 14px;
	font-weight: 600; font-size: 0.92rem;
	color: var(--ed-black); text-decoration: none;
	border-top: 1px solid var(--ed-border);
}
.ed-card__link::after { content: " \2192"; color: var(--ed-gold); }
.ed-card__link:hover { color: var(--ed-gold-dark); }

/* ---------- IMAGE-BREAK (Zitat ueber dunklem Foto) ---------- */
.ed-break {
	position: relative;
	padding: 110px 24px;
	text-align: center;
	color: var(--ed-white);
	background-size: cover;
	background-position: center;
}
.ed-break::before {
	content: ""; position: absolute; inset: 0;
	background: rgba(13,13,13,0.72);
}
.ed-break__inner { position: relative; max-width: 760px; margin: 0 auto; }
.ed-break__quote {
	font-family: var(--ed-serif);
	font-style: italic;
	font-size: clamp(1.5rem, 3.2vw, 2.2rem);
	line-height: 1.35;
	color: var(--ed-white);
}

/* ---------- CTA (einladend-persoenlich) ---------- */
.ed-cta { text-align: center; }
.ed-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; }
.ed-cta p { color: var(--ed-text-muted); max-width: 540px; margin: 0 auto 26px; }

/* ---------- Leistungs-Liste (Beratungs-Overview) ---------- */
.ed-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.ed-service {
	display: block;
	padding: 26px 24px;
	background: var(--ed-white);
	border: 1px solid var(--ed-border);
	border-radius: var(--ed-radius-card);
	text-decoration: none;
	color: var(--ed-black);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ed-service:hover { border-color: var(--ed-gold); transform: translateY(-4px); box-shadow: var(--ed-shadow); }
.ed-service__title { font-family: var(--ed-serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.ed-service__desc { font-size: 0.92rem; color: var(--ed-text-muted); }

/* ---------- Section-Header ---------- */
.ed-head { max-width: 720px; }
.ed-center .ed-head { margin: 0 auto; }
.ed-head h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin: 0 0 8px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
	:root { --ed-section-pad: 60px; }
	.ed-hero__inner { display: block; padding: 56px 24px; }
	.ed-hero__media--d { display: none; }
	.ed-hero__media--m { display: block; aspect-ratio: 3 / 2; max-height: 440px; margin: 2px 0 26px; }
	.ed-cards, .ed-services { grid-template-columns: 1fr 1fr; }
	.ed-trust__grid { gap: 16px; }
}
@media (max-width: 600px) {
	.ed-cards, .ed-services, .ed-trust__grid { grid-template-columns: 1fr; }
	.ed-hero__cta { flex-direction: column; }
	.ed-hero__cta .ed-btn { width: 100%; text-align: center; }
}

/* =====================================================================
   GLOBALER RAHMEN - Full-Bleed, Header, Navigation, Footer
   ===================================================================== */

/* ---- Full-Bleed: Sektionen randlos, kein Container-Limit ---- */
.ast-page-builder-template .site-content #primary,
.ast-page-builder-template .entry-content { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
.entry-content > section { width: 100%; }
.entry-content > section:first-child { margin-top: 0; }
/* WP-Standardabstand der entry-content entfernen, damit Hero buendig unter Header sitzt */
.ast-page-builder-template .site-content { padding-top: 0; }

/* ---- Header-Wortmarke ---- */
.ed-brand { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; line-height: 1; }
.ed-brand__mark { height: 50px; width: auto; aspect-ratio: 1 / 1; display: block; flex: 0 0 auto; transform: translateY(1px); transition: height .25s ease; }
#masthead.ed-scrolled .ed-brand__mark { height: 42px; }
/* Logo-Lockup: Trennstrich zwischen Emblem und Wortmarke + Mikro-Descriptor */
.ed-brand__lockup { display: flex; flex-direction: column; gap: 5px; padding-left: 15px; border-left: 1px solid var(--ed-border); }
.ed-brand__text { font-family: var(--ed-serif); font-size: 1.55rem; font-weight: 700; color: var(--ed-black); letter-spacing: -0.01em; white-space: nowrap; }
.ed-brand__text em { color: var(--ed-gold); font-style: normal; }
.ed-brand__tag { font-family: var(--ed-sans); font-size: 0.6rem; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ed-text-muted); white-space: nowrap; }
.ed-brand:hover .ed-brand__text em { color: var(--ed-gold-dark); }
/* Favoriten-Wortmarke: elbfinanz (klein) + DRESDEN (Gold, gesperrt) */
.ed-brand__name { font-family: var(--ed-serif); font-size: 1.5rem; font-weight: 700; color: var(--ed-black); letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.ed-brand__sub { font-family: var(--ed-sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; color: var(--ed-gold); line-height: 1; white-space: nowrap; }
.ed-brand:hover .ed-brand__sub { color: var(--ed-gold-dark); }
/* doppelten Seitentitel neben der Wortmarke ausblenden */
.site-header .ast-site-title-wrap,
.site-header .site-title { display: none !important; }
.site-logo-img, .custom-logo-link { line-height: 1; }
@media (max-width: 600px) {
	.ed-brand__text { font-size: 1.3rem; }
	.ed-brand__name { font-size: 1.25rem; }
	.ed-brand__sub { font-size: 0.58rem; letter-spacing: 4px; }
	.ed-brand__tag { display: none; }
	.ed-brand__lockup { padding-left: 12px; gap: 3px; }
	.ed-brand__mark { height: 44px; }
}

/* ---- Werte-Cards ohne Bild (Icon-gefuehrt) ---- */
.ed-card--noimg .ed-card__body { padding-top: 34px; }
.ed-card--noimg .ed-card__icon { font-size: 2.1rem; margin-bottom: 10px; }

/* €-Zeichen in Trust-Zahl sauber in Sans rendern */
.ed-trust__num .ed-eur { font-family: var(--ed-sans); font-weight: 600; }

/* ---- Header ---- */
#masthead.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--ed-white);
	border-top: 3px solid var(--ed-gold);   /* feine Gold-Haarlinie = Premium-Akzent */
	border-bottom: 1px solid transparent;   /* graue Linie raus, nahtlos */
	transition: box-shadow .25s ease, padding .25s ease;
}
#masthead.ed-scrolled { box-shadow: 0 6px 24px rgba(13,13,13,0.08); }
.main-header-bar, .ast-primary-header-bar { background: transparent !important; border: 0 !important; }
.site-header .custom-logo,
.site-header .custom-logo-link img { max-height: 52px; width: auto; transition: max-height .25s ease; }
#masthead.ed-scrolled .custom-logo { max-height: 44px; }
.ast-site-identity { padding: 18px 0; }

/* Navigation */
.main-header-menu,
.ast-builder-menu .main-header-menu { font-family: var(--ed-sans); }
.main-navigation a,
.main-header-menu .menu-link {
	font-weight: 600;
	font-size: 0.9rem;       /* Variante a: dezent kleiner */
	color: var(--ed-black) !important;
	letter-spacing: .6px;    /* Variante a: mehr Laufweite = edler */
	position: relative;
}
.main-header-menu > .menu-item > .menu-link { padding-left: 18px; padding-right: 18px; }
/* Gold-Unterstrich beim Hover */
.main-header-menu > .menu-item > .menu-link::after {
	content: ""; position: absolute; left: 16px; right: 16px;
	top: 50%; margin-top: 0.72em;   /* dicht unter dem Text statt am Link-Boden */
	height: 2px; background: var(--ed-gold);
	transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.main-header-menu > .menu-item:hover > .menu-link::after,
.main-header-menu > .current-menu-item > .menu-link::after,
.main-header-menu > .current-menu-ancestor > .menu-link::after { transform: scaleX(1); }
.main-navigation a:hover,
.main-header-menu .menu-link:hover { color: var(--ed-gold-dark) !important; }

/* Dropdown / Sub-Menu */
.main-header-menu .sub-menu {
	background: var(--ed-white);
	border: 1px solid var(--ed-border);
	border-top: 2px solid var(--ed-gold);
	box-shadow: var(--ed-shadow);
	border-radius: 0 0 8px 8px;
	padding: 6px 0;
	min-width: 250px;
}
.main-header-menu .sub-menu .menu-link { padding: 11px 20px !important; font-weight: 500; font-size: 0.94rem; }
.main-header-menu .sub-menu .menu-link::after { display: none; }
.main-header-menu .sub-menu .menu-item:hover > .menu-link { background: var(--ed-bg-alt); color: var(--ed-gold-dark) !important; }

/* Header-CTA: letztes Menue-Item (Kontakt) als kompakte Pille - feste Hoehe,
   damit kein Riesenkreis durch volle Header-Hoehe + radius:100px entsteht. */
.main-header-menu > .menu-item:last-child { display: flex; align-items: center; }
.main-header-menu > .menu-item:last-child > .menu-link {
	background: var(--ed-black); color: var(--ed-white) !important;
	border-radius: var(--ed-radius-pill);
	height: 44px; padding: 0 26px !important;
	display: inline-flex; align-items: center;
	margin-left: 16px;
}
.main-header-menu > .menu-item:last-child > .menu-link::after { display: none; }

/* Dropdown-Caret robust inline (nicht JS-abhaengig), dezent + Gold beim Hover */
.main-header-menu .menu-item-has-children > .menu-link { display: inline-flex; align-items: center; }
.main-header-menu .ast-header-navigation-arrow {
	position: static !important;
	display: inline-flex !important; align-items: center;
	margin: 1px 0 0 6px !important;
	width: auto !important; height: auto !important;
	transform: none !important;
}
.main-header-menu .ast-header-navigation-arrow svg { width: 11px !important; height: 11px !important; }
.main-header-menu .menu-item-has-children:hover > .menu-link .ast-header-navigation-arrow { color: var(--ed-gold-dark); }
.main-header-menu > .menu-item:last-child:hover > .menu-link { background: var(--ed-gold-dark); color: var(--ed-white) !important; }

/* Scroll-to-Top: Ruhezustand Gold + schwarzer Pfeil, Hover Schwarz + goldener Pfeil */
#ast-scroll-top, .ast-scroll-top-icon {
	background: var(--ed-gold) !important;
	color: var(--ed-black) !important;
	border: 0 !important;
	border-radius: 50%;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
#ast-scroll-top:hover, #ast-scroll-top:focus {
	background: var(--ed-black) !important;
	color: var(--ed-gold) !important;
	border: 1px solid var(--ed-gold) !important;
}

/* Header beim Runterscrollen ausblenden, beim Hochscrollen wieder zeigen */
#masthead.site-header { transition: transform .32s ease, box-shadow .25s ease; will-change: transform; }
#masthead.ed-hide { transform: translateY(-100%); box-shadow: none; }

/* Mobile-Menue (Astra Toggle) */
.ast-mobile-menu-buttons-minimal .menu-toggle,
.menu-toggle { color: var(--ed-black); background: transparent; }
@media (max-width: 921px) {
	.main-header-menu, .ast-mobile-header-wrap .main-header-menu { background: var(--ed-white); }
	.main-header-menu .menu-link { color: var(--ed-black) !important; }
	.main-header-menu > .menu-item:last-child > .menu-link { display: inline-block; margin: 8px 20px; }
	.main-header-menu > .menu-item > .menu-link::after { display: none; }
	.ast-site-identity { padding: 10px 0; }
}

/* ---- Astra-Default-Footer aus, eigener Footer rein ---- */
.site-primary-footer-wrap,
.site-below-footer-wrap,
.ast-small-footer { display: none !important; }

.ed-foot { background: var(--ed-black); color: rgba(255,255,255,0.78); }
.ed-foot__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.5fr;
	gap: 56px;
	padding: 72px 24px 56px;
}
.ed-foot__logo { max-height: 64px; width: auto; margin-bottom: 18px; }
/* Footer-Marken-Lockup: Emblem + Wortmarke (weiss/gold) */
.ed-foot__brandlock { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.ed-foot__brandlock .ed-foot__logo { margin-bottom: 0; }
.ed-foot__wm { display: flex; flex-direction: column; gap: 3px; padding-left: 15px; border-left: 1px solid rgba(255,255,255,0.22); }
.ed-foot__wm-name { font-family: var(--ed-serif); font-weight: 700; font-size: 1.5rem; color: var(--ed-white); line-height: 1; white-space: nowrap; }
.ed-foot__wm-sub { font-family: var(--ed-sans); font-weight: 600; font-size: 0.62rem; letter-spacing: 5px; text-transform: uppercase; color: var(--ed-gold); line-height: 1; white-space: nowrap; }
.ed-foot__wordmark { font-family: var(--ed-serif); font-size: 1.5rem; color: var(--ed-white); display: block; margin-bottom: 14px; }
.ed-foot__wordmark em { color: var(--ed-gold); font-style: normal; }
.ed-foot__brand p { color: rgba(255,255,255,0.6); font-size: 0.95rem; max-width: 340px; }
.ed-foot__col h4 { color: var(--ed-white); font-family: var(--ed-sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 18px; }
.ed-foot__col ul { list-style: none; margin: 0; padding: 0; }
.ed-foot__col li { margin-bottom: 10px; font-size: 0.95rem; line-height: 1.5; }
.ed-foot__col a { color: rgba(255,255,255,0.72); text-decoration: none; transition: color .2s ease; }
.ed-foot__col a:hover { color: var(--ed-gold); }
/* Kontakt-Zeile in der Markenspalte */
.ed-foot__contact { margin-top: 16px; font-size: 0.95rem; line-height: 1.9; color: rgba(255,255,255,0.6); }
.ed-foot__contact a { color: rgba(255,255,255,0.72); }
.ed-foot__contact a:hover { color: var(--ed-gold); }

/* Newsletter-Spalte (dezent, integriert - WBI-Muster) */
.ed-foot__nl p { font-size: 0.92rem; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.ed-foot__nl-form input[type="text"],
.ed-foot__nl-form input[type="email"] {
	width: 100%; box-sizing: border-box;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 8px; padding: 12px 15px; margin-bottom: 10px;
	color: var(--ed-white); font-family: var(--ed-sans); font-size: 0.95rem;
	transition: border-color .2s ease, background .2s ease;
}
.ed-foot__nl-form input::placeholder { color: rgba(255,255,255,0.4); }
.ed-foot__nl-form input:focus { outline: none; border-color: var(--ed-gold); background: rgba(255,255,255,0.09); }
.ed-foot__nl-consent { display: flex; gap: 8px; font-size: 0.74rem; color: rgba(255,255,255,0.5); line-height: 1.45; margin: 4px 0 14px; }
.ed-foot__nl-consent input { margin-top: 2px; accent-color: var(--ed-gold); flex: 0 0 auto; }
.ed-foot__nl-consent a { color: rgba(255,255,255,0.72); }
.ed-foot__nl-consent a:hover { color: var(--ed-gold); }
.ed-foot__nl-btn { width: 100%; text-align: center; padding-left: 0; padding-right: 0; }
.ed-foot__nl-done { color: var(--ed-white); font-size: 0.95rem; margin: 0; }
.ed-foot__nl-done::before { content: "\2713 "; color: var(--ed-gold); font-weight: 700; }

/* untere Leiste */
.ed-foot__bar { border-top: 1px solid rgba(255,255,255,0.12); }
.ed-foot__barinner { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px; font-size: 0.8rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; }
.ed-foot__bar-links a { color: rgba(255,255,255,0.5); margin-left: 20px; }
.ed-foot__bar-links a:first-child { margin-left: 0; }
.ed-foot__bar-links a:hover { color: var(--ed-gold); }

@media (max-width: 860px) {
	.ed-foot__grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 40px; }
	.ed-foot__nl-form { max-width: 420px; }
	.ed-foot__barinner { flex-direction: column; gap: 10px; }
	.ed-foot__bar-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
	.ed-foot__bar-links a { margin-left: 0; margin-right: 0; }
}

/* =====================================================================
   FOOTER-UPGRADE (Newsletter-Band + Gold-Akzente)
   ===================================================================== */
.ed-foot { border-top: 3px solid var(--ed-gold); }   /* Klammer zum Header */

/* Newsletter als zentrierte, ruhige Closing-Section ueber dem Footer */
.ed-newsletter { background: #0d0d0d; border-top: 1px solid rgba(255,255,255,0.08); }
.ed-newsletter__inner { max-width: 600px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.ed-newsletter .ed-eyebrow { color: var(--ed-gold); }
.ed-newsletter h2 { color: var(--ed-white); font-family: var(--ed-serif); font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 14px; }
.ed-newsletter p { color: rgba(255,255,255,0.62); font-size: 1.05rem; line-height: 1.6; margin: 0 auto 32px; max-width: 480px; }
.ed-newsletter__form { max-width: 480px; margin: 0 auto; }
.ed-newsletter__row { display: flex; gap: 10px; }
.ed-newsletter__row input[type="email"] {
	flex: 1; min-width: 0;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: var(--ed-radius-pill);
	padding: 0 24px; height: 56px;
	color: var(--ed-white); font-family: var(--ed-sans); font-size: 1rem;
	transition: border-color .2s ease, background .2s ease;
}
.ed-newsletter__row input::placeholder { color: rgba(255,255,255,0.4); }
.ed-newsletter__row input:focus { outline: none; border-color: var(--ed-gold); background: rgba(255,255,255,0.09); }
.ed-newsletter__row .ed-btn { height: 56px; white-space: nowrap; }
.ed-newsletter__consent { display: flex; gap: 9px; margin-top: 14px; font-size: 0.76rem; color: rgba(255,255,255,0.45); line-height: 1.45; text-align: left; }
.ed-newsletter__consent input { margin-top: 3px; accent-color: var(--ed-gold); flex: 0 0 auto; }
.ed-newsletter__consent a { color: rgba(255,255,255,0.7); }
.ed-newsletter__consent a:hover { color: var(--ed-gold); }
.ed-newsletter__done { color: var(--ed-white); font-size: 1.05rem; margin: 0; }
.ed-newsletter__done::before { content: "\2713 "; color: var(--ed-gold); font-weight: 700; }

/* Social-Icons (Edelvariante: Kreis-Outline -> Gold beim Hover) */
.ed-foot__social { display: flex; gap: 12px; margin-top: 22px; }
.ed-social { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.72); transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.ed-social svg { width: 18px; height: 18px; }
.ed-social:hover { color: var(--ed-gold); border-color: var(--ed-gold); transform: translateY(-2px); }

/* Spalten-Ueberschriften mit dezentem Gold-Strich */
.ed-foot__col h4 { position: relative; padding-bottom: 12px; }
.ed-foot__col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--ed-gold); }

/* Emblem groesser fuer Praesenz */
.ed-foot__logo { max-height: 78px; }
.ed-foot__grid { padding-top: 58px; }

@media (max-width: 480px) {
	.ed-newsletter__inner { padding: 64px 22px; }
	.ed-newsletter__row { flex-direction: column; }
	.ed-newsletter__row .ed-btn { width: 100%; }
}

/* =====================================================================
   SEITEN-TÜV-PASS Startseite (Swipe, Testimonials, Doubt, Reveals, Count-up)
   ===================================================================== */

/* Hero Doubt-Remover (Risk-Reversal unter den CTAs) */
.ed-hero__doubt { margin-top: 18px; font-size: 0.84rem; letter-spacing: .4px; color: rgba(255,255,255,0.6); }

/* Trust Count-up: keine Layout-Verschiebung */
.ed-trust__num .ed-count { font-variant-numeric: tabular-nums; }

/* Leistungen mobil als Swipe-Karussell mit Peek + Pagination-Punkte */
.ed-swipe-dots { display: none; }
@media (max-width: 600px) {
	.ed-services {
		display: flex; grid-template-columns: none;
		overflow-x: auto; scroll-snap-type: x mandatory;
		gap: 14px; margin: 40px -24px 0; padding: 4px 24px 8px;
		-webkit-overflow-scrolling: touch; scrollbar-width: none;
	}
	.ed-services::-webkit-scrollbar { display: none; }
	.ed-service { flex: 0 0 84%; scroll-snap-align: center; }
	.ed-services + .ed-swipe-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
}
.ed-swipe-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ed-border); border: 0; padding: 0; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.ed-swipe-dot.is-active { background: var(--ed-gold); transform: scale(1.3); }

/* Testimonials */
.ed-tnote { font-size: 0.85rem; color: var(--ed-text-muted); font-style: italic; margin-top: 4px; }
.ed-tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; text-align: left; }
.ed-tcard { background: var(--ed-white); border: 1px solid var(--ed-border); border-radius: var(--ed-radius-card); box-shadow: var(--ed-shadow); padding: 26px 26px 24px; display: flex; flex-direction: column; }
.ed-tcard__mark { font-family: var(--ed-serif); font-size: 2.8rem; line-height: 1; color: var(--ed-gold); opacity: .5; margin-bottom: 8px; }
.ed-tcard__quote { font-family: var(--ed-serif); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: var(--ed-black); margin: 0 0 16px; padding: 0; border: 0; }
.ed-tcard__who { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--ed-border); }
.ed-tcard__ava { width: 44px; height: 44px; border-radius: 50%; background: var(--ed-black); color: var(--ed-gold); display: inline-flex; align-items: center; justify-content: center; font-family: var(--ed-serif); font-weight: 700; flex: 0 0 auto; }
.ed-tcard__name { font-size: 0.92rem; line-height: 1.35; }
.ed-tcard__name strong { color: var(--ed-black); }
.ed-tcard__name span { display: block; color: var(--ed-text-muted); font-size: 0.8rem; }
@media (max-width: 900px) { .ed-tgrid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
@media (max-width: 600px) {
	.ed-tgrid {
		display: flex; grid-template-columns: none;
		overflow-x: auto; scroll-snap-type: x mandatory;
		gap: 14px; margin: 44px -24px 0; padding: 4px 24px 8px;
		max-width: none; -webkit-overflow-scrolling: touch; scrollbar-width: none;
	}
	.ed-tgrid::-webkit-scrollbar { display: none; }
	.ed-tcard { flex: 0 0 86%; scroll-snap-align: center; }
	.ed-tgrid + .ed-swipe-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
}

/* ---- Premium-Politur (22.06.) ---- */

/* =====================================================================
   MOBILE-DRAWER — FellowShip-Stil in Elbfinanz-Farben (01.07.2026, rev2)
   Elbfinanz nutzt Astras Mobil-DROPDOWN (.ast-mobile-header-content),
   das beim Öffnen (.ast-main-header-nav-open) sichtbar wird. Wir machen es
   zum dunklen Vollbild-Drawer: schwarzer Grund, grosse Playfair-Links weiss
   mit Gold-Hairline, Gold-Burger, helles Logo, "Kontakt" als Gold-CTA,
   Beratung + 11 Leistungen als eingerücktes Akkordeon (Astra-Toggle bleibt).
   ===================================================================== */
/* Offener Zustand: Menü-Content dunkel + vollflaechig */
.ast-main-header-nav-open .ast-mobile-header-content {
	background: var(--ed-black) !important;
	min-height: calc(100vh - 62px);
	padding: 10px 30px 46px !important;
}
.ast-main-header-nav-open .ast-mobile-header-content .main-header-menu,
.ast-main-header-nav-open .ast-mobile-header-content #ast-hf-mobile-menu,
.ast-main-header-nav-open .ast-mobile-header-content .main-navigation,
.ast-main-header-nav-open .ast-mobile-header-content .ast-builder-menu { background: transparent !important; }

/* Header-Leiste dunkel, solange das Menü offen ist */
.ast-main-header-nav-open #masthead,
.ast-main-header-nav-open #masthead .ast-mobile-header-wrap,
.ast-main-header-nav-open #masthead .main-header-bar,
.ast-main-header-nav-open #masthead .ast-primary-header-bar { background: var(--ed-black) !important; }

/* Logo hell (E weiss) + Wortmarke weiss, solange offen */
.ast-main-header-nav-open .ed-brand__mark text tspan:first-child { fill: #ffffff !important; }
.ast-main-header-nav-open .ed-brand__name,
.ast-main-header-nav-open .ed-brand__text { color: #ffffff !important; }
.ast-main-header-nav-open .ed-brand__sub { color: var(--ed-gold) !important; }
/* Logo im offenen Menü groesser + etwas tiefer = klare, gut klickbare Startseiten-Marke (FS-Look) */
.ast-main-header-nav-open .ed-brand { padding-top: 10px !important; align-items: center; }
.ast-main-header-nav-open .ed-brand__mark { height: 58px !important; }
.ast-main-header-nav-open .ed-brand__name { font-size: 1.62rem !important; }
.ast-main-header-nav-open .ed-brand__sub { font-size: 0.66rem !important; letter-spacing: 5px !important; }

/* Burger + Close-Icon gold (FS-Look) */
.menu-toggle, .main-header-menu-toggle, .ast-mobile-menu-trigger-minimal { color: var(--ed-gold) !important; background: transparent !important; }
.menu-toggle svg, .menu-toggle .ast-icon svg, .mobile-menu-toggle-icon svg,
.ast-mobile-svg, .ast-header-navigation-arrow svg { fill: var(--ed-gold) !important; color: var(--ed-gold) !important; }

/* Menü-Hauptlinks: gross, Playfair, weiss, Gold-Hairline unten (etwas kompakter) */
.ast-main-header-nav-open .ast-mobile-header-content #ast-hf-mobile-menu > .menu-item > .menu-link {
	color: #ffffff !important;
	font-family: var(--ed-serif) !important;
	font-size: 1.58rem !important;
	font-weight: 600;
	line-height: 1.3 !important;
	padding: 18px 0 !important;
	background: linear-gradient(90deg, rgba(198,155,61,0.5), rgba(198,155,61,0.09) 55%, transparent) bottom/100% 1px no-repeat !important;
}
.ast-main-header-nav-open .ast-mobile-header-content .menu-link:hover,
.ast-main-header-nav-open .ast-mobile-header-content .menu-item:hover > .menu-link { color: var(--ed-gold) !important; }

/* Untermenü (Beratung + 11 Leistungen): Sans, eingerückt, dezent, Gold-Kante, KOMPAKT (alle ohne Scroll sichtbar) */
.ast-main-header-nav-open .ast-mobile-header-content .sub-menu { background: transparent !important; padding-top: 2px !important; }
.ast-main-header-nav-open .ast-mobile-header-content .sub-menu .menu-link {
	font-family: var(--ed-sans) !important;
	font-size: 1rem !important;
	font-weight: 500;
	line-height: 1.35 !important;
	color: rgba(255,255,255,0.82) !important;
	padding: 9px 0 9px 20px !important;
	margin-left: 2px;
	background: none !important;
	border-left: 1px solid rgba(198,155,61,0.30);
}
.ast-main-header-nav-open .ast-mobile-header-content .sub-menu .menu-link:hover { color: var(--ed-gold) !important; border-left-color: var(--ed-gold); }

/* Pfeile: den Indikator IM Link (span) ausblenden -> nur der separate Toggle-Button (v) bleibt */
.ast-main-header-nav-open .ast-mobile-header-content .menu-link .ast-header-navigation-arrow,
.ast-main-header-nav-open .ast-mobile-header-content .menu-link .dropdown-menu-toggle { display: none !important; }
/* Aufklapp-Toggle (v) direkt neben "Beratung" ruecken + vertikal auf Textmitte */
.ast-main-header-nav-open .ast-mobile-header-content .menu-item-has-children { position: relative; }
.ast-main-header-nav-open .ast-mobile-header-content .ast-menu-toggle {
	position: absolute !important;
	left: 120px !important;
	right: auto !important;
	top: 15px !important;
	height: 34px !important;
	width: 40px !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: var(--ed-gold) !important;
}
.ast-main-header-nav-open .ast-mobile-header-content .ast-menu-toggle svg { fill: var(--ed-gold) !important; }

/* "Kontakt" (letzter Punkt): kompakte Gold-CTA-Pille, linksbuendig, Text zentriert (FS-Look) */
.ast-main-header-nav-open .ast-mobile-header-content #ast-hf-mobile-menu > .menu-item:last-child {
	margin-top: 24px;
	display: block !important;
	text-align: left !important;
	background: none !important;
}
.ast-main-header-nav-open .ast-mobile-header-content #ast-hf-mobile-menu > .menu-item:last-child > .menu-link {
	display: inline-block !important;
	width: auto !important;
	text-align: center !important;
	background: var(--ed-gold) !important;
	color: var(--ed-black) !important;
	font-family: var(--ed-sans) !important;
	font-size: 1rem !important;
	font-weight: 700;
	padding: 15px 42px !important;
	line-height: 1 !important;
	border-radius: var(--ed-radius-pill);
}
.ast-main-header-nav-open .ast-mobile-header-content #ast-hf-mobile-menu > .menu-item:last-child > .menu-link:hover { background: var(--ed-gold-dark) !important; color: #ffffff !important; }

/* Counter: Glaubwuerdigkeits-Subzeile */
.ed-trust__sub { font-size: 0.74rem; color: var(--ed-text-muted); margin-top: 5px; letter-spacing: .2px; }
.ed-dark .ed-trust__sub { color: rgba(255,255,255,0.5); }

/* Leistungen: Line-Icons + Baufi-Flagship */
.ed-service { position: relative; }
.ed-service__icon { display: inline-flex; width: 30px; height: 30px; color: var(--ed-gold); margin-bottom: 14px; }
.ed-service__icon svg { width: 100%; height: 100%; }
.ed-service--flagship { border-color: var(--ed-gold); box-shadow: 0 8px 28px rgba(198,155,61,0.14); }
.ed-service__badge { position: absolute; top: 16px; right: 16px; font-size: 0.62rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; color: var(--ed-black); background: var(--ed-gold); padding: 3px 10px; border-radius: 100px; }

/* Hero: dezenter Tiefen-Verlauf statt Flat-Schwarz */
.ed-hero { background: linear-gradient(155deg, #181818 0%, var(--ed-black) 58%); }

/* Hero Trust-Badges (statt angeklatschter Textzeile) */
.ed-hero__doubt { display: none; }
.ed-hero__badges { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; }
.ed-hero__badge { display: inline-flex; align-items: center; gap: 9px; font-size: 0.82rem; letter-spacing: .4px; color: rgba(255,255,255,0.78); }
.ed-hero__badge::before {
	content: ""; width: 19px; height: 19px; flex: 0 0 auto; border-radius: 50%;
	background: rgba(212,160,23,0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c69b3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}

/* Leistungen: "Alle ansehen" */
.ed-services__more { margin-top: 38px; }

/* Partner: mehr Tiefe + Glow auf der starken Zahl */
.ed-partner { background: radial-gradient(120% 130% at 50% 0%, #1c1c1c 0%, var(--ed-black) 62%); }
.ed-partner__many .ed-partner__big { text-shadow: 0 0 44px rgba(212,160,23,0.28); }
.ed-partner__big { font-size: clamp(3.4rem, 10vw, 6rem); }
@media (max-width: 600px) {
	.ed-partner__x { margin: 6px 0; }
	.ed-partner__lbl { font-size: 0.74rem; }
}

/* So arbeite ich (Steps) + Verbindungslinie + Abschluss-CTA */
.ed-steps__cta { margin-top: 42px; }
.ed-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; position: relative; }
@media (min-width: 761px) { .ed-steps::before { content: ""; position: absolute; top: 28px; left: 16.66%; right: 16.66%; height: 2px; background: linear-gradient(90deg, transparent, var(--ed-border) 18%, var(--ed-border) 82%, transparent); z-index: 0; } }
.ed-step { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.ed-step__num { width: 56px; height: 56px; border-radius: 50%; background: var(--ed-black); color: var(--ed-gold); font-family: var(--ed-serif); font-size: 1.55rem; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 0 0 8px var(--ed-white); transition: box-shadow .3s ease, transform .3s ease; }
.ed-step:hover .ed-step__num { box-shadow: 0 0 0 8px var(--ed-white), 0 0 26px 2px rgba(198,155,61,0.55); transform: translateY(-3px); }
.ed-step h3 { font-size: 1.3rem; margin: 0 0 8px; }
.ed-step p { color: var(--ed-text-muted); font-size: 0.98rem; max-width: 300px; margin: 0 auto; }
@media (max-width: 760px) { .ed-steps { grid-template-columns: 1fr; gap: 36px; } }

/* Partner / Bank-Kontrast (1 statt 500+) */
.ed-partner__vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(24px, 6vw, 56px); margin: 26px 0 30px; }
.ed-partner__big { font-family: var(--ed-serif); font-size: clamp(3rem, 9vw, 5.2rem); font-weight: 700; line-height: 1; display: block; }
.ed-partner__one .ed-partner__big { color: rgba(255,255,255,0.38); }
.ed-partner__many .ed-partner__big { color: var(--ed-gold); }
.ed-partner__lbl { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.6px; color: rgba(255,255,255,0.6); margin-top: 10px; }
.ed-partner__x { font-family: var(--ed-sans); font-size: 0.95rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 2px; }
.ed-partner__rule { margin: 30px auto 26px; }
.ed-partner__title { font-family: var(--ed-serif); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.25; letter-spacing: -0.01em; margin: 0 auto 18px; max-width: 680px; color: var(--ed-white); }
.ed-partner__title em { color: var(--ed-gold); font-style: normal; }
.ed-partner__lead { color: rgba(255,255,255,0.66); font-size: 1.08rem; line-height: 1.65; max-width: 600px; margin: 0 auto; }
/* Mobile: Partner-VS gestapelt (nach der Desktop-Grid-Basis, damit es gewinnt) */
@media (max-width: 600px) { .ed-partner__vs { grid-template-columns: 1fr; gap: 10px; } }

/* Partner-Logo-Band (Endlos-Marquee, weisse Silhouetten) */
.ed-partner__marquee { overflow: hidden; margin: 34px auto 14px; max-width: 1120px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
	        mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.ed-partner__track { display: flex; width: max-content; animation: ed-marquee 52s linear infinite; }
.ed-partner__marquee:hover .ed-partner__track { animation-play-state: paused; }
.ed-partner__group { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.ed-partner__logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 0 40px; }
.ed-partner__logo img { height: 32px; width: auto; max-width: 168px; object-fit: contain;
	opacity: 0.58; transition: opacity .3s ease, transform .3s ease; }
.ed-partner__logo img:hover { opacity: 1; transform: translateY(-2px); }
.ed-partner .ed-partner__note { color: rgba(255,255,255,0.26); font-size: 0.62rem; letter-spacing: 0.3px; line-height: 1.5; max-width: 560px; margin: 4px auto 0; text-align: center; }
/* Schlanke Band-Variante (z. B. Ueber-mich unter dem Counter) */
.ed-partner--band { padding-top: clamp(34px, 5vw, 54px); padding-bottom: clamp(34px, 5vw, 54px); }
.ed-partner--band .ed-partner__marquee { margin-top: 22px; margin-bottom: 0; }
.ed-partner .ed-logobar__head { font-family: var(--ed-sans); font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.6px; color: rgba(255,255,255,0.58); margin: 0 auto 2px; text-align: center; }
@keyframes ed-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ed-partner__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.ed-partner__group:last-child { display: none; }
	.ed-partner__logo img { opacity: 0.7; }
}
@media (max-width: 600px) {
	.ed-partner__logo { padding: 0 26px; }
	.ed-partner__logo img { height: 26px; max-width: 132px; opacity: 0.66; }
}

/* FAQ */
.ed-faq { max-width: 760px; margin: 44px auto 0; }
.ed-faq__item { border-bottom: 1px solid var(--ed-border); }
.ed-faq__item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--ed-serif); font-size: 1.15rem; font-weight: 700; color: var(--ed-black); position: relative; }
.ed-faq__item summary::-webkit-details-marker { display: none; }
.ed-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; line-height: 1; color: var(--ed-gold); transition: transform .2s ease; }
.ed-faq__item[open] summary::after { content: "\2212"; }
.ed-faq__a { padding: 0 0 22px; color: var(--ed-text-muted); font-size: 1rem; line-height: 1.6; max-width: 680px; }

/* Scroll-Reveals (nur wenn JS + keine reduced-motion) */
.ed-anim-ready .ed-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(0.23,1,0.32,1), transform .6s cubic-bezier(0.23,1,0.32,1); }
.ed-anim-ready .ed-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ed-anim-ready .ed-reveal { opacity: 1; transform: none; transition: none; } }

/* =====================================================================
   TYPOGRAFIE-SKALA (Feinschliff)
   ===================================================================== */
body { font-size: 17px; }
.entry-content p { font-size: 1.05rem; }
.ed-section .ed-wrap > p { max-width: 680px; }
.ed-center .ed-wrap > p { margin-left: auto; margin-right: auto; }
h1 { letter-spacing: -0.02em; }
@media (max-width: 600px) { body { font-size: 16px; } }

/* =====================================================================
   ZULASSUNG / QUALIFIKATION (ed_credentials) - Über-mich
   ===================================================================== */
.ed-creds__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 12px auto 0; }
.ed-creds__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 24px 16px; background: var(--ed-white); border: 1px solid var(--ed-border); border-radius: var(--ed-radius-card); box-shadow: var(--ed-shadow); }
.ed-creds__ico { display: inline-flex; width: 40px; height: 40px; color: var(--ed-gold); }
.ed-creds__ico svg { width: 100%; height: 100%; }
.ed-creds__t { font-family: var(--ed-serif); font-weight: 700; font-size: 1.05rem; line-height: 1.25; color: var(--ed-black); }
.ed-creds__s { font-size: 0.83rem; line-height: 1.45; color: var(--ed-text-muted); }
.ed-creds__note { margin: 26px auto 0; max-width: 680px; font-size: 0.85rem; color: var(--ed-text-muted); }
@media (max-width: 860px) { .ed-creds__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 440px) { .ed-creds__grid { grid-template-columns: 1fr; } }

/* Sicherheit: Sektions-Überschrift auf dunklem Grund weiß */
.ed-dark .ed-head h2 { color: var(--ed-white); }

/* =====================================================================
   ZEITSTRAHL (ed_timeline / ed_milestone) - Mein Weg
   ===================================================================== */
.ed-timeline { max-width: 760px; margin: 46px auto 0; padding: 0 8px; position: relative; text-align: left; }
.ed-timeline::before { content: ""; position: absolute; left: 28px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--ed-gold) 0%, rgba(198,155,61,0.15) 100%); }
.ed-timeline-item { position: relative; padding-left: 74px; padding-bottom: 40px; }
.ed-timeline-item:last-child { padding-bottom: 0; }
.ed-timeline-dot { position: absolute; left: 18px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--ed-black); border: 3px solid var(--ed-gold); box-shadow: 0 0 0 4px rgba(198,155,61,0.15); }
.ed-timeline-item:first-child .ed-timeline-dot,
.ed-timeline-item:last-child .ed-timeline-dot { background: var(--ed-gold); box-shadow: 0 0 0 6px rgba(198,155,61,0.22); }
.ed-timeline-year { font-family: var(--ed-serif); font-size: 1.6rem; font-weight: 700; color: var(--ed-gold); line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.ed-timeline-h { font-family: var(--ed-serif); font-size: 1.12rem; font-weight: 700; color: var(--ed-white); margin: 0 0 8px; }
.ed-timeline-text { font-size: 0.95rem; color: rgba(255,255,255,0.72); line-height: 1.65; margin: 0; }
@media (max-width: 560px) { .ed-timeline::before { left: 20px; } .ed-timeline-item { padding-left: 56px; } .ed-timeline-dot { left: 10px; } }

/* Pull-Quote (Anjas Credo im Antriebs-Text) */
.ed-pullquote { margin: 30px 0 4px; padding: 6px 0 6px 26px; border-left: 3px solid var(--ed-gold); font-family: var(--ed-serif); font-style: italic; font-size: clamp(1.3rem, 2.5vw, 1.65rem); line-height: 1.42; color: var(--ed-black); max-width: 680px; }
.ed-pullquote p { margin: 0; }

/* Prozess-Schritt-Karten (ed_process): Foto + Gold-Schrittnummer */
.ed-pcard .ed-card__media { position: relative; }
.ed-card__step { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--ed-gold); color: var(--ed-black); font-family: var(--ed-serif); font-weight: 700; font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.28); z-index: 2; }

/* Hero ohne Bild: leere Media-Box ausblenden, einspaltig (z. B. Termin) */
.ed-hero:not(.ed-hero--has-img) .ed-hero__media { display: none; }
.ed-hero:not(.ed-hero--has-img) .ed-hero__inner { grid-template-columns: 1fr; }

/* =====================================================================
   KONTAKT-KARTEN (ed_contact) + KONTAKTFORMULAR (ed_form)
   ===================================================================== */
.ed-contactgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; margin: 44px auto 0; }
.ed-contactcard { background: var(--ed-white); border: 1px solid var(--ed-border); border-radius: var(--ed-radius-card); box-shadow: var(--ed-shadow); padding: 30px 22px; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.ed-contactcard:hover { transform: translateY(-5px); box-shadow: var(--ed-shadow-hover); }
.ed-contactcard__ico { display: inline-flex; width: 40px; height: 40px; color: var(--ed-gold); margin-bottom: 12px; }
.ed-contactcard__ico svg { width: 40px; height: 40px; }
.ed-contactcard__t { font-family: var(--ed-serif); font-weight: 700; font-size: 1.18rem; color: var(--ed-black); margin-bottom: 5px; }
.ed-contactcard__val { display: block; color: var(--ed-gold-dark); font-weight: 600; font-size: 1rem; word-break: break-word; }
a.ed-contactcard__val:hover { color: var(--ed-black); }
.ed-contactcard__sub { font-size: 0.82rem; color: var(--ed-text-muted); margin-top: 7px; }
.ed-contact__note { text-align: center; max-width: 660px; margin: 28px auto 0; font-size: 0.88rem; color: var(--ed-text-muted); line-height: 1.6; }
@media (max-width: 760px) { .ed-contactgrid { grid-template-columns: 1fr; max-width: 420px; } }

.ed-form__wrap { max-width: 640px; margin: 30px auto 0; }
.ed-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.ed-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ed-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--ed-black); font-weight: 600; }
.ed-form label span { color: var(--ed-text-muted); font-weight: 400; }
.ed-form input, .ed-form textarea { font-family: var(--ed-sans); font-size: 1rem; padding: 13px 15px; border: 1px solid var(--ed-border); border-radius: 12px; background: var(--ed-white); color: var(--ed-black); width: 100%; }
.ed-form input:focus, .ed-form textarea:focus { outline: none; border-color: var(--ed-gold); box-shadow: 0 0 0 3px rgba(198,155,61,0.14); }
.ed-form textarea { resize: vertical; min-height: 120px; }
.ed-form__consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 0.84rem; color: var(--ed-text-muted); }
.ed-form__consent input { width: auto; margin-top: 3px; accent-color: var(--ed-gold); flex: 0 0 auto; }
.ed-form__consent a { color: var(--ed-gold-dark); text-decoration: underline; }
.ed-form .ed-btn { align-self: flex-start; margin-top: 4px; border: 0; cursor: pointer; }
.ed-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ed-form__notice { max-width: 640px; margin: 0 auto 8px; padding: 14px 18px; border-radius: 12px; font-size: 0.95rem; text-align: center; }
.ed-form__notice--ok { background: rgba(198,155,61,0.12); border: 1px solid var(--ed-gold); color: var(--ed-gold-dark); }
.ed-form__notice--err { background: #fdecec; border: 1px solid #e3a9a9; color: #b3403f; }
@media (max-width: 560px) { .ed-form__row { grid-template-columns: 1fr; } }
/* Kontaktformular: Kopf linksbündig auf die Formular-Kante (gleiche 640px-Breite, gleiche Mitte) */
#kontaktformular .ed-head { max-width: 640px; margin: 0 auto; text-align: left; }
#kontaktformular .ed-lead { margin-left: 0; }

/* Calendly Consent-Gate + Inline-Widget */
.ed-cal { max-width: 760px; margin: 30px auto 0; }
.ed-cal__gate { background: #fff; border: 1px solid var(--ed-border); border-radius: 18px; padding: clamp(28px,5vw,46px) 26px; text-align: center; box-shadow: 0 12px 44px rgba(13,13,13,0.07); }
.ed-cal__badge { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: rgba(198,155,61,0.12); display: flex; align-items: center; justify-content: center; color: var(--ed-gold); }
.ed-cal__badge svg { width: 28px; height: 28px; }
.ed-cal__h { font-family: var(--ed-serif); font-size: 1.45rem; font-weight: 700; margin: 0 0 12px; color: var(--ed-black); }
.ed-cal__intro { color: var(--ed-text-muted); font-size: 1rem; line-height: 1.65; max-width: 540px; margin: 0 auto 24px; }
.ed-cal__intro a, .ed-cal__hint a { color: var(--ed-gold-dark); text-decoration: underline; }
.ed-cal__hint { color: var(--ed-text-muted); font-size: 0.84rem; line-height: 1.55; max-width: 460px; margin: 18px auto 0; }
.ed-cal__frame { margin-top: 6px; }
.calendly-inline-widget { border-radius: 14px; overflow: hidden; }

/* "Bereich in Arbeit" + Newsletter-Voranmeldung */
.ed-wip__card { position: relative; max-width: 660px; margin: 0 auto; background: #fff; border: 1px solid var(--ed-border); border-radius: 18px; padding: clamp(30px,5vw,50px) clamp(22px,4vw,40px); box-shadow: 0 12px 44px rgba(13,13,13,.06); }
.ed-wip__badge { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: rgba(198,155,61,.12); display: flex; align-items: center; justify-content: center; color: var(--ed-gold); }
.ed-wip__badge svg { width: 28px; height: 28px; }
.ed-wip__h { font-family: var(--ed-serif); font-size: clamp(1.5rem,3vw,2rem); margin: 6px 0 14px; color: var(--ed-black); }
.ed-wip__intro { color: var(--ed-text-muted); font-size: 1.05rem; line-height: 1.65; max-width: 520px; margin: 0 auto 18px; }
.ed-wip__invite { color: var(--ed-black); font-size: 1rem; line-height: 1.6; max-width: 520px; margin: 0 auto 20px; }
.ed-wip__form { max-width: 480px; margin: 0 auto; }
.ed-wip__row { display: flex; gap: 10px; }
.ed-wip__row input[type=email] { flex: 1; font-family: var(--ed-sans); font-size: 1rem; padding: 13px 15px; border: 1px solid var(--ed-border); border-radius: 12px; background: #fff; color: var(--ed-black); }
.ed-wip__row input[type=email]:focus { outline: none; border-color: var(--ed-gold); box-shadow: 0 0 0 3px rgba(198,155,61,.14); }
.ed-wip__form .ed-btn { border: 0; cursor: pointer; white-space: nowrap; }
.ed-wip__consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; text-align: left; font-size: .84rem; color: var(--ed-text-muted); line-height: 1.5; }
.ed-wip__consent input { margin-top: 3px; accent-color: var(--ed-gold); width: 16px; height: 16px; flex-shrink: 0; }
.ed-wip__consent a { color: var(--ed-gold-dark); text-decoration: underline; }
.ed-wip__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ed-wip__alt { color: var(--ed-text-muted); font-size: .9rem; margin: 20px auto 0; }
.ed-wip__alt a { color: var(--ed-gold-dark); }
.ed-wip__done { color: var(--ed-black); font-size: 1.05rem; font-weight: 600; background: rgba(198,155,61,.1); border-radius: 12px; padding: 16px 20px; max-width: 480px; margin: 0 auto 6px; }
.ed-wip__err { color: #a3341f; font-size: .95rem; margin: 0 auto 14px; max-width: 480px; }
@media (max-width: 560px) { .ed-wip__row { flex-direction: column; } }

/* =====================================================================
   ÜBER MICH (page-id-6) — mobile Bild-Feinjustierung (01.07.2026)
   ===================================================================== */
/* Hero-Porträt (Hochformat in flacher Mobile-Box): Kopf zeigen statt Bildmitte */
.page-id-6 .ed-hero__media--m img { object-position: 50% 25% !important; }
/* Kontakt (page-id-9) — Hero: Motiv tiefer (Stirn klebte oben an der Kante) */
.page-id-9 .ed-hero__media--m img { object-position: 50% 30% !important; }

/* Newsletter-Übergang (11.11.2026): Anmeldung gesperrt, bis das Newsletter-Tool steht (Schalter ED_NL_AKTIV). */
.ed-nl--bald input[disabled] { opacity: .55; cursor: not-allowed; font-size: 16px; }
.ed-nl--bald .ed-btn[disabled],
.ed-nl--bald .ed-btn[disabled]:hover,
.ed-nl--bald .ed-btn[disabled]:focus { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; filter: none; }
.ed-nl__bald-hinweis { font-size: .9rem; margin: 10px 0 0; }
.ed-foot__nl .ed-nl__bald-hinweis { color: rgba(255,255,255,0.72); }
.ed-wip .ed-nl__bald-hinweis { color: var(--ed-text-muted); }
.ed-foot__nl-form.ed-nl--bald .ed-foot__nl-btn { margin-top: 4px; }
