/* ==========================================================================
   DMG – Dresdner Mediengesellschaft | Zentrales Stylesheet
   Markenwelt 2.0: Midnight Navy, Champagne Gold, Slate Grey, Silver, Off-White
   Typo: Montserrat (Headlines) / Source Sans 3 (Fließtext)
   ========================================================================== */

:root {
  --navy:        #0D1B2A;
  --navy-deep:   #081220;
  --navy-soft:   #13253A;
  --gold:        #C8A45E;
  --gold-light:  #E0C998;
  --slate:       #687280;
  --silver:      #BFC5CE;
  --off:         #F4F4F5;
  --white:       #FFFFFF;
  --font-head:   'Montserrat', 'Arial Black', sans-serif;
  --font-body:   'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;
  --maxw:        1200px;
  --radius:      2px;
  --shadow:      0 18px 50px rgba(8, 18, 32, .35);
  --trans:       .28s cubic-bezier(.4, 0, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
}

::selection { background: var(--gold); color: var(--navy); }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 16px 32px; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: var(--trans); white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(200,164,94,.35); }
.btn-outline-light { border-color: rgba(244,244,245,.5); color: var(--off); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { border-color: rgba(13,27,42,.35); color: var(--navy); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 11px 22px; font-size: 12px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Header / Navigation ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background .35s ease, box-shadow .35s ease;
  background: linear-gradient(to bottom, rgba(8,18,32,.85), rgba(8,18,32,0));
}
.site-header.scrolled { background: rgba(8, 18, 32, .96); box-shadow: 0 2px 24px rgba(0,0,0,.35); backdrop-filter: blur(8px); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }

/* Logo konstant ~12px vom Fensterrand verankern (max. Abstand zur Navigation,
   ohne auf schmaleren Breiten über den linken Rand zu ragen). */
.brand { display: flex; align-items: center; gap: 14px; margin-left: calc(20px - max(24px, 50vw - 576px)); }
.brand-icon { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-dmg {
  font-family: var(--font-head); font-weight: 800; font-size: 21px;
  letter-spacing: .18em; color: var(--off);
}
.brand-dmg .g-gold { color: var(--gold); }
.brand-full {
  font-family: var(--font-head); font-weight: 500; font-size: 8.5px;
  letter-spacing: .24em; color: var(--silver); text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > button {
  font-family: var(--font-head); font-weight: 600; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--off); padding: 10px 13px; position: relative;
  background: none; border: 0; cursor: pointer; transition: color var(--trans);
}
.main-nav > a::after, .nav-drop > button::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--trans);
}
.main-nav > a:hover, .nav-drop > button:hover,
.main-nav > a.active { color: var(--gold); }
.main-nav > a:hover::after, .main-nav > a.active::after,
.nav-drop:hover > button::after { transform: scaleX(1); }

.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: var(--navy-deep); border: 1px solid rgba(200,164,94,.25);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: var(--trans); box-shadow: var(--shadow);
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop-menu a {
  display: block; padding: 11px 20px; font-size: 12.5px; letter-spacing: .1em;
  font-family: var(--font-head); font-weight: 500; text-transform: uppercase;
  color: var(--silver); transition: var(--trans);
}
.nav-drop-menu a:hover { color: var(--gold); background: rgba(200,164,94,.07); padding-left: 26px; }

.nav-cta { margin-left: 14px; }

.nav-burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--off); margin: 6px 0; transition: var(--trans); }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--navy-deep); color: var(--off); overflow: hidden;
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,18,32,.93) 0%, rgba(8,18,32,.72) 45%, rgba(8,18,32,.35) 100%),
              linear-gradient(to top, rgba(8,18,32,.95) 0%, rgba(8,18,32,0) 35%);
}
.hero-content { position: relative; z-index: 2; padding: 160px 0 120px; max-width: 780px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 12px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 26px;
}
.eyebrow::before { content: ''; width: 44px; height: 1px; background: var(--gold); }

.hero h1 {
  font-size: clamp(38px, 6vw, 68px); font-weight: 800; color: var(--white);
  margin-bottom: 28px; letter-spacing: .015em;
}
.hero h1 .gold { color: var(--gold); }

