/*
Theme Name: Webseite Movewerk
Theme URI: https://movewerk.com
Author: Movewerk
Description: Offizielles Webseiten-Theme von Movewerk – Videoschnitt, Webdesign und Fotografie für den Mittelstand. Apple-inspiriertes Design mit schwebender Navigation, Preisrechner und Terminbuchung. (Aktive Live-Version.)
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: movewerk
*/

/* ============================================================
   Movewerk — Shared Stylesheet
   Movewerk Corporate Stylesheet
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #0b0b0d;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-faint: #a1a1a6;
  --accent: #0a6cf5;
  --accent-ink: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --radius-lg: 28px;
  --nav-h: 56px;
  --container: 1080px;
  --container-wide: 1280px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.03), 0 6px 20px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 2px 6px rgba(0, 0, 0, 0.05), 0 18px 40px rgba(0, 0, 0, 0.09);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: rgba(10, 108, 245, 0.18); }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  color: var(--ink);
}

.display {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.headline {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.subhead {
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 400;
  text-wrap: pretty;
  margin: 0;
}

.eyebrow {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

p { margin: 0 0 1em 0; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--ink-soft); }
.small { font-size: 14px; }

/* ---------- Layout ---------- */

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

.container.wide { max-width: var(--container-wide); }

section { padding: clamp(64px, 9vw, 120px) 0; }

section.tight { padding: clamp(40px, 6vw, 72px) 0; }

.section-alt { background: var(--bg-alt); }

.section-dark {
  background: var(--bg-dark);
  color: #f5f5f7;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #f5f5f7; }
.section-dark .lede, .section-dark .muted { color: rgba(245, 245, 247, 0.65); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { margin-top: 18px; }

/* ---------- Nav (floating pill) ---------- */

.nav {
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 100;
  padding: 0 16px;
}

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 10px 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.nav-logo {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo .logo-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links > a:not(.nav-cta), .nav-dd > button {
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.nav-links > a:not(.nav-cta):hover, .nav-dd > button:hover { color: var(--ink); background: rgba(0, 0, 0, 0.045); text-decoration: none; }
.nav-links > a:not(.nav-cta).active, .nav-dd > button.active { color: var(--ink); font-weight: 600; }

.nav-dd { position: relative; }
.nav-dd > button .chev {
  width: 9px; height: 9px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
  margin-left: 1px;
}
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: rgba(255, 255, 255, 1);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-dd::after {
  /* hover bridge so the menu doesn't close in the gap */
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 14px;
}
.nav-dd.open .nav-dd-menu,
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dd.open > button .chev,
.nav-dd:hover > button .chev { transform: rotate(225deg) translateY(-2px); }
.nav-dd-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.nav-dd-menu a:hover { background: rgba(0, 0, 0, 0.05); text-decoration: none; }
.nav-dd-menu a.active { color: var(--accent); }
.nav-dd-menu .dd-sep { height: 1px; background: var(--line); margin: 6px 8px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ink) !important;
  background: var(--accent);
  padding: 9px 18px;
  border-radius: 999px;
  margin-left: 6px;
  transition: filter 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.08); text-decoration: none; }

.nav-burger {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 20px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: calc(var(--nav-h) + 48px) 32px 40px;
  overflow-y: auto;
}
.nav-mobile .group-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
  margin: 16px 4px 4px;
}
.nav-mobile a {
  display: block;
  padding: 11px 4px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover { text-decoration: none; }
.nav-mobile a.nav-cta-mobile {
  margin-top: 16px;
  border: none;
  background: var(--accent);
  color: #fff;
  text-align: center;
  border-radius: 999px;
  font-weight: 600;
  padding: 13px 20px;
}

body.menu-open .nav-mobile { display: block; }
body.menu-open { overflow: hidden; }

main { padding-top: calc(var(--nav-h) + 28px); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease, background 0.18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { filter: brightness(1.3); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.btn-ghost:hover { background: rgba(10, 108, 245, 0.07); }

.btn-lg { font-size: 19px; padding: 17px 34px; }
.btn-sm { font-size: 14.5px; padding: 10px 20px; }

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.text-link {
  font-weight: 500;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.text-link::after { content: "›"; font-size: 19px; transition: transform 0.18s ease; }
.text-link:hover::after { transform: translateX(3px); }
.text-link:hover { text-decoration: none; }

/* ---------- Cards & Grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg);
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card.hoverable:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-card-hover);
}

a.card { color: var(--ink); }
a.card:hover { text-decoration: none; }

.card h3 { font-size: 22px; letter-spacing: -0.015em; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 16px; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- Check list ---------- */

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" fill="black" stroke="none"/><path d="M8 12.5l2.6 2.6L16 9.5" stroke="white"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" fill="black" stroke="none"/><path d="M8 12.5l2.6 2.6L16 9.5" stroke="white"/></svg>') center / contain no-repeat;
  background: var(--accent);
}

/* ---------- Price tags ---------- */

.price-tag {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-block;
}

/* ---------- FAQ ---------- */

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  padding: 16px 36px 16px 0;
  list-style: none;
  position: relative;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 300;
  color: var(--ink-soft);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 0 18px; max-width: 680px; }

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

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 44px;
}
.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--ink-soft); }
.footer a:hover { color: var(--ink); text-decoration: none; }
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { max-width: 280px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .legal-links { display: flex; gap: 18px; }

/* ---------- Reveal animation ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.instant { transition: none; }
  .reveal.d1 { transition-delay: 0.08s; }
  .reveal.d2 { transition-delay: 0.16s; }
  .reveal.d3 { transition-delay: 0.24s; }
}

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

.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px rgba(10, 108, 245, 0.15);
}

/* ---------- Misc ---------- */

.stat-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-faint);
}

