/* ==========================================================================
   e.vent.cloud – Gesamtes Stylesheet
   (Layout & Komponenten aus den ehemaligen Inline-Styles + bisheriges stylesheet.css)
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, variable woff2) ----------------- */
/* Dateien liegen in assets/fonts/ (Pfad relativ zu dieser CSS-Datei) */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ------------------------------------------------------- */
:root {
  --accent: #2FAE7A;            /* wird in index.html am .page-Wrapper per {{accent}} überschrieben */
  --gutter: clamp(20px, 5vw, 48px);
  --bg: #121417;
  --surface: #1A1D21;
  --border: #262A2F;
  --text: #E9ECEA;
  --muted: #A9B1AE;
  --soft: #B6BDBA;
  --ink: #0D0F11;
  --font-head: Manrope, Inter, system-ui, sans-serif;
}

/* ---------- Globale Regeln (ex stylesheet.css) -------------------------- */
body {
  margin: 0;
}
a {
  color: #2FAE7A;
}
a:hover {
  color: #5FD3A2;
}
.light a {
  color: #1A7550;
}
.light a:hover {
  color: #0F5539;
}

/* Ticket-Ausstanzung links/rechts */
.tk {
  -webkit-mask: radial-gradient(circle 16px at 0 50%, #0000 97%, #000) left/51% 100% no-repeat,
                radial-gradient(circle 16px at 100% 50%, #0000 97%, #000) right/51% 100% no-repeat;
  mask: radial-gradient(circle 16px at 0 50%, #0000 97%, #000) left/51% 100% no-repeat,
        radial-gradient(circle 16px at 100% 50%, #0000 97%, #000) right/51% 100% no-repeat;
}

/* Foto-Platzhalter (dunkel / hell) */
.ph {
  background: repeating-linear-gradient(135deg, #1A1D21 0 14px, #1F2327 14px 28px);
}
.phl {
  background: repeating-linear-gradient(135deg, #E6E8E4 0 14px, #EDEFEB 14px 28px);
}

.btn:hover {
  filter: brightness(1.08);
}

/* Kundenlogos: weiß/gedimmt, bei Hover farbig */
.bdew, .ds, .br, .mv, .bdh, .wtnrw {
  filter: brightness(0) invert(1);
  opacity: .7;
  transition: all 0.1s ease-in-out;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.bdew:hover, .ds:hover, .br:hover, .mv:hover, .bdh:hover, .wtnrw:hover {
  filter: none;
  opacity: .9;
}

/* Logo-Zelle bekommt beim Hover einen hellen Hintergrund.
   Klassenbasiert statt über die x-dc-Template-IDs (data-dc-tpl), deren Nummern
   sich verschieben, sobald Elemente davor hinzukommen oder wegfallen. */
.logo-cell {
  transition: all 0.1s ease-in-out;
}
.logo-cell:has(img:hover) {
  background-color: #f3f4f1;
  border: 1px solid #f3f4f1;
}

.footer-img-right {
  width: 135px;
  height: auto;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  opacity: .7;
}

/* ---------- Basis -------------------------------------------------------- */
.page {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  min-width: 0;
}
.page :where(p, h1, h2, h3, blockquote, figure) { margin: 0; }

.container { max-width: 1240px; margin: 0 auto; }
.section-inner { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.stack { display: flex; flex-direction: column; }
.gap-18 { gap: 18px; }
.gap-40 { gap: 40px; }
.gap-48 { gap: 48px; }
.gap-56 { gap: 56px; }

.light { background: #F3F4F1; color: #121417; }
.text-white { color: #FFFFFF; }
.accent { color: var(--accent); }
.cover-img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Typografie-Bausteine ---------------------------------------- */
.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow--dark { color: #1A7550; }
.eyebrow--spaced { margin-bottom: 18px; }

.h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(34px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.03em;
}
.h2--lg { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; }
.lead { font-size: 19px; color: var(--soft); }

/* ---------- Buttons ------------------------------------------------------ */
.pill { text-decoration: none; border-radius: 999px; font-weight: 600; }
.pill--accent { background: var(--accent); color: var(--ink); }
.pill--outline { border: 1px solid #3A4044; color: var(--text); }
.pill--sm { padding: 11px 20px; }
.pill--lg { padding: 15px 28px; font-size: 16px; }

/* ---------- Header ------------------------------------------------------- */
.site-header { border-bottom: 1px solid #23272B; }
.header-inner {
  padding: 20px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px;
}
.logo-link { display: flex; }
.header-logo { height: 40px; width: auto; display: block; }
.main-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
  font-size: 15px; font-weight: 500;
}
.nav-link { color: #C9CFCC; text-decoration: none; }

/* ---------- Photo-Platzhalter (Basis + Varianten) ------------------------ */
.photo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--muted); font-size: 14px; text-align: center;
  padding: 0; box-sizing: border-box; overflow: hidden;
}
.photo--hero  { height: 460px; border-radius: 24px; border: 1px dashed #3A4044; }
.photo--wide  { flex: 1 1 420px; min-width: 0; height: 340px; border-radius: 22px; border: 1px dashed #3A4044; }
.photo--cell  { min-height: 220px; }
.photo--light { height: 280px; border-radius: 20px; border: 1px dashed #B9BEBB; color: #474E4C; }
.photo--card  { height: 220px; border-bottom: 1px dashed #3A4044; }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(56px, 7vw, 88px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
}
.hero-copy { flex: 999 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.dots { display: flex; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(42px, 5.6vw, 74px); line-height: 1.04; letter-spacing: -0.03em;
  color: #FFFFFF;
}
.hero-lead { max-width: 580px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }
.hero-media { flex: 1 1 400px; min-width: 0; position: relative; padding-bottom: 40px; }

.ticket-badge {
  position: absolute; left: -24px; bottom: 0; width: 280px; max-width: 80%;
  background: var(--accent); color: var(--ink); border-radius: 18px;
  padding: 20px 30px; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 12px;
}
.ticket-holes { display: flex; gap: 8px; }
.ticket-hole { width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.ticket-text { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.35; }

/* ---------- Logo-Leiste -------------------------------------------------- */
.logos { border-top: 1px solid #23272B; border-bottom: 1px solid #23272B; }
.logos-inner {
  padding: 36px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px;
}
.logos-title {
  flex: 0 0 auto; font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.logos-grid {
  flex: 1 1 600px; min-width: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px;
}
.logo-cell {
  height: 56px; border: 1px dashed #3A4044; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted);
}

/* ---------- Angebote ----------------------------------------------------- */
.offers-grid {
  padding: clamp(64px, 8vw, 112px) var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 24px;
}
.card {
  border-radius: 22px; padding: 40px clamp(30px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 16px;
}
.card--dark { background: var(--bg); color: var(--text); }
.card--white { background: #FFFFFF; }
.card-title {
  font-family: var(--font-head); font-weight: 800; font-size: 25px;
  line-height: 1.2; letter-spacing: -0.02em;
}
.card-text { font-size: 16px; color: #474E4C; }
.card--dark .card-text { color: #B6BDBA; }
.card-link { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 15px; }

/* ---------- Nachhaltigkeit ---------------------------------------------- */
.sustain-intro { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.sustain-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.principles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden;
}
.principle { background: var(--bg); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.principle-num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--accent); }
.principle-title {
  font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; color: #FFFFFF;
}
.principle-text { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Plattform ---------------------------------------------------- */
.platform-intro { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.platform-head { flex: 1 1 360px; min-width: 0; }
.platform-body { flex: 1.4 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; color: #474E4C; }
.platform-lead { font-size: 20px; color: #121417; }
.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px;
}

/* ---------- Module ------------------------------------------------------- */
.modules-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px;
}
.modules-head-copy { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.modules-note { max-width: 420px; color: var(--muted); }
.module-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px;
}
.module {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 12px;
}
.module-title { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: #FFFFFF; }
.module-text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.module-cta {
  background: var(--accent); color: var(--ink); border-radius: 18px; padding: 26px 24px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.module-cta-text { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.35; }
.module-cta-link { color: var(--ink); font-weight: 600; font-size: 15px; }

/* ---------- Praxis / Referenzen ----------------------------------------- */
.practice { border-top: 1px solid #23272B; }
.practice-head { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.practice-lead { color: var(--muted); font-size: 19px; }
.case-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 24px;
}
.case {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  overflow: hidden; display: flex; flex-direction: column;
}
.case-body { padding: 30px 30px 34px; display: flex; flex-direction: column; gap: 14px; }
.case-meta { display: flex; justify-content: space-between; align-items: center; }
.case-num { font-family: var(--font-head); font-weight: 800; font-size: 32px; color: var(--accent); }
.case-tag {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.case-title {
  font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.25; color: #FFFFFF;
}
.case-text { color: var(--soft); font-size: 16px; }
.practice-closing {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35; color: #FFFFFF; max-width: 860px;
}

/* ---------- Kundenstimmen ------------------------------------------------ */
.testimonial-main {
  background: #FFFFFF; border-radius: 24px;
  padding: clamp(36px, 5vw, 64px) clamp(36px, 6vw, 88px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px;
}
.avatar-lg {
  flex: 0 0 160px; height: 160px; border-radius: 50%; border: 1px dashed #B9BEBB;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #474E4C; text-align: center;
}
.testimonial-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.quote-lg {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35; letter-spacing: -0.01em;
}
.caption { font-size: 16px; color: #474E4C; }
.caption strong, .testimonial-caption strong { color: #121417; }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px;
}
.testimonial {
  background: #FFFFFF; border-radius: 22px; padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
}
.quote { font-size: 18px; line-height: 1.6; }
.testimonial-caption { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #474E4C; }
.avatar-sm { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px dashed #B9BEBB; }

/* ---------- Band „Formate mit Anspruch“ --------------------------------- */
/* Auskommentierung wg fehlender Kundenstimmen
.band-wrap { padding: clamp(72px, 9vw, 120px) var(--gutter) 0; }*/
.band {
  box-sizing: border-box; background: var(--accent); color: var(--ink); border-radius: 28px;
  padding: clamp(48px, 7vw, 88px) clamp(36px, 7vw, 96px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px;
}
.band-title {
  flex: 1 1 320px; min-width: 0; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.03em;
}
.band-text { flex: 1.4 1 420px; min-width: 0; font-size: 18px; line-height: 1.65; }

/* ---------- Kontakt ------------------------------------------------------ */
.contact-inner { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.contact-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 12px; }
.contact-card {
  flex: 1 1 380px; min-width: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 36px; display: flex; flex-direction: column; gap: 20px;
}
.contact-person { display: flex; align-items: center; gap: 20px; }
.contact-name { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: #FFFFFF; }
.contact-role { font-size: 15px; color: var(--muted); }
.contact-divider { border-top: 2px dashed #33393D; }
.contact-links { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.contact-address { font-style: normal; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Hinweis zu den Anwendern ------------------------------------ */
.clients-note { border-top: 1px solid #23272B; }
.clients-note-inner {
  padding: 32px var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 16px 32px; font-size: 14px; color: var(--muted);
}
.clients-note-text { font-size: 13px; color: var(--muted); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { border-top: 1px solid #23272B; }
.footer-inner {
  padding: 32px var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px 32px; font-size: 14px; color: var(--muted);
}
.footer-logo { height: 30px; width: auto; display: block; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--muted); }

/* ---------- Linkfarben stabil halten ------------------------------------
   Die globalen Regeln a:hover und .light a:hover (oben) würden sonst greifen. Als Inline-Style hatten diese
   Linkfarben automatisch Vorrang, als Klassen nicht. Die höhere Spezifität
   (.page a.klasse, auch im :hover-Zustand) stellt das alte Verhalten wieder her:
   kein Farbwechsel beim Überfahren (Ausnahme: Navigationslinks). Der Helligkeitseffekt von .btn:hover bleibt. */
.page a.nav-link { color: #C9CFCC; }
.page a.nav-link:hover { color: #5FD3A2; }   /* Hover-Farbe wie globales a:hover */
.page a.pill--accent,     .page a.pill--accent:hover     { color: var(--ink); }
.page a.pill--outline,    .page a.pill--outline:hover    { color: var(--text); }
.page a.card-link,        .page a.card-link:hover        { color: var(--accent); }
.page a.module-cta-link,  .page a.module-cta-link:hover  { color: var(--ink); }
.page .footer-nav a,      .page .footer-nav a:hover      { color: var(--muted); }
