/* ===========================================================
   DiB Regionalmagazin — Onepager (Relaunch)
   Built on colors_and_type.css design tokens.
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--fg-1);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
::selection { background: var(--teal-200); color: var(--teal-900); }

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

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--tracking-label); font-size: 15px; color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--accent); border-radius: 2px; }
.eyebrow.light { color: var(--teal-200); }
.eyebrow.light::before { background: var(--teal-300); }
.eyebrow.center { justify-content: center; }

/* ---------- Section heads ---------- */
.sechead { margin: 0 0 44px; }
.sechead.center { text-align: center; }
.sechead.center .eyebrow { display: inline-flex; }
.sechead h2 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.02; letter-spacing: -.015em; margin: 0 0 14px; color: var(--ink); text-wrap: balance;
}
.sechead .lede {
  font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: var(--fg-2);
  margin: 0; max-width: 640px; text-wrap: pretty;
}
.sechead.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: 15px; border: 0; cursor: pointer; padding: 15px 28px;
  border-radius: var(--r-md); display: inline-flex; align-items: center; gap: 9px;
  transition: background .15s ease, box-shadow .15s ease, transform .12s ease, color .15s ease;
  line-height: 1; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }
.btn-primary:active { background: var(--accent-press); transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-secondary:hover { background: var(--teal-50); }
.btn-ghost { background: transparent; color: var(--gray-800); padding: 8px 0; letter-spacing: .06em; }
.btn-ghost:hover { color: var(--accent); gap: 13px; }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--teal-50); box-shadow: var(--shadow-md); }
.btn-sm { padding: 11px 20px; font-size: 15px; }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 32px; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; }
.brand img { height: 56px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: 16px; color: var(--gray-700);
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 0;
  border-bottom: 2px solid transparent; transition: color .15s; white-space: nowrap;
}
.main-nav a .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-300); transition: background .15s; }
.main-nav a:hover { color: var(--accent); }
.main-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.main-nav a.active .dot { background: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

/* Hamburger + Mobile-Navigation */
.nav-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  padding: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 49;
  background: rgba(255,255,255,.98); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav nav { display: flex; flex-direction: column; padding: 12px 20px 22px; }
.mobile-nav a {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: 16px; color: var(--gray-800);
  padding: 15px 4px; border-bottom: 1px solid var(--border);
}
.mobile-nav a:active { color: var(--accent); }
.mobile-nav .mobile-nav-cta {
  margin-top: 18px; border-bottom: 0; color: #fff; justify-content: center; text-align: center;
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 80% -8%, var(--teal-50), transparent 62%),
    var(--white);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 86px 32px 80px;
}
.hero-slogan {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(46px, 11vw, 86px); line-height: 1.05; letter-spacing: -.02em;
  margin: 4px 0 22px; color: var(--ink);
}
.hero-slogan .teal { color: var(--accent); }
.hero .lede { font-size: 19px; line-height: 1.62; color: var(--fg-2); margin: 0 0 30px; max-width: 510px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 26px; flex-wrap: wrap; margin-top: 36px;
  padding-top: 26px; border-top: 1px solid var(--border);
}
.hero-trust .t-item { display: flex; flex-direction: column; gap: 2px; }
.hero-trust .t-num {
  font-family: var(--font-head); font-weight: 600; font-size: 26px; color: var(--ink); line-height: 1;
}
.hero-trust .t-num .u { color: var(--accent); font-size: 17px; }
.hero-trust .t-label {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: 11.5px; color: var(--gray-500);
}

/* Cover visual */
.hero-visual { position: relative; }
.hero-covers { display: block; width: 100%; max-width: 640px; height: auto; margin-left: auto; filter: drop-shadow(0 20px 38px rgba(19,54,62,.20)); }
.cover-frame { position: relative; max-width: 350px; margin-left: auto; }
.cover {
  position: relative; aspect-ratio: 225/310; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--teal-600), var(--teal-800));
}
.cover image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-masthead {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(12,34,40,.55), transparent);
}
.cover-masthead img { height: 30px; }
.cover-masthead .issue {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: 11px; color: #fff; margin-top: 4px;
}
.cover-badge {
  position: absolute; top: -16px; left: -16px; z-index: 4; background: #fff; box-shadow: var(--shadow-md);
  border-radius: var(--r-pill); padding: 9px 18px; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: 15px; color: var(--accent);
}
.cover-tag {
  position: absolute; right: -14px; bottom: 30px; z-index: 4; background: var(--teal-800); color: #fff;
  box-shadow: var(--shadow-lg); border-radius: var(--r-md); padding: 13px 18px; max-width: 190px;
}
.cover-tag b { font-family: var(--font-head); font-weight: 600; font-size: 16px; display: block; }
.cover-tag span { font-size: 14.5px; color: var(--teal-100); line-height: 1.4; }