.breadcrumb {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--ink-soft); }

image-slot { background: var(--bg-alt); }

/* ---------- Image placeholder ---------- */
.img-placeholder {
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.section-dark .img-placeholder { background: rgba(255,255,255,0.06); color: rgba(245,245,247,0.3); }

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

@media (max-width: 1140px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; margin-left: 0; }
  .nav-cta { margin-left: auto; }
}

/* Tablets */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  /* zweispaltige Inhaltsblöcke stapeln, große Inline-Gaps zähmen */
  .grid-2 { grid-template-columns: 1fr; gap: 36px !important; }
}

@media (max-width: 820px) {
  section { padding: clamp(48px, 9vw, 80px) 0; }
  .display { font-size: clamp(32px, 7vw, 52px) !important; }
  .headline { font-size: clamp(27px, 5.4vw, 40px) !important; }
  /* harte Zeilenumbrüche in Headlines schon ab Tablet neutralisieren */
  .display br, .headline br { display: none; }
  h1, h2, h3, .display, .headline { overflow-wrap: anywhere; }
}

/* Phones */
@media (max-width: 600px) {
  :root { --nav-h: 52px; }

  .container { padding: 0 18px; }

  section { padding: 48px 0; }
  section.tight { padding: 36px 0; }

  /* Typo: kleinere Minima, damit nichts über den Rand läuft */
  .display { font-size: clamp(29px, 8.6vw, 38px) !important; line-height: 1.08; letter-spacing: -0.02em; }
  .headline { font-size: clamp(25px, 7.4vw, 32px) !important; line-height: 1.12; }
  .subhead { font-size: clamp(18px, 5vw, 22px); }
  .lede { font-size: 17px; line-height: 1.45; }
  .eyebrow { font-size: 13px; }

  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Karten / Sektionen kompakter */
  .card { padding: 26px 22px; }
  .section-head { margin-bottom: 28px; }

  /* Buttons stapeln und volle Breite */
  .btn-row { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .btn-lg { font-size: 17px; padding: 15px 24px; }

  .nav-cta { display: none; }
  .nav-burger { margin-left: auto; }
  .nav-inner { padding: 0 8px 0 18px; }

  .logo-strip { gap: 12px 26px; font-size: 16px; }
  .stat-num { font-size: 42px; }

  /* harte Zeilenumbrüche in Headlines auf dem Handy neutralisieren */
  .display br, .headline br { display: none; }
}

@media (max-width: 380px) {
  .display { font-size: clamp(26px, 8.4vw, 32px) !important; }
}

/* ============================================================
   MOBILE- & ELEMENTOR-HÄRTUNG (überschreibt fremde globale Typo/Breiten)
   ============================================================ */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, canvas, iframe { max-width: 100%; }
/* Elementor/Plugins dürfen unsere responsiven Headlines nicht aufblähen */
@media (max-width: 820px) {
  body .display { font-size: clamp(32px, 7vw, 52px) !important; }
  body .headline { font-size: clamp(27px, 5.4vw, 40px) !important; }
  body .display br, body .headline br { display: none; }
  body h1, body h2, body h3, body .display, body .headline { overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  body .display { font-size: clamp(29px, 8.6vw, 38px) !important; }
  body .headline { font-size: clamp(25px, 7.4vw, 32px) !important; }
  body .btn-row { flex-direction: column; align-items: stretch; }
  body .btn-row .btn { width: 100%; }
}


/* ============================================================
   MOBILE-HÄRTUNG v3 — Hochformat-Fix (Handy / Tablet / Desktop)
   Verhindert horizontalen Überlauf, der auf Mobilgeräten die
   Viewport-Breite aufbläht und Schrift/Layout sprengt.
   ============================================================ */
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100%; }
*, *::before, *::after { min-width: 0; }
img, svg, video, canvas, iframe, table, pre, .logo-strip span { max-width: 100%; }
.container, .container.wide { width: 100%; }

/* Logo-Platzhalter (austauschbar) */
.logo-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 18px 28px;
  align-items: center;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto;
}
.logo-slots image-slot, .logo-slots .logo-slot {
  width: 100%;
  max-width: 150px;
  height: 56px;
}
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(0, 0, 0, 0.16);
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