.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--silver); max-width: 620px; margin-bottom: 42px; font-weight: 300; }

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--silver); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; font-family: var(--font-head);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent);
  animation: scrollcue 2.2s infinite;
}
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section-dark { background: var(--navy); color: var(--off); }
.section-deep { background: var(--navy-deep); color: var(--off); }
.section-white { background: var(--white); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 20px; }
.section-dark .section-head h2, .section-deep .section-head h2 { color: var(--white); }
.section-head p { color: var(--slate); font-size: 18px; }
.section-dark .section-head p, .section-deep .section-head p { color: var(--silver); }

/* ---------- Stats bar ---------- */

.stats-bar { background: var(--navy); color: var(--off); border-top: 1px solid rgba(200,164,94,.25); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 44px 20px; text-align: center; border-right: 1px solid rgba(191,197,206,.1);
}
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 44px; color: var(--gold); line-height: 1; }
.stat-num span { font-size: 26px; }
.stat-label { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); margin-top: 12px; font-family: var(--font-head); font-weight: 500; }

/* ---------- About / Split ---------- */

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; height: 460px; object-fit: cover; box-shadow: var(--shadow); }
.split-media::after {
  content: ''; position: absolute; top: 24px; left: -24px; right: 24px; bottom: -24px;
  border: 1px solid var(--gold); z-index: -1;
}
.split h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 24px; }
.split p { color: var(--slate); margin-bottom: 18px; }
.section-dark .split p { color: var(--silver); }

.checklist { list-style: none; margin: 26px 0 34px; }
.checklist li { padding: 9px 0 9px 36px; position: relative; color: var(--navy); font-weight: 600; }
.section-dark .checklist li { color: var(--off); }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 14px; width: 18px; height: 10px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Leistungswelten ---------- */

.fields-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(191,197,206,.15); }
.field-card {
  background: var(--navy); padding: 46px 34px 42px; position: relative; overflow: hidden;
  transition: var(--trans); display: flex; flex-direction: column; min-height: 360px;
}
.field-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: var(--trans);
}
.field-card:hover { background: var(--navy-soft); }
.field-card:hover::before { transform: scaleX(1); }
.field-num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--gold); letter-spacing: .2em; margin-bottom: 22px; }
.field-card h3 { color: var(--white); font-size: 19px; margin-bottom: 14px; letter-spacing: .06em; }
.field-card p { color: var(--silver); font-size: 15.5px; flex: 1; }
.field-link {
  margin-top: 24px; font-family: var(--font-head); font-weight: 600; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 8px;
}
.field-link::after { content: '→'; transition: var(--trans); }
.field-card:hover .field-link::after { transform: translateX(6px); }

/* ---------- Prinzip / Steps ---------- */

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; top: -22px; left: 0;
  font-family: var(--font-head); font-weight: 800; font-size: 64px;
  color: transparent; -webkit-text-stroke: 1px rgba(200,164,94,.5);
}
.step h3 { font-size: 17px; margin-bottom: 12px; position: relative; }
.step p { font-size: 15.5px; color: var(--slate); }
.section-dark .step p, .section-deep .step p { color: var(--silver); }

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(191,197,206,.2); margin-top: 70px; }
.benefit { background: var(--white); padding: 34px 30px; }
.benefit h4 { font-size: 14.5px; letter-spacing: .08em; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.benefit h4::before { content: ''; width: 22px; height: 1px; background: var(--gold); flex-shrink: 0; }
.benefit p { font-size: 15px; color: var(--slate); }

/* ---------- Deutschlandkarte ---------- */

.map-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
#de-map { width: 100%; max-width: 480px; margin: 0 auto; filter: drop-shadow(0 20px 45px rgba(0,0,0,.45)); }
#de-map .land { fill: var(--navy-soft); stroke: rgba(200,164,94,.45); stroke-width: 1.2; }
#de-map .city-dot { fill: var(--gold); }
#de-map .city-pulse { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .8; transform-origin: center; animation: pulse 2.6s infinite; }
#de-map .city-label { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .08em; fill: var(--off); text-transform: uppercase; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 80% { transform: scale(2.6); opacity: 0; } 100% { opacity: 0; } }

.city-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; margin-top: 34px; }
.city-list li {
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--off); padding: 14px 18px;
  border: 1px solid rgba(191,197,206,.15); display: flex; align-items: center; gap: 12px;
  transition: var(--trans);
}
.city-list li:hover { border-color: var(--gold); }
.city-list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px 2px rgba(200,164,94,.7); flex-shrink: 0; }
.city-list small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; letter-spacing: .04em; color: var(--slate); text-transform: none; }