/* ===========================================================
   STAT BAND
   =========================================================== */
.statband { background: var(--teal-800); }
.statband-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 40px 32px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { text-align: center; padding: 6px 18px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: rgba(255,255,255,.16);
}
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4vw, 50px); line-height: 1; color: #fff; }
.stat-num .u { color: var(--teal-300); font-size: .55em; vertical-align: super; margin-left: 2px; }
.stat-label {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: 14.5px; color: var(--teal-200); margin-top: 10px;
}

/* ===========================================================
   GENERIC SECTION
   =========================================================== */
.section { padding: 96px 0; }
.section.muted { background: var(--bg-muted); }
.section.tight { padding: 72px 0; }

/* ===========================================================
   MAGAZIN (editorial feature)
   =========================================================== */
.mag-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.mag-photo { position: relative; }
.mag-photo image-slot {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.mag-photo image-slot::part(frame) { background: transparent; }
.mag-photo .photo-cap {
  position: absolute; left: 18px; bottom: 18px; z-index: 4; background: rgba(12,34,40,.78);
  color: #fff; backdrop-filter: blur(4px); border-radius: var(--r-md); padding: 9px 15px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: 14px;
}
.mag-photo .photo-stamp {
  position: absolute; right: -18px; top: 26px; z-index: 4; width: 124px; height: 124px;
  background: var(--accent); color: #fff; border-radius: 50%; box-shadow: var(--shadow-lg);
  display: grid; place-content: center; text-align: center; rotate: -8deg;
}
.mag-photo .photo-stamp b { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: .9; display: block; }
.mag-photo .photo-stamp span {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: 13px; color: var(--teal-100);
}
.mag-feats { display: grid; gap: 4px; margin: 28px 0 30px; }
.feat { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
.feat:last-child { border-bottom: 1px solid var(--border); }
.feat .fi {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--teal-50);
  color: var(--accent); display: grid; place-content: center;
}
.feat .fi svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.feat h4 { font-family: var(--font-head); font-weight: 600; font-size: 19px; margin: 1px 0 3px; color: var(--ink); }
.feat p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-2); }

/* ===========================================================
   MEDIADATEN — formats + discount
   =========================================================== */
.fmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fmt {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px;
  text-align: center; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex; flex-direction: column;
}
.fmt:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-200); }
.fmt-vis {
  width: 76px; height: 100px; margin: 0 auto 18px; background: var(--teal-50);
  border: 1.5px solid var(--teal-400); border-radius: 2px; position: relative;
}
.fmt-vis i { position: absolute; background: var(--teal-400); }
.fmt-name { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--ink); }
.fmt-dim { font-size: 15px; color: var(--gray-500); margin: 4px 0 14px; line-height: 1.4; }
.fmt-price { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--accent); margin-top: auto; padding-top: 8px; }
.fmt-price small { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--gray-500); display: inline; letter-spacing: 0; margin-left: 5px; }

.disc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.disc-item { text-align: center; background: var(--teal-50); border-radius: var(--r-md); padding: 24px 12px; }
.disc-item b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--accent); line-height: 1; }
.disc-item span { font-size: 15px; color: var(--gray-600); display: block; margin-top: 8px; }
.fineprint { font-size: 15px; color: var(--gray-500); margin: 24px 0 0; }