@media (max-width: 1140px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; margin-left: 0; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px !important; }
}
@media (max-width: 820px) {
  section { padding: clamp(48px, 9vw, 80px) 0; }
  .display { font-size: clamp(30px, 6.6vw, 52px) !important; }
  .headline { font-size: clamp(26px, 5vw, 40px) !important; }
  .display br, .headline br { display: none; }
  h1, h2, h3, h4, .display, .headline, .subhead, p, span, li { overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  :root { --nav-h: 52px; }
  .container { padding: 0 18px; }
  section { padding: 48px 0 !important; }
  section.tight { padding: 36px 0 !important; }
  .display { font-size: clamp(26px, 8vw, 34px) !important; line-height: 1.1; letter-spacing: -0.02em; }
  .headline { font-size: clamp(23px, 6.6vw, 30px) !important; line-height: 1.14; }
  .subhead { font-size: clamp(18px, 5vw, 22px) !important; }
  .lede { font-size: 16.5px !important; line-height: 1.5; }
  .eyebrow { font-size: 13px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .card { padding: 26px 22px; }
  .section-head { margin-bottom: 28px; }
  .btn-row { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .btn, .btn-row .btn { width: 100%; }
  .btn-lg { font-size: 17px; padding: 15px 24px; }
  .nav-cta { display: none; }
  .nav-burger { margin-left: auto; }
  .nav-inner { padding: 0 8px 0 18px; }
  .logo-strip { gap: 14px 22px; }
  .stat-num { font-size: 42px; }
  .display br, .headline br { display: none; }
}
@media (max-width: 380px) {
  .display { font-size: clamp(23px, 7.6vw, 30px) !important; }
  .container { padding: 0 16px; }
  .logo-slots { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   ZUSATZ: Hero-Verlauf, verschachteltes Dropdown, Related-Links
   ============================================================ */

/* Sanfter Hero-Hintergrund (Startseite) */
.home-hero {
  background: radial-gradient(92% 70% at 50% -8%, rgba(10,108,245,0.13), rgba(124,99,245,0.07) 40%, rgba(255,255,255,0) 72%);
}

/* Verschachteltes Untermenü im Dropdown (Events & Sport unter Branchen) */
.nav-dd-menu .dd-sub { position: relative; }
.nav-dd-menu .dd-sub > .dd-sub-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%;
  padding: 10px 14px; border-radius: 11px;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  background: none; border: none; cursor: pointer; font-family: var(--font);
  text-align: left;
}
.nav-dd-menu .dd-sub > .dd-sub-btn:hover { background: rgba(0,0,0,0.05); }
.nav-dd-menu .dd-sub > .dd-sub-btn.active { color: var(--accent); }
.nav-dd-menu .dd-sub > .dd-sub-btn .chev-r {
  width: 8px; height: 8px;
  border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto; opacity: 0.5;
}
.nav-dd-submenu {
  position: absolute;
  top: -8px; left: calc(100% + 8px);
  min-width: 230px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 10;
}
.nav-dd-submenu a {
  display: block; padding: 10px 14px; border-radius: 11px;
  font-size: 14.5px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.nav-dd-submenu a:hover { background: rgba(0,0,0,0.05); text-decoration: none; }
.nav-dd-submenu a.active { color: var(--accent); }
.nav-dd-submenu .dd-sep { height: 1px; background: var(--line); margin: 6px 8px; }
/* unsichtbare Brücke, damit das Untermenü beim Übergang nicht schließt */
.dd-sub::after { content: ""; position: absolute; top: 0; left: 100%; width: 14px; height: 100%; }
.dd-sub:hover .nav-dd-submenu,
.dd-sub:focus-within .nav-dd-submenu { opacity: 1; visibility: visible; transform: translateX(0); }

/* Interne Verlinkungen (Related-Links auf Dienstleistungsseiten) */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related-link {
  display: flex; flex-direction: column; gap: 5px;
  padding: 20px 22px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.related-link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); text-decoration: none; }
.related-link .rl-cat { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.related-link .rl-title { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.related-link .rl-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }


/* ZUSATZ: Eingebundene Kundenlogos (einheitlich grau, gleiche Größe) */
.logo-img-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 32px;
  max-width: 860px;
  margin: 0 auto;
  align-items: center;
}
.logo-img-strip .cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
}
.logo-img-strip img {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.62;
  transition: opacity 0.2s ease;
}
.logo-img-strip img:hover { opacity: 0.95; }
@media (max-width: 720px) {
  .logo-img-strip { grid-template-columns: repeat(2, 1fr); gap: 22px 24px; }
  .logo-img-strip .cell { height: 60px; }
  .logo-img-strip img { max-height: 48px; }
}