/* ---------- Referenzen ---------- */

.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ref-card { background: var(--white); box-shadow: 0 6px 30px rgba(13,27,42,.08); transition: var(--trans); overflow: hidden; display: flex; flex-direction: column; }
.ref-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(13,27,42,.16); }
.ref-media { height: 210px; overflow: hidden; position: relative; background: var(--navy); }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ref-card:hover .ref-media img { transform: scale(1.05); }
.ref-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(8,18,32,.85); color: var(--gold);
  font-family: var(--font-head); font-size: 10.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; padding: 6px 12px;
}
.ref-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.ref-body h3 { font-size: 16.5px; letter-spacing: .05em; margin-bottom: 10px; }
.ref-body p { font-size: 15px; color: var(--slate); flex: 1; }
.ref-meta { margin-top: 18px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-family: var(--font-head); font-weight: 600; }

/* ---------- Partner ---------- */

.partner-strip { display: flex; flex-wrap: wrap; gap: 2px; background: rgba(191,197,206,.15); }
.partner-item {
  flex: 1 1 240px; min-height: 130px; background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 26px 20px; transition: var(--trans);
}
.partner-item:hover { background: var(--navy-soft); }
.partner-item img { max-height: 52px; max-width: 170px; object-fit: contain; filter: grayscale(1) brightness(1.6); transition: var(--trans); }
.partner-item:hover img { filter: none; }
.partner-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--off); text-align: center; }
.partner-sub { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-family: var(--font-head); }

/* ---------- News ---------- */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--white); box-shadow: 0 6px 30px rgba(13,27,42,.08); transition: var(--trans); display: flex; flex-direction: column; overflow: hidden; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(13,27,42,.15); }
.news-media { height: 190px; background: linear-gradient(120deg, var(--navy), var(--navy-soft)); position: relative; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-media .news-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.news-media .news-fallback img { width: 54px; height: auto; opacity: .5; }
.news-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-family: var(--font-head); font-weight: 600; margin-bottom: 12px; }
.news-body h3 { font-size: 17px; letter-spacing: .04em; margin-bottom: 10px; }
.news-body p { font-size: 15px; color: var(--slate); flex: 1; }
.news-link { margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.news-card:hover .news-link { color: var(--gold); }

/* Artikel */
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-wrap h1 { font-size: clamp(28px, 4vw, 40px); margin: 18px 0 26px; }
.article-body { font-size: 17.5px; }
.article-body p { margin-bottom: 20px; color: #2A3644; }
.article-body ul { margin: 0 0 20px 22px; color: #2A3644; }
.article-body a { color: var(--gold); font-weight: 600; border-bottom: 1px solid rgba(200,164,94,.4); }
.article-back { display: inline-block; margin-bottom: 8px; }

/* ---------- Events / Netzwerktreffen ---------- */

.event-list { display: grid; gap: 18px; }
.event-item {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 30px; align-items: center;
  background: var(--white); padding: 30px 34px; box-shadow: 0 6px 26px rgba(13,27,42,.07);
  transition: var(--trans);
}
.event-item:hover { box-shadow: 0 14px 40px rgba(13,27,42,.13); }
.event-date { text-align: center; border-right: 1px solid rgba(191,197,206,.5); padding-right: 26px; }
.event-day { font-family: var(--font-head); font-weight: 800; font-size: 38px; color: var(--gold); line-height: 1; }
.event-month { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); margin-top: 6px; }
.event-item h3 { font-size: 17px; letter-spacing: .05em; margin-bottom: 8px; }
.event-item .event-loc { font-size: 14px; color: var(--slate); letter-spacing: .06em; }
.event-item p { font-size: 15px; color: var(--slate); margin-top: 8px; }

/* ---------- Galerie ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: var(--navy-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(8,18,32,.9));
  color: var(--off); font-size: 13.5px; letter-spacing: .06em;
  opacity: 0; transition: var(--trans);
}
.gallery-item:hover .gallery-cap { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 3000; background: rgba(8,18,32,.96);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; box-shadow: var(--shadow); }
.lightbox-close { position: absolute; top: 26px; right: 32px; background: none; border: 0; color: var(--off); font-size: 34px; cursor: pointer; }
.lightbox-cap { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: var(--silver); font-size: 14px; letter-spacing: .08em; }

/* ---------- Page-Hero (Unterseiten) ---------- */

.page-hero {
  position: relative; min-height: 480px; display: flex; align-items: flex-end;
  background: var(--navy-deep); color: var(--off); overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,18,32,.97) 5%, rgba(8,18,32,.4) 60%, rgba(8,18,32,.75) 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 170px 0 64px; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 52px); color: var(--white); max-width: 800px; }