.media-note {
  margin-top: 40px; background: var(--surface-dark); border-radius: var(--r-lg); padding: 38px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow-lg);
}
.media-note h3 { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin: 0 0 8px; color: #fff; }
.media-note p { margin: 0; color: var(--teal-100); font-size: 16px; line-height: 1.55; max-width: 560px; }

/* ===========================================================
   AUSGABEN — ePaper archive
   =========================================================== */
.issue-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 760px; margin: 0 auto; }
.issue { cursor: pointer; }
.issue .issue-cover {
  position: relative; aspect-ratio: 225/310; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-md); background: linear-gradient(160deg, var(--teal-600), var(--teal-800));
  transition: transform .18s ease, box-shadow .18s ease;
}
.issue:hover .issue-cover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.issue .issue-cover image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.issue .issue-cover .mini-mast {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3; padding: 10px 12px;
  background: linear-gradient(180deg, rgba(12,34,40,.5), transparent);
}
.issue .issue-cover .mini-mast img { height: 18px; }
.issue .issue-cover .read {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; opacity: 0;
  background: rgba(12,34,40,.55); color: #fff; transition: opacity .18s ease;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 15px;
}
.issue .issue-cover .read span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1.5px solid rgba(255,255,255,.6); border-radius: var(--r-pill); }
.issue:hover .issue-cover .read { opacity: 1; }
.issue-cap { text-align: center; margin-top: 12px; }
.issue-cap b { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); display: block; }
.issue-cap span { font-size: 14.5px; color: var(--gray-500); }
.archive-foot { text-align: center; margin-top: 44px; }

/* Yumpu ePaper-Regal */
.epaper-shelf {
  position: relative;
  width: 100%; margin: 0;
  background: transparent;
}
.epaper-shelf iframe { width: 100%; height: 420px; border: 0; display: block; }
/* Vollbreites dunkles Band, Ausgaben darin auf Content-Breite */
.epaper-band { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); background: var(--teal-900); padding: 28px 0; }
@media (max-width: 560px) { .epaper-shelf iframe { height: 380px; } }

/* ePaper lightbox */
.issue[data-yumpu=""] { cursor: default; }
.issue[data-yumpu=""] .read { display: none; }
.issue:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-md); }
.epaper-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.epaper-modal.open { display: block; }
.epaper-backdrop { position: absolute; inset: 0; background: rgba(12,34,40,.78); backdrop-filter: blur(3px); }
.epaper-dialog {
  position: absolute; inset: 0; margin: auto; width: min(94vw, 1120px); height: min(88vh, 780px);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.epaper-close {
  position: absolute; top: 10px; right: 14px; z-index: 3; width: 42px; height: 42px; border: 0;
  background: rgba(12,34,40,.55); color: #fff; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer;
  display: grid; place-content: center; transition: background .15s ease;
}
.epaper-close:hover { background: var(--accent); }
.epaper-frame { flex: 1; min-height: 0; background: var(--surface-dark); }
.epaper-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 560px) { .epaper-dialog { width: 96vw; height: 86vh; } }

/* ===========================================================
   AGENTUR
   =========================================================== */
.agency {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
}
.agency-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 34px; display: grid; gap: 18px;
}
.agency-card .ac-row { display: flex; align-items: center; gap: 16px; }
.agency-card .ac-logo {
  width: 60px; height: 60px; flex: 0 0 auto; border-radius: var(--r-md); background: var(--teal-800);
  display: grid; place-content: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-align: center; line-height: 1.05;
}
.agency-card .ac-row h4 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); }
.agency-card .ac-row p { margin: 2px 0 0; font-size: 15px; color: var(--gray-500); }
.agency-card .ac-list { display: grid; gap: 11px; }
.agency-card .ac-list li { list-style: none; display: flex; gap: 11px; font-size: 15px; color: var(--fg-2); line-height: 1.5; }
.agency-card .ac-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.agency-card ul { margin: 0; padding: 0; }

/* ===========================================================
   KONTAKT
   =========================================================== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.contact-map {
  position: relative; height: 260px;
  border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
.contact-map iframe { display: block; width: 100%; height: 100%; }
.contact-info { display: grid; gap: 16px; }
.info-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 24px;
  box-shadow: var(--shadow-sm); position: relative;
}
.info-card::before { content: ""; position: absolute; top: 0; left: 24px; width: 34px; height: 3px; background: var(--accent); border-radius: 0 0 2px 2px; }
.info-card h4 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: var(--accent); margin: 0 0 6px; }
.info-card .big { font-family: var(--font-head); font-weight: 600; font-size: 23px; color: var(--ink); }
.info-card .big a { color: var(--accent); }
.info-card .big a:hover { color: var(--accent-hover); text-decoration: underline; }
.info-card p { font-size: 15px; color: var(--fg-2); margin: 4px 0 0; line-height: 1.5; }

.form-card {
  background: var(--bg-muted); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 38px; box-shadow: var(--shadow-sm);
}
.form-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin: 0 0 6px; color: var(--ink); }
.form-card .sub { font-size: 15.5px; color: var(--fg-2); margin: 0 0 26px; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: 11.5px; color: var(--gray-600); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .12s, box-shadow .12s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--teal-50);
}
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.form-foot .consent { font-size: 14.5px; color: var(--gray-500); max-width: 340px; line-height: 1.45; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; max-width: 360px; font-size: 14px; line-height: 1.45; color: var(--gray-500); cursor: pointer; }
.consent-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); cursor: pointer; }
.consent-check.invalid input { outline: 2px solid var(--danger); outline-offset: 2px; border-radius: 3px; }
.consent-check a { color: var(--accent); text-decoration: underline; }
.req { color: var(--accent); font-weight: 700; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spam-field strong { color: var(--accent); font-family: var(--font-head); }
.spam-field input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(193,42,42,.08); }
.form-req-note { font-size: 13px; color: var(--gray-500); margin: 14px 0 0; }
.form-success {
  display: none; background: var(--teal-50); border: 1px solid var(--teal-200); border-radius: var(--r-md);
  padding: 16px 18px; margin-top: 18px; color: var(--teal-700); font-size: 15px;
}
.form-success.show { display: block; }
.form-success.is-error { background: rgba(193,42,42,.06); border-color: rgba(193,42,42,.30); color: var(--danger); }
.hs-form-frame { width: 100%; min-height: 120px; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: var(--teal-900); color: #fff; }
.footer-skyline-band { background: var(--white); line-height: 0; font-size: 0; }
.footer-skyline-band img { display: block; width: 100%; height: auto; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 60px 32px 36px;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; align-items: start;
}
.footer-brand img { height: 56px; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.7); margin: 0; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-content: center; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); transition: background .15s ease, color .15s ease, transform .12s ease; }
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; display: block; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h4 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; color: var(--teal-300); margin: 0 0 12px; }
.footer-cols p, .footer-cols a { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.78); }
.footer-cols a { display: block; }
.footer-cols a:hover { color: #fff; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: var(--maxw); margin: 0 auto; padding: 18px 32px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14.5px; color: rgba(255,255,255,.5);
}

/* ===========================================================
   MEDIADATEN — extended (info, subheads, categories, tech)
   =========================================================== */
.info-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 16px; }
@media (max-width: 940px) { .info-row { grid-template-columns: repeat(2, 1fr); } }

.subhead { text-align: center; margin: 64px 0 28px; }
.subhead .eyebrow { justify-content: center; }
.subhead h3 { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.05; letter-spacing: -.01em; color: var(--ink); margin: 0 0 8px; }
.subhead p { font-size: 15.5px; line-height: 1.55; color: var(--fg-2); margin: 0 auto; max-width: 600px; text-wrap: pretty; }

.fmt-grid.five { grid-template-columns: repeat(5, 1fr); }
.fmt-grid.four { grid-template-columns: repeat(4, 1fr); }
.fmt-dim small { display: block; }
.fmt-slot { width: 152px; height: 208px; margin: 0 auto 18px; background: transparent; }
.fmt-slot::part(frame) { background: transparent; }
/* echte Bilder (aus ehemaligen image-slots) */
img.fmt-slot { object-fit: contain; }
img.offer-thumb { object-fit: contain; display: block; }
img.ready-slot { object-fit: contain; }
img.person-photo { object-fit: cover; border-radius: 50%; }
.mag-photo img.mag-photo-img { display: block; }
.geo-map img.geo-karte-img { display: block; width: 100%; max-width: 532px; height: auto; aspect-ratio: 1 / 1; margin: 0 auto; object-fit: contain; }