.page-hero p { margin-top: 18px; max-width: 640px; color: var(--silver); font-size: 18px; }

.breadcrumb { font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: 11.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; font-family: var(--font-body); font-size: 16px;
  border: 1px solid var(--silver); border-radius: var(--radius); background: var(--white);
  color: var(--navy); transition: var(--trans);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,94,.18);
}
.form-note { font-size: 13.5px; color: var(--slate); }
.form-note a { color: var(--gold); }
.form-msg { padding: 14px 18px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: rgba(84,160,110,.12); color: #2E6C46; border-left: 3px solid #54A06E; }
.form-msg.err { display: block; background: rgba(180,70,70,.1); color: #8C3A3A; border-left: 3px solid #B44646; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Funnel (Lizenz-Check) ---------- */

.funnel-box { max-width: 760px; margin: 0 auto; background: var(--white); box-shadow: var(--shadow); }
.funnel-progress { display: flex; height: 4px; background: rgba(191,197,206,.35); }
.funnel-progress span { flex: 1; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.funnel-progress span.done { transform: scaleX(1); }
.funnel-step { padding: 54px 58px 50px; display: none; }
.funnel-step.active { display: block; animation: fadeup .45s ease; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.funnel-q { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.funnel-step h3 { font-size: 24px; margin-bottom: 30px; text-transform: none; letter-spacing: 0; }
.funnel-opts { display: grid; gap: 12px; }
.funnel-opt {
  text-align: left; padding: 18px 22px; border: 1px solid var(--silver); background: var(--white);
  font-family: var(--font-body); font-size: 16.5px; color: var(--navy); cursor: pointer; transition: var(--trans);
  display: flex; align-items: center; gap: 14px;
}
.funnel-opt::before { content: ''; width: 14px; height: 14px; border: 2px solid var(--silver); border-radius: 50%; flex-shrink: 0; transition: var(--trans); }
.funnel-opt:hover { border-color: var(--gold); }
.funnel-opt.selected { border-color: var(--gold); background: rgba(200,164,94,.07); }
.funnel-opt.selected::before { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px var(--white); }
.funnel-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; }
.funnel-back { background: none; border: 0; color: var(--slate); font-family: var(--font-head); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.funnel-back:hover { color: var(--navy); }

/* ---------- CTA-Band ---------- */

.cta-band { background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 60%, #1B2F45 100%); position: relative; overflow: hidden; }
.cta-band::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px;
  border: 1px solid rgba(200,164,94,.25); transform: rotate(45deg);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-inner h2 { color: var(--white); font-size: clamp(24px, 3.4vw, 36px); max-width: 640px; }
.cta-inner h2 span { color: var(--gold); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: var(--silver); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 50px; padding-bottom: 60px; }
.footer-logo { width: 250px; margin-bottom: 22px; }
.footer-claim { font-size: 14.5px; color: var(--slate); max-width: 300px; }
.site-footer h4 { color: var(--off); font-size: 12.5px; letter-spacing: .22em; margin-bottom: 22px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14.5px; color: var(--silver); transition: var(--trans); }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }

.footer-heritage { display: flex; flex-direction: column; gap: 16px; }
.heritage-item { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-head); font-weight: 500; }
.heritage-item svg { width: 34px; height: auto; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }

.footer-bottom {
  border-top: 1px solid rgba(191,197,206,.12); padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: var(--slate);
}
.footer-bottom a { color: var(--silver); margin-left: 22px; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Live-Chat-Widget ---------- */

#dmg-chat-btn {
  position: fixed; right: 26px; bottom: 26px; z-index: 2000;
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--navy); box-shadow: 0 10px 30px rgba(8,18,32,.4);
  display: flex; align-items: center; justify-content: center; transition: var(--trans);
}
#dmg-chat-btn:hover { transform: scale(1.08); }
#dmg-chat-btn svg { width: 26px; height: 26px; }
#dmg-chat-btn .chat-badge {
  position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%;
  background: #C0392B; border: 2px solid var(--off); display: none;
}
#dmg-chat-btn.has-new .chat-badge { display: block; }

#dmg-chat {
  position: fixed; right: 26px; bottom: 104px; z-index: 2001;
  width: 380px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 140px);
  background: var(--white); box-shadow: 0 24px 70px rgba(8,18,32,.45);
  display: none; flex-direction: column; overflow: hidden; border-radius: 4px;
}
#dmg-chat.open { display: flex; animation: fadeup .3s ease; }
.chat-head { background: var(--navy); color: var(--off); padding: 18px 22px; display: flex; align-items: center; gap: 14px; }
.chat-head img { width: 30px; }
.chat-head-title { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .12em; }
.chat-head-sub { font-size: 12px; color: var(--silver); display: flex; align-items: center; gap: 7px; }
.chat-head-sub::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #54A06E; }
.chat-close { margin-left: auto; background: none; border: 0; color: var(--silver); font-size: 22px; cursor: pointer; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 20px; background: var(--off); display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 82%; padding: 12px 16px; font-size: 15px; line-height: 1.5; border-radius: 10px; }
.chat-msg a { color: var(--gold); font-weight: 600; text-decoration: underline; }
.chat-msg.bot { background: var(--white); color: var(--navy); align-self: flex-start; box-shadow: 0 2px 10px rgba(13,27,42,.07); border-bottom-left-radius: 2px; }
.chat-msg.admin { background: var(--navy); color: var(--off); align-self: flex-start; border-bottom-left-radius: 2px; }
.chat-msg.admin::before { content: 'DMG Team'; display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; font-family: var(--font-head); font-weight: 600; }
.chat-msg.visitor { background: var(--gold); color: var(--navy); align-self: flex-end; border-bottom-right-radius: 2px; }
.chat-input { display: flex; border-top: 1px solid rgba(191,197,206,.4); background: var(--white); }
.chat-input input { flex: 1; border: 0; padding: 16px 18px; font-family: var(--font-body); font-size: 15px; outline: none; }
.chat-input button { border: 0; background: none; padding: 0 20px; cursor: pointer; color: var(--gold); }
.chat-input button svg { width: 22px; height: 22px; }