/* format slider */
.fmt-slider { position: relative; }
.fmt-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 12px; scrollbar-width: none; -ms-overflow-style: none;
}
.fmt-track::-webkit-scrollbar { display: none; }
.fmt-track .fmt { flex: 0 0 240px; scroll-snap-align: start; }
.fmt-track .fmt-slot { width: 100%; height: auto; aspect-ratio: 3 / 4; max-height: 176px; margin: 0 0 14px; }
.fmt-arrow {
  position: absolute; top: 42%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%;
  border: 0; background: #fff; color: var(--accent); box-shadow: var(--shadow-md); font-size: 30px; line-height: 1;
  cursor: pointer; z-index: 6; display: grid; place-content: center;
  transition: background .15s, color .15s, box-shadow .15s, opacity .15s;
}
.fmt-arrow:hover { background: var(--accent); color: #fff; box-shadow: var(--shadow-lg); }
.fmt-arrow.prev { left: -18px; }
.fmt-arrow.next { right: -18px; }
.fmt-arrow:disabled { opacity: 0; pointer-events: none; }

/* contact person photo */
.person-card { display: flex; align-items: center; gap: 18px; }
.person-photo { width: 88px; height: 88px; flex: 0 0 auto; }

/* agency: original logo placeholder */
.ready-slot { width: 148px; height: 64px; flex: 0 0 auto; }
.ready-slot::part(frame) { background: transparent; }

/* offer cards: PR-Texte / Anzeigen-Text-Kombi / Specials */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.offer-card > h4 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 19px; color: var(--accent); margin: 0 0 8px; }
.offer-vis { background: var(--teal-50); border-radius: var(--r-md); padding: 12px; margin: 6px 0 18px; }
.offer-vis svg { display: block; width: 100%; height: auto; max-height: 96px; }
.offer-card .intro { font-size: 15px; line-height: 1.55; color: var(--fg-2); margin: 0 0 18px; }
.offer-rows { margin-top: auto; }
.offer-row { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 20px 0; border-top: 1px solid var(--border); }
.offer-thumb { width: 100%; max-width: 172px; height: auto; aspect-ratio: 3 / 4; max-height: 150px; background: transparent; margin-bottom: 8px; }
.offer-thumb::part(frame) { background: transparent; }
.offer-row .o-meta { margin: 0; }
.offer-row .o-price { align-self: flex-start; }
.offer-row .o-name { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.offer-row .o-detail { display: block; font-size: 14px; color: var(--gray-500); margin-top: 2px; line-height: 1.4; }
.offer-row .o-price { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--accent); white-space: nowrap; }

/* technical specs + download */
.tech { margin-top: 48px; display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; }
.tech-specs { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.tech-specs h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--ink); margin: 0 0 20px; }
.tech-specs dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; margin: 0; }
.tech-specs dt { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 14.5px; color: var(--gray-600); }
.tech-specs dd { margin: 0; font-size: 15px; color: var(--fg-1); line-height: 1.4; }
.tech-dl { background: var(--surface-dark); border-radius: var(--r-lg); padding: 34px; color: #fff; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-lg); }
.tech-dl h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #fff; margin: 0 0 8px; }
.tech-dl p { color: var(--teal-100); font-size: 15px; line-height: 1.55; margin: 0 0 22px; }

/* ===========================================================
   VERBREITUNGSGEBIET — map + outlets
   =========================================================== */
.geo { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.geo-map { position: relative; }
.geo-map image-slot { display: block; width: 100%; max-width: 532px; height: auto; aspect-ratio: 1 / 1; margin: 0 auto; }
.geo-map image-slot::part(frame) { background: transparent; box-shadow: none; }
.geo-map.freigestellt image-slot { border-radius: 0; box-shadow: none; }
.geo-map .map-cap {
  position: absolute; left: 18px; bottom: 18px; z-index: 4; background: rgba(12,34,40,.78);
  color: #fff; backdrop-filter: blur(4px); border-radius: var(--r-md); padding: 9px 15px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px;
}
.geo-regions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.geo-regions span {
  background: var(--teal-50); color: var(--accent); border-radius: var(--r-pill); padding: 8px 15px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 15px;
}

.outlets { columns: 3; column-gap: 36px; margin-top: 8px; }
.outlet { break-inside: avoid; margin: 0 0 22px; }
.outlet h4 { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); margin: 0 0 5px; display: flex; align-items: center; gap: 9px; }
.outlet h4::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.outlet p { margin: 0; font-size: 15px; color: var(--fg-2); line-height: 1.55; }

/* ===========================================================
   ERSCHEINUNGSTERMINE
   =========================================================== */
.dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.date-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.date-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.date-card .d-label { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14.5px; color: var(--accent); margin-bottom: 7px; }
.date-card .d-day { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; color: var(--ink); }
.date-card .d-deadline { font-size: 15px; color: var(--fg-2); margin-top: 12px; line-height: 1.45; padding-top: 12px; border-top: 1px solid var(--border); }
.date-card.next { background: var(--surface-dark); border-color: var(--surface-dark); box-shadow: var(--shadow-lg); }
.date-card.next .d-day { color: #fff; }
.date-card.next .d-label { color: var(--teal-200); }
.date-card.next .d-deadline { color: var(--teal-100); border-top-color: rgba(255,255,255,.16); }
.date-card .d-badge { position: absolute; top: -11px; right: 14px; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; padding: 5px 12px; border-radius: var(--r-pill); box-shadow: var(--shadow-md); }
.dates-note { text-align: center; font-size: 15px; color: var(--gray-500); margin: 26px 0 0; }
.dates.dates-empty { display: block; }
.dates-soon { text-align: center; font-size: 17px; line-height: 1.6; color: var(--fg-2); background: #fff; border: 1px dashed var(--border-strong); border-radius: var(--r-md); padding: 32px 28px; max-width: 640px; margin: 0 auto; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .cover-frame { margin: 0 auto; }
  .statband-inner { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat:nth-child(2)::before, .stat:nth-child(4)::before { display: none; }
  .mag-grid, .agency, .contact, .media-note, .geo, .tech { grid-template-columns: 1fr; }
  .media-note { gap: 18px; }
  .fmt-grid, .fmt-grid.five, .fmt-grid.four { grid-template-columns: repeat(2, 1fr); }
  .info-row, .offer-grid { grid-template-columns: 1fr; }
  .dates { grid-template-columns: repeat(2, 1fr); }
  .outlets { columns: 2; }
  .disc { grid-template-columns: repeat(2, 1fr); }
  .issue-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .wrap, .hero-inner, .statband-inner, .footer-inner, .footer-base, .site-header { padding-left: 20px; padding-right: 20px; }
  .section { padding: 64px 0; }
  .hero-inner { padding-top: 48px; padding-bottom: 56px; }
  .hero .lede { font-size: 17px; }
  .epaper-band { padding: 20px 0; }
  .fmt-grid, .fmt-grid.five, .fmt-grid.four, .issue-strip { grid-template-columns: repeat(2, 1fr); }
  .fmt-track .fmt { flex: 0 0 76vw; }
  .fmt-arrow { display: none; }
  .outlets { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .header-cta .btn { display: none; }

  /* Footer: zweispaltig statt drei */
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 22px 24px; }

  /* „Weitere Möglichkeiten" als Swipe-Slider (wie Anzeigenformate) */
  .offer-grid {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 0 -20px; padding: 0 20px 4px;
  }
  .offer-grid::-webkit-scrollbar { display: none; }
  .offer-card { flex: 0 0 84vw; scroll-snap-align: start; }

  /* Erscheinungstermine als Swipe-Slider — bleibt eine Zeile, egal wie viele */
  .dates {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 0 -20px; padding: 16px 20px 6px;
  }
  .dates::-webkit-scrollbar { display: none; }
  .date-card { flex: 0 0 62vw; scroll-snap-align: start; }
  .dates.dates-empty { display: block; margin: 0; padding: 0; }
}

/* ===========================================================
   LEGAL PAGES (Impressum / Datenschutz / AGB)
   =========================================================== */
.legal-hero { background: radial-gradient(1100px 460px at 80% -20%, var(--teal-50), transparent 62%), var(--white); border-bottom: 1px solid var(--border); }
.legal-hero .wrap { padding-top: 60px; padding-bottom: 40px; }
.legal-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -.015em; color: var(--ink); margin: 0; }
.legal-hero p.sub { font-size: 18px; color: var(--fg-2); margin: 14px 0 0; max-width: 640px; }
.legal-main { max-width: 860px; margin: 0 auto; padding: 56px 32px 96px; }
.legal-main h2 { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.12; color: var(--ink); margin: 46px 0 14px; padding-top: 30px; border-top: 1px solid var(--border); }
.legal-main > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-main h3 { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--ink); margin: 30px 0 8px; }
.legal-main h4 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; color: var(--accent); margin: 24px 0 6px; }
.legal-main p { font-size: 16px; line-height: 1.7; color: var(--fg-1); margin: 0 0 16px; }
.legal-main ul { margin: 0 0 16px; padding-left: 22px; }
.legal-main li { font-size: 16px; line-height: 1.7; color: var(--fg-1); margin: 0 0 7px; }
.legal-main a { color: var(--accent); word-break: break-word; }
.legal-main a:hover { text-decoration: underline; }
.legal-main strong, .legal-main b { color: var(--ink); font-weight: 700; }
.legal-addr { font-size: 16.5px; line-height: 1.7; color: var(--ink); margin: 0 0 18px; }
.legal-caps { letter-spacing: .01em; }
.legal-note { font-size: 15px; color: var(--gray-500); margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--border); }
@media (max-width: 560px) {
  .legal-main { padding: 40px 20px 72px; }
  .legal-hero .wrap { padding-top: 44px; }
}