/* ---------- Reveal-Animationen ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; } .reveal-d2 { transition-delay: .24s; } .reveal-d3 { transition-delay: .36s; }

/* ---------- Cookie-Hinweis ---------- */

#cookie-bar {
  position: fixed; left: 24px; bottom: 24px; z-index: 2500; max-width: 420px;
  background: var(--navy-deep); color: var(--silver); padding: 24px 26px;
  box-shadow: var(--shadow); border-top: 2px solid var(--gold); display: none; font-size: 14px;
}
#cookie-bar.show { display: block; animation: fadeup .4s ease; }
#cookie-bar a { color: var(--gold); }
#cookie-bar .cookie-actions { display: flex; gap: 12px; margin-top: 16px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .fields-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 56px 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid rgba(191,197,206,.1); }
  .ref-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .map-wrap { grid-template-columns: 1fr; gap: 50px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .main-nav {
    position: fixed; inset: 0; background: var(--navy-deep);
    flex-direction: column; justify-content: center; gap: 8px;
    opacity: 0; visibility: hidden; transition: var(--trans);
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav > a, .nav-drop > button { font-size: 16px; }
  .nav-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; text-align: center; display: none; }
  .nav-drop.open .nav-drop-menu { display: block; }
  .nav-burger { display: block; position: relative; z-index: 1100; }
  .nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-cta { display: none; }
  .brand { margin-left: 0; }
  .hero-content { padding: 130px 0 100px; }
  .event-item { grid-template-columns: 1fr; gap: 16px; }
  .event-date { border-right: 0; border-bottom: 1px solid rgba(191,197,206,.5); padding: 0 0 14px; text-align: left; display: flex; align-items: baseline; gap: 12px; }
  .funnel-step { padding: 38px 26px 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .fields-grid, .ref-grid, .news-grid, .steps-grid, .benefits-grid,
  .stats-grid, .city-list, .footer-grid, .gallery-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .brand-full { display: none; }
  #dmg-chat { right: 8px; bottom: 92px; }
  #cookie-bar { left: 12px; right: 12px; max-width: none; }
}
