/* ============================================================
   Jan Gutzeit – Werbefotograf Dresden
   Shared stylesheet – loaded by all pages

   ARCHITECTURE — split-panel layout:
   ┌─ LEFT PANEL (statische Sidebar) ─────────────────────┐
   │  .site-name · .site-subtitle                          │
   │  .left-teaser (h2 + p)                                │
   │  .bottom-links (copyright via main.js)                │
   ├─ MENU LAYER (Overlay, rechts) ────────────────────────┤
   │  .menu-contact-top · .section-label · .menu-main      │
   │  .menu-secondary (Impressum, Social, …)               │
   └─ RIGHT PANEL (scrollbar) ─────────────────────────────┘
     .leistung-hero (100vh Bild)
     .leistung-content (Text, dark bg)

   Design Tokens: --panel-pad, --gutter  (→ :root)
   JS: main.js – Menü, Zoom, Scroll-Hint, Copyright, Theme
   ============================================================ */


/* ── DESIGN TOKENS ── */
:root {
  --panel-pad: 5.55vw 5vw calc(2.2vw - 14px) 3.2vw;
  --gutter:    3.2vw;
}

/* ── RESET ── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }


/* ── SKIP LINK (accessibility: keyboard users) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: .5rem 1rem;
  background: #212529;
  color: #fff;
  font-size: .85rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top .15s;
}
.skip-link:focus { top: 0; }


/* ── FOCUS STYLES (keyboard navigation – WCAG 2.1 AA) ── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid #212529;
  outline-offset: 3px;
}
.lightbox-img:focus-visible,
.right-panel img:focus-visible { outline: none; }


/* ── BASE ── */
html,
body {
  height: 100%;
  min-height: 100dvh;
  font-family: 'Neue Helvetica', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.5vw;
  color: #212529;
  background: #fff;
}

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


/* ── VISUALLY HIDDEN (SEO h1) ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}


/* ============================================================
   TYPOGRAPHY — DESKTOP BASELINE
   Shared selectors cover left panel + menu layer + right panel
   ============================================================ */

/* HEAD – name */
.site-name {
  font-size: 5vw; font-weight: 700; line-height: 1; text-transform: uppercase;
}
.site-name { margin-bottom: 1.5vw; flex-shrink: 0; }
.site-name a { color: inherit; }

/* HEAD – subtitle */
.site-subtitle {
  font-size: 1.55vw; font-weight: 300; letter-spacing: .16em;
  text-transform: uppercase; color: #212529;
}
.site-subtitle { flex-shrink: 0; }

/* LEFT PANEL – Teaser-Block (oben: Logo/Subtitle,
unten: Teaser + Copyright) */
.left-teaser {
  margin-top: auto;
  padding-bottom: 0;
  flex-shrink: 0;
}
.left-teaser h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #212529;
}
.left-teaser p {
  font-size: 1.55vw;
  line-height: 1.6;
  color: #212529;
  max-width: 420px;
  margin-top: 1.4rem;
}
.left-teaser p + p { margin-top: 0.7rem; }
html[data-theme="dark"] .left-teaser h2 { color: #fff; }
html[data-theme="dark"] .left-teaser p { color: #fff; }
.menu-nav .section-label {
  margin-top: 0 !important;
  margin-bottom: 0.8em !important;
  flex-shrink: 0;
  font-size: min(1.4vw, 2.4vh) !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: #fff;
}
html:not([data-theme="dark"]) .menu-nav .section-label { color: #212529; opacity: 1; }

/* Label-Hierarchie: drei Ebenen */

/* Kapitelüberschriften (kleine Uppercase-Labels) */
.section-label,
.ansatz-item h3 {
  font-size: 0.85vw; letter-spacing: .16em; text-transform: uppercase; color: #212529; display: block;
}
/* Abstand vor Abschnittsbezeichnern (Gestalt-Proximität: Raum vor > Raum nach) */
.section-label {
  margin-top:    3em !important;
  margin-bottom: 0.3em !important;
}
.left-panel > .section-label:first-child,
.bio + .section-label,
.section-label:first-child {
  margin-top: 2em !important;
}

/* Ebene 3 – Kleinste Metainfos (Feldlabels) */
.field label { font-size: 0.85vw; letter-spacing: .135em; text-transform: uppercase; color: #212529; }

/* MAIN – body text (left + right panel) */
.bio,
.contact-block-body,
.impr-body,
.kunden-names {
  font-size: 1.55vw; line-height: 1.55; color: #212529;
}

.contact-block-body + .contact-block-body { margin-top: 0.8em; }

/* ── Fließtext Absätze ── */
.bio p,
.left-panel p,
.contact-block-body p,
.ansatz-item p {
  margin-top:    0 !important;
  margin-bottom: 0.85em !important;
  line-height:   1.55;
}
.bio p:last-child {
  margin-bottom: 0;
}

/* ── Bio-Container ── */
.bio {
  margin-top:    0;
  margin-bottom: 0;
}

/* ── Kapitelüberschriften h3 ── */
h3,
.ansatz-item h3 {
  margin-top:    2.5em !important;
  margin-bottom: 0.3em !important;
  line-height:   1.25;
}

.ansatz-item {
  margin-top:    0;
  margin-bottom: 0;
}
/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 400;
  height: 5.55vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 3.2vw;
  background: transparent;
  pointer-events: none;
}
.navbar > * { pointer-events: all; }
.navbar-right { display: flex; align-items: center; gap: 1vw; }


/* ── CALL ME BUTTON ── */
.call-me {
  width: 2.6vw; height: 2.6vw;
  border: 1px solid #212529; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .5vw; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase;
  text-align: center; line-height: 1.3;
  padding-top: 5px;
  transition: background .2s, color .2s;
}
.call-me:hover { background: #212529; color: #fff; }


/* ── HAMBURGER TOGGLER ── */
.toggler {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: .32vw; padding: .4vw;
}
.toggler span { display: block; width: 1.5vw; height: 2px; background: #212529; }


/* ── MENU OVERLAY ── */
.menu-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; width: 50%;
  background: #fff; z-index: 500;
  display: flex; flex-direction: column;
  padding: min(5.55vw, 8vh) 3.2vw calc(2.2vw - 14px);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.77,0,.175,1);
}
.menu-overlay.open { transform: translateX(0); }

.menu-backdrop {
  display: none;
  position: fixed; inset: 0;
  z-index: 498;
  background: rgba(0,0,0,.35);
  cursor: pointer;
}
.menu-backdrop.open { display: block; }

.menu-close {
  position: absolute; top: 0; right: 3.2vw;
  height: 5.55vw; display: flex; align-items: center;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 2vw; font-weight: 300; color: #212529;
}
/* ── MENU NAV – neue Struktur ── */
.menu-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  min-height: 0;
  padding-top: min(3vw, 4vh);
  padding-bottom: 0;
  overflow: hidden;
}
.menu-main {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-main > li { margin-bottom: 0.5em; }

.menu-main > li > a,
.menu-parent {
  font-size: min(1.4vw, 2.4vh);
  font-weight: 400;
  letter-spacing: 0.036em;
  color: #fff;
  text-decoration: none;
  cursor: default;
  display: block;
  padding: 0.15em 0;
  transition: opacity 0.2s;
}
.menu-main > li > a { cursor: pointer; }
.menu-main > li > a:hover { opacity: 0.6; }

.menu-sub {
  list-style: none;
  padding: 0.3em 0 0.5em 1.2em;
  margin: 0;
}
.menu-sub li { margin-bottom: 0.3em; }
.menu-sub a {
  font-size: min(1.2vw, 2vh);
  letter-spacing: 0.054em;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.menu-sub a:hover { color: #fff; }

.menu-secondary {
  list-style: none;
  padding: min(1.2vw, 1.8vh) 0 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em 1.5em;
  flex-shrink: 0;
}
.menu-secondary a {
  font-size: min(0.65vw, 1.2vh);
  letter-spacing: 0.126em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.menu-secondary a:hover { color: #fff; }

/* Kontaktinfos oben im Menü */
.menu-contact-top {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  margin-bottom: 1.8em;
  flex-shrink: 0;
}
.menu-contact-top a {
  font-size: min(1.4vw, 2.4vh);
  font-weight: 400;
  letter-spacing: 0.036em;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.menu-contact-top a:hover { color: #fff; }

/* Light mode */
html:not([data-theme="dark"]) .menu-main > li > a,
html:not([data-theme="dark"]) .menu-parent { color: #1a1a1a; }
html:not([data-theme="dark"]) .menu-sub a { color: #212529; }
html:not([data-theme="dark"]) .menu-sub a:hover { color: #1a1a1a; }
html:not([data-theme="dark"]) .menu-secondary a { color: #212529; }
html:not([data-theme="dark"]) .menu-secondary a:hover { color: #212529; }
html:not([data-theme="dark"]) .menu-contact-top a { color: #212529; }
html:not([data-theme="dark"]) .menu-contact-top a:hover { color: #212529; }

/* Menu responsive */
@media (max-width: 768px) {
  .menu-nav { padding-top: min(10vw, 6vh); }
  .menu-contact-top a { font-size: min(6.5vw, 4.5vh); }
  .menu-main > li > a,
.menu-parent { font-size: min(6.5vw, 4.5vh); }
  .menu-sub a { font-size: min(4.5vw, 3vh); }
  .menu-sub { padding-left: 5vw; }
  .menu-secondary a { font-size: min(2.8vw, 1.5vh); }
  .menu-secondary { gap: 0.5em 3vw; padding-top: 4vw; margin-top: auto; }
}
/* Phone Landscape: sehr kurze Höhe – Nav-Links skalieren mit vh */
@media (max-width: 768px) and (orientation: landscape) {
  .menu-overlay { padding: min(10vw, 6vh) 5vw min(3vw, 3vh); }
  .menu-nav { padding-top: min(6vw, 4vh); }
  .menu-contact-top a { font-size: min(6.5vw, 3vh); }
  .menu-main > li > a,
.menu-parent { font-size: min(6.5vw, 3vh); }
  .menu-sub a { font-size: min(4.5vw, 2.1vh); }
  .menu-secondary a { font-size: min(2.8vw, 1.5vh); }
  .menu-secondary { margin-top: auto; padding-top: min(2vw, 1.5vh); }
}
@media (min-width: 769px) and (max-width: 1100px) and (orientation: portrait) {
  .menu-contact-top a { font-size: min(3.5vw, 3vh); }
  .menu-main > li > a,
.menu-parent { font-size: min(3.5vw, 3vh); }
  .menu-sub a { font-size: min(2.5vw, 2.1vh); }
  .menu-secondary a { font-size: min(1.8vw, 1.8vh); }
}
/* Tablet (769–1440px): arrow-link + menu-secondary lesbar */
@media (min-width: 769px) and (max-width: 1440px) {
  .arrow-link { font-size: min(1.2vw, 1.6vh) !important; }
  .menu-secondary a { font-size: min(1.2vw, 1.6vh) !important; }
}


/* ── THEME TOGGLE ── */
.theme-toggle {
  background: none; border: none; cursor: pointer;
  color: #212529; padding: .4vw; line-height: 1;
  display: flex; align-items: center;
  font-size: 1.55vw; transition: opacity .2s;
}
.theme-toggle:hover { opacity: .6; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }


/* ── DARK MODE ── */
html[data-theme="dark"],
html[data-theme="dark"] body { background: #0e0e0e; color: #fff; }

html[data-theme="dark"] .call-me { border-color: #ccc; color: #fff; }
html[data-theme="dark"] .call-me:hover { background: #ccc; color: #1a1a1a; }
html[data-theme="dark"] .toggler span { background: #ccc; }
html[data-theme="dark"] .menu-close { color: #fff; }

html[data-theme="dark"] .menu-overlay { background: #1c1c1c; }

html[data-theme="dark"] .site-name a { color: #fff; }
html[data-theme="dark"] .site-subtitle { color: #fff; }
html[data-theme="dark"] .theme-toggle { color: #fff; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Panels & borders */
html[data-theme="dark"] .left-panel { background: #000; }
html[data-theme="dark"] .right-panel { background: #0e0e0e; border-left-color: #333; border-top-color: #333; }
html[data-theme="dark"] .grid-item { background: #2a2a2a; }
html[data-theme="dark"] .news-thumb { background: #2a2a2a; }
html[data-theme="dark"] .news-item { border-bottom-color: #2e2e2e; }
html[data-theme="dark"] .news-item:first-child { border-top-color: #2e2e2e; }

/* Text */
html[data-theme="dark"] .impr-body { color: #fff; }
html[data-theme="dark"] .impr-body a { color: #fff; }
html[data-theme="dark"] .bio { color: #fff; }
html[data-theme="dark"] .section-label { color: #fff; }
html[data-theme="dark"] .contact-block-body { color: #fff; }
html[data-theme="dark"] .contact-block-body a { color: #fff; }
html[data-theme="dark"] .news-title { color: #fff; }
html[data-theme="dark"] .news-excerpt { color: #fff; }
html[data-theme="dark"] .news-date,
html[data-theme="dark"] .news-cat,
html[data-theme="dark"] .news-read { color: #fff; }

/* Form */
html[data-theme="dark"] .field label { color: #fff; }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .field select { color: #fff; border-bottom-color: #444; background: transparent; }
html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field textarea:focus { border-bottom-color: #ddd; }
html[data-theme="dark"] .form-success { color: #fff; }
html[data-theme="dark"] .submit-btn { background: #ddd; color: #1a1a1a; }
html[data-theme="dark"] .submit-btn:hover { background: #fff; }


/* ── SPLIT LAYOUT (shared by all pages) ── */
#wrapper { display: flex; height: 100vh; height: 100dvh; overflow: hidden; }
.left-panel { width: 50%; padding: 5.55vw 5vw 1rem 3.2vw; display: flex; flex-direction: column; flex-shrink: 0; overflow-y: auto; }
.right-panel { flex: 1; height: 100vh; height: 100dvh; overflow-y: auto; }

/* ── LEFT PANEL VARIANTS ── */
/* Index: Split-Panel wie andere Seiten */
/* Kontaktseite: linkes Panel wie alle anderen Seiten */
html[data-page="kontakt"] .left-panel { overflow-y: hidden; }

/* ── RIGHT PANEL VARIANTS ── */
/* Index: rechtes Panel scrollbar wie andere Seiten */
html[data-page="index"] .right-panel { display: flex; flex-direction: column; overflow-y: auto; }
/* Karussell-Bilder im leistung-hero per Opacity einblenden */
html[data-page="index"] .leistung-hero img { opacity: 0; transition: opacity 1.2s ease; }
html[data-page="index"] .leistung-hero img.active { opacity: 1; }

/* Seiten mit statischer Sidebar + scrollbarem rechten Bereich */
html[data-page="about"] .left-panel,
html[data-page="index"] .left-panel,
html[data-page="leistungen"] .left-panel { overflow-y: hidden; }
html[data-page="about"] .right-panel,
html[data-page="leistungen"] .right-panel {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
html[data-page="about"] .leistung-hero img { object-position: center top; }

/* Leistungsseiten */
html[data-page="leistungen"] .right-panel {
  overflow-y: auto;
}

/* Hero-Bild (erstes Element im rechten Bereich) */
.leistung-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  flex-shrink: 0;
  overflow: hidden;
}
.leistung-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
/* Fotografie: Goldener Schnitt durch Schleifscheibe */
.leistung-hero.right-panel--fotografie img {
  object-position: 35% 38%;
}

/* Textinhalt unterhalb des Hero-Bildes */
.leistung-content {
  padding: var(--panel-pad);
  display: flex;
  flex-direction: column;
}

/* ── RECHTE SEITE: Typografie-Regeln ──────────────────────────
   Regel 1: Zeilenabstand Fließtext 1.6
   Regel 2: Absatzabstand ≈ 1× Schriftgröße (0.9em)
   Regel 3: Mehr Raum vor Titel als danach
   Regel 4: Titel line-height 1.2
   ─────────────────────────────────────────────────────────── */

/* H2: frei stehend,
ohne Linie – wie ansatz-heading */
.leistung-content .content-headline {
  font-size: 2vw !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-family: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.35 !important;
  color: #212529;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-top: 5.55vw !important;
  margin-bottom: 0.8rem !important;
  display: block;
  opacity: 1;
}

/* H3: Fließtextgröße,
maximales Gewicht,
normale Schreibweise */
.leistung-content .section-label,
.leistung-content h3 {
  font-size: 1.4vw !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-family: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.3 !important;
  color: #212529;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-top: 2rem !important;
  margin-bottom: 0.5em !important;
  display: block;
  opacity: 1;
}
/* Erster Titel: kein oberer Abstand */
.leistung-content > .content-headline:first-child,
.leistung-content > h3:first-child,
.ansatz-text-full > .content-headline { margin-top: 0 !important; }

/* H3 direkt nach H2: kein eigener oberer Abstand – H2-margin-bottom reicht */
.leistung-content .content-headline + h3,
.leistung-content .content-headline + .ansatz-item > h3 { margin-top: 0 !important; }

/* content-headline global (Kontaktseite etc.) – frei stehend, ohne Linie */
.content-headline {
  font-size: 2vw;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
  color: #212529;
  margin-top: 2.5em;
  margin-bottom: 0.8rem;
  font-style: normal;
  border-bottom: none;
  padding-bottom: 0;
  display: block;
}

/* Fließtext: 1.4vw,
Zeilenabstand 1.6,
Absatzabstand 0.9em */
.leistung-content .bio p,
.leistung-content p,
.leistung-content .kunden-names {
  font-size: 1.4vw;
  line-height: 1.6;
  color: #212529;
  margin-bottom: 0.9em !important;
  margin-top: 0 !important;
}
.leistung-content .bio {
  font-size: 1.4vw;
  line-height: 1.6;
  color: #212529;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}
.leistung-content .kunden-names { line-height: 1.8; padding-bottom: 0; margin-bottom: 0 !important; }
.leistung-content .bio p:last-child { margin-bottom: 0 !important; }

/* Dark Mode */
html[data-theme="dark"] .content-headline { color: #fff; }
html[data-theme="dark"] .leistung-content { background: #0e0e0e; }
html[data-theme="dark"] .leistung-content .content-headline { color: #fff; }
html[data-theme="dark"] .leistung-content .content-headline,
html[data-theme="dark"] .leistung-content .section-label,
html[data-theme="dark"] .leistung-content h3 {
  color: #fff;
}
html[data-theme="dark"] .leistung-content .bio p,
html[data-theme="dark"] .leistung-content .bio,
html[data-theme="dark"] .leistung-content p { color: #fff; }

html[data-page="portfolio"] .right-panel { padding: 5.55vw 3.2vw 3vw 1vw; position: relative; }
html[data-page="portfolio"] .right-panel.video-mode { overflow: hidden; padding: 0; }
.portfolio-cat-title {
  font-size: 1.4vw;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: #212529;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1.5vw;
  display: block;
}
html[data-theme="dark"] .portfolio-cat-title { color: #fff; border-color: #fff; }

.video-wrap { display: none; position: absolute; inset: 0; overflow: hidden; }
.video-wrap.active { display: block; }

/* iframe embed */
.video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh;
  height: 100vh;
  min-width: 100%;
  border: none;
}

/* Transparente Klickfläche über dem iframe */
.video-click-zone {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}
.video-click-zone::after {
  content: '';
  position: absolute;
  bottom: 1.5vw; right: 1.5vw;
  width: 2.4vw; height: 2.4vw;
  border: 1.5px solid rgba(255,255,255,.6);
  border-radius: 3px;
  opacity: 0;
  transition: opacity .2s;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cpolyline points='9 21 3 21 3 15'/%3E%3Cline x1='21' y1='3' x2='14' y2='10'/%3E%3Cline x1='3' y1='21' x2='10' y2='14'/%3E%3C/svg%3E")
    center/65% no-repeat;
}
.video-click-zone:hover::after { opacity: 1; }

/* Video-Lightbox */
.video-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.96);
  z-index: 700;
  display: none;
  align-items: center;
  justify-content: center;
}
.video-lightbox.open { display: flex; }
.video-lb-wrap {
  position: relative;
  width: min(88vw, calc(85vh * 16 / 9));
}
.video-lb-wrap iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

/* Thumbnail-Fallback */
.video-thumb-link {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.video-thumb-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.video-thumb-link:hover img { transform: scale(1.03); }
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 4.5vw; height: 4.5vw;
  background: rgba(255,255,255,.88);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  pointer-events: none;
}
.video-thumb-link:hover .video-play-btn {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}
.video-play-btn svg { margin-left: .4vw; }

html[data-page="news"]      .right-panel { padding: 5.55vw 3.2vw 4vw 1vw; }
html[data-page="kontakt"]   .right-panel { padding: 5.55vw 3.2vw 3vw 2vw; display: flex; flex-direction: column; }
html[data-page="rechtliches"]     .right-panel { padding: 5.55vw 3.2vw 4vw 2vw; }
html[data-page="kontakt"] .left-teaser p,
html[data-page="index"]   .left-teaser p { max-width: calc(50vw * 0.618); }


/* ── PORTFOLIO ── */
/* Portfolio: Filterkategorien als Fließtext-Links im left-teaser */
html[data-page="portfolio"] .left-teaser p { margin-top: 1.4rem; }
html[data-page="portfolio"] .left-teaser p a {
  color: #212529;
  text-decoration: none;
  transition: color 0.2s;
}
html[data-page="portfolio"] .left-teaser p a:hover { color: #212529; }
html[data-page="portfolio"] .left-teaser p a.active { color: #212529; text-decoration: underline; }
html[data-theme="dark"][data-page="portfolio"] .left-teaser p a { color: #fff; }
html[data-theme="dark"][data-page="portfolio"] .left-teaser p a:hover,
html[data-theme="dark"][data-page="portfolio"] .left-teaser p a.active { color: #fff; }

.grid { columns: 2; column-gap: .6vw; }
.grid-item { position: relative; overflow: hidden; cursor: pointer; background: #f0f0f0; display: block; width: 100%; break-inside: avoid; margin-bottom: .6vw; }

/* Portfolio-Kategorie-Titel als vollbreiter Trennbalken */
.portfolio-cat-title {
  column-span: all;
  -webkit-column-span: all;
  margin-top: 3vw !important;
  margin-bottom: 1.5vw !important;
}
.portfolio-cat-title:first-child { margin-top: 0 !important; }
.grid-item img { width: 100%; height: auto; display: block; transition: transform .5s ease; will-change: transform; }
.grid-item:hover img { transform: scale(1.06); }
.grid-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: .8vw 1vw; background: linear-gradient(transparent, rgba(0,0,0,.35)); color: #fff; font-size: .7vw; letter-spacing: .09em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.grid-item:hover .grid-caption { opacity: 1; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.94); z-index: 600; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-content { display: flex; flex-direction: column; align-items: center; gap: 1.2vw; }
.lightbox-imgwrap { position: relative; }
.lightbox-img { max-width: 88vw; max-height: 82vh; object-fit: contain; display: block; }
.lightbox-title { position: absolute; bottom: 0; left: 0; right: 0; padding: 2vw 1.5vw 1vw; background: linear-gradient(transparent, rgba(0,0,0,.5)); color: #fff; font-size: .75vw; letter-spacing: .108em; text-transform: uppercase; opacity: 0; transition: opacity .3s; pointer-events: none; }
.lightbox-imgwrap:hover .lightbox-title { opacity: 1; }
.lightbox-close { position: absolute; top: 2vw; right: 3vw; background: none; border: none; cursor: pointer; color: #fff; font-size: 2.4vw; font-weight: 300; font-family: inherit; line-height: 1; opacity: .7; transition: opacity .2s; }
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #fff; font-size: 1.8vw; padding: 1.5vw 2vw; opacity: .5; transition: opacity .2s; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
.lightbox-counter { color: #212529; font-size: .7vw; letter-spacing: .135em; }
.news-list { display: flex; flex-direction: column; }
.news-item { display: grid; grid-template-columns: 12vw 1fr; gap: 0 2vw; padding: 2.2vw 0; border-bottom: 1px solid #e5e5e5; text-decoration: none; color: inherit; transition: opacity .2s; }
.news-item:first-child { border-top: 1px solid #e5e5e5; }
.news-item:hover { opacity: .6; }
.news-thumb { aspect-ratio: 4/3; overflow: hidden; background: #f0f0f0; flex-shrink: 0; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.news-item:hover .news-thumb img { transform: scale(1.04); }
.news-body { display: flex; flex-direction: column; justify-content: center; gap: .5vw; }
.news-meta { display: flex; gap: 1.2vw; align-items: center; }
.news-date { font-size: .65vw; letter-spacing: .135em; text-transform: uppercase; color: #212529; }
.news-cat { font-size: .65vw; letter-spacing: .108em; text-transform: uppercase; color: #212529; }
.news-cat::before { content: '·'; margin-right: 1.2vw; }
.news-title { font-size: 1.55vw; font-weight: 400; line-height: 1.4; }
.news-excerpt { font-size: 1.55vw; line-height: 1.7; color: #212529; margin-top: .2vw; }
.news-read { font-size: .65vw; letter-spacing: .135em; text-transform: uppercase; color: #212529; margin-top: .5vw; }
.contact-block-body { margin-bottom: 0; }
.contact-block-body + .contact-block { margin-top: 0.9em; }
.contact-block { margin-bottom: 0.9em; }
.contact-block-body a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-block-body a:hover { border-color: #212529; }

/* Kontaktseite rechts: Info-Block über dem Formular */
.contact-info-block {
  margin-bottom: 0;
}
.contact-info-block .content-headline { margin-top: 0; margin-bottom: 1.5vw; }
.contact-form { display: flex; flex-direction: column; gap: 1.4vw; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1vw; }
.field { display: flex; flex-direction: column; gap: .35vw; }
.field input,
.field textarea,
.field select { font-family: inherit; font-size: 1vw; font-weight: 300; color: #212529; background: transparent; border: none; border-bottom: 1px solid #d0d0d0; padding: .5vw 0; outline: none; transition: border-color .2s; width: 100%; resize: none; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: #212529; }
.field textarea { min-height: 8vw; }
.submit-btn { align-self: flex-start; margin-top: .5vw; background: #212529; color: #fff; border: none; cursor: pointer; font-family: inherit; font-size: .7vw; font-weight: 500; letter-spacing: .135em; text-transform: uppercase; padding: .9vw 2.2vw; transition: background .2s, color .2s; }
.submit-btn:hover { background: #000; }
.form-success { display: none; font-size: 1vw; line-height: 1.7; color: #212529; padding: 1.5vw 0; }
.form-success.show { display: block; }


/* ── IMPRESSUM / DATENSCHUTZ ── */
.impr-section { margin-bottom: 2.5vw; }
.impr-body { font-size: 1.4vw; line-height: 1.6; color: #212529; }

.impr-body a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.impr-body a:hover { border-color: #212529; }


/* ── LANDING PAGE SECTIONS (index) ── */

/* Index: linkes Panel ohne Scroll */
html[data-page="index"] .left-panel { overflow-y: hidden; }
.ansatz-item h3 { letter-spacing: 0.135em; margin-bottom: 16px; color: #212529; font-weight: 500; }

/* Ansatz: Bild vollbreit + Text – innerhalb von leistung-content */
.leistung-content .ansatz-neu { display: block; margin-bottom: 0; }

/* Ansatz-Bild bricht aus dem leistung-content-Padding heraus → vollbreite Darstellung */
.ansatz-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: calc(-1 * 3.2vw);
  margin-right: calc(-1 * 5vw);
}
.ansatz-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Ansatz-Text: kein eigenes Padding – leistung-content übernimmt */
.ansatz-text-full {
  padding: 2vw 0 2rem;
}

/* Scroll-Hint Overlay */
.scroll-hint {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 0.135em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 90;
  opacity: 1;
  transition: opacity 0.6s ease;
  animation: scrollHintBounce 2s ease-in-out infinite;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.scroll-hint svg { filter: drop-shadow(0 1px 3px rgba(0,0,0,0.35)); }
.scroll-hint--hidden { opacity: 0; pointer-events: none; }

/* Auf Seiten mit Split-Layout: Hint über dem rechten Panel zentrieren */
html[data-page="index"]      .scroll-hint,
html[data-page="leistungen"] .scroll-hint,
html[data-page="portfolio"]  .scroll-hint,
html[data-page="news"]       .scroll-hint,
html[data-page="kontakt"]    .scroll-hint,
html[data-page="about"]      .scroll-hint {
  left: 75%;
}
@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

/* Ansatz-Abschnitt (neu) */
.ansatz-neu { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.ansatz-text { padding: 5.55vw 3.2vw; display: flex; flex-direction: column; justify-content: flex-start; }
/* Overrides: neutralisiert unpassende .left-panel-Eigenschaften */
.ansatz-neu .left-panel { width: auto; overflow-y: visible; justify-content: flex-start; }
/* Heading */

/* Text-Link – Stil wie news-read: klein,
uppercase,
gesperrt */
.arrow-link {
  display: inline-block;
  margin-top: 0.15em;
  text-decoration: none;
  color: #212529;
  font-size: .65vw;
  font-weight: 400;
  letter-spacing: .135em;
  text-transform: uppercase;
  border-bottom: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.arrow-link::after {
  content: ' →';
  display: inline-block;
  transition: transform 0.25s ease;
}
.arrow-link:hover { opacity: 0.6; }
.arrow-link:hover::after { transform: translateX(4px); }
html[data-theme="dark"] .arrow-link { color: #fff; }
/* Items: Padding NUR im ansatz-neu Abschnitt der Landing Page */
.ansatz-neu .ansatz-item { padding: 2rem 0 0; }
.ansatz-neu .ansatz-item:last-child { padding-bottom: 0; }
/* .bio margin-bottom: neutralisiert 2.5vw aus globalem .bio-Stil */
.ansatz-item .bio { margin-bottom: 0; }
.leistung-content .ansatz-item p { margin-bottom: 0 !important; }

/* Index: ansatz-neu — h3 in Items mit eigenem Padding */
.ansatz-neu .ansatz-item > h3 {
  margin-top: 0 !important;
}

/* Leistungsseiten: ansatz-items ohne Container-Padding,
spacing kommt allein aus dem h3 margin-top */
html[data-page="leistungen"] .ansatz-item > h3 {
  margin-top: 1.8em !important;
}
/* Erstes Item direkt nach section-label: weniger Luft */
html[data-page="leistungen"] .section-label + .ansatz-item > h3 {
  margin-top: 1em !important;
}

/* CTA */
.cta-section { text-align: center; padding: 3vw 3.2vw 60px; background: #f8f8f8; }


/* Kunden */
.kunden-section { padding-left: 3.2vw; padding-right: 3.2vw; }
.kunden-section { padding-top: 3vw; padding-bottom: 60px; text-align: left; }
[data-theme="dark"] .cta-section { background: #1c1c1c; }
.leistung-content .cta-section { background: transparent; }
.leistung-content .kunden-section { padding: 2rem 0 0; margin-top: 0; }
.leistung-content .kunden-section .section-label { margin-top: 0 !important; }
.leistung-content .cta-section { padding: 0; margin-top: 0; text-align: left; }
[data-theme="dark"] .ansatz-item h3 { color: #fff; }
/* Neutralisiert das dunkle left-panel im Dark Mode */
[data-theme="dark"] .ansatz-neu .left-panel { background: transparent; }


/* ============================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  html, body { font-size: 3.2vw; overflow: auto; height: auto; min-height: 100%; }

  /* Navbar */
  .navbar { height: 12vw; }
  .navbar-right { gap: 5vw; }
  .call-me { width: 8vw; height: 8vw; font-size: 1.6vw; }
  .toggler { gap: 2.5vw; padding: 1vw; }
  .toggler span { width: 5vw; }
  .theme-toggle { font-size: 4vw; padding: 1vw; }

  /* Menu overlay */
  .menu-overlay { width: 100%; padding-top: 18vw; }
  .menu-close { font-size: 7vw; height: 12vw; right: 5vw; }

  /* HEAD – name + subtitle (left panel & menu unified) */
  .site-name { font-size: 12vw; margin-bottom: 1.2vw; }
  .site-subtitle { font-size: 4vw; letter-spacing: .135em; }
  .site-subtitle { margin-bottom: 4vw; }
  .section-label,
.ansatz-item h3 { font-size: 3.2vw; letter-spacing: .135em; }
  .field label { font-size: 2.8vw; }

  /* MAIN – body text */
  .bio,
.contact-block-body,
.impr-body,
.kunden-names,
.news-excerpt { font-size: 4vw; line-height: 1.8; }

  /* Form inputs */
  .field input,
.field textarea,
.field select { font-size: 3.2vw; padding: 2vw 0; }
  .field textarea { min-height: 25vw; }
  .form-row { grid-template-columns: 1fr; }
  .submit-btn { font-size: 2.5vw; padding: 3vw 6vw; }

  /* Layout – eine einzige scrollbare Seite */
  #wrapper { flex-direction: column; height: auto !important; overflow: visible !important; }
  .left-panel { width: 100%; height: auto !important; overflow: visible !important; min-height: 0; }
  .right-panel { width: 100%; height: auto !important; border-top: none; overflow: visible !important; }
  html[data-page="leistungen"] .left-panel,
html[data-page="about"] .left-panel,
html[data-page="index"] .left-panel,
html[data-page="kontakt"] .left-panel { overflow: visible !important; height: auto !important; }
  .ansatz-neu { grid-template-columns: 1fr; min-height: auto; }
  /* Verhindert,
dass html[data-page="index"] .left-panel das ansatz-text-Padding überschreibt */
  html[data-page="index"] .ansatz-neu .left-panel { padding: 50px 5%; }
  .cta-section { padding: 30px 5% 50px; }
  .kunden-section { padding: 40px 5%; }

  /* ── PAGE-SPECIFIC MOBILE (layout only) ── */

  /* Index */
  html[data-page="index"],
html[data-page="index"] body { overflow: auto; }
  html[data-page="index"] .left-panel { padding: 18vw 5vw 6vw; }
  html[data-page="index"] .right-panel { flex: 0 0 75vw; height: 75vw; }
  html[data-page="index"] .site-name { margin-bottom: 1.5vw; }
  html[data-page="index"] .site-subtitle { margin-bottom: 5vw; }

  /* About */
  html[data-page="about"] .left-panel { padding: 18vw 5vw 8vw; overflow: visible; }
  html[data-page="about"] .right-panel { flex: 0 0 75vw; height: 75vw; }
  html[data-page="about"] .section-label { margin-top: 6vw; }

  /* Portfolio */
  html[data-page="portfolio"] .left-panel { padding: 18vw 5vw 5vw; flex-shrink: initial; }
  html[data-page="portfolio"] .right-panel { padding: 0 4vw 8vw; }
  html[data-page="portfolio"] .grid { column-gap: 2vw; }
  html[data-page="portfolio"] .grid-item { margin-bottom: 2vw; }
  html[data-page="portfolio"] .grid-caption { font-size: 2.5vw; padding: 2vw; }
  html[data-page="portfolio"] .lightbox-close { font-size: 7vw; top: 4vw; right: 5vw; }
  html[data-page="portfolio"] .lightbox-prev,
html[data-page="portfolio"] .lightbox-next { font-size: 6vw; }
  html[data-page="portfolio"] .lightbox-counter { font-size: 3vw; }
  html[data-page="portfolio"] .lightbox-title { font-size: 2.5vw; }
  html[data-page="portfolio"] .lightbox-content { gap: 3vw; }

  /* News */
  html[data-page="news"] .left-panel { padding: 18vw 5vw 5vw; flex-shrink: initial; }
  html[data-page="news"] .right-panel { padding: 0 5vw 10vw; }
  html[data-page="news"] .news-item { grid-template-columns: 28vw 1fr; gap: 0 4vw; padding: 5vw 0; }
  html[data-page="news"] .news-date,
html[data-page="news"] .news-cat,
html[data-page="news"] .news-read { font-size: 2.2vw; }
  html[data-page="news"] .news-title { font-size: 4vw; }
  html[data-page="kontakt"] .left-panel { padding: 18vw 5vw 6vw; overflow: visible; }
  html[data-page="kontakt"] .right-panel { padding: 6vw 5vw 10vw; overflow: visible; }

  /* Legal */
  html[data-page="rechtliches"] .left-panel { padding: 18vw 5vw 6vw; }
  html[data-page="rechtliches"] .right-panel { padding: 6vw 5vw 10vw; }

  /* Spacing hierarchy fix – mobile portrait (font ~4vw,
p+p ≈ 4.8vw) */
  .contact-block { margin-bottom: 6vw; }
  .contact-block-body { margin-bottom: 0; }
  .contact-block-body + .contact-block { margin-top: 8vw; }
  .impr-section { margin-bottom: 6vw; }

  /* Typografie – mobile Anpassungen */
  .bio p,
.left-panel p {
    margin-top:    0 !important;
    margin-bottom: 0.9em;
  }
  .section-label {
    margin-top: 2.5em !important;
  }
}


/* ============================================================
   RESPONSIVE — PHONE LANDSCAPE (≤768px,
landscape)
   Stellt das 2-Spalten-Layout wieder her; überschreibt Mobile-Hochformat
   ============================================================ */
@media (max-width: 768px) and (orientation: landscape) {
  html, body { font-size: 2.4vw; }

  /* Navbar kompakter */
  .navbar { height: 7vw; }
  .menu-overlay { padding-top: 10vw; }
  .menu-close { height: 7vw; }

  /* 2-Spalten-Layout wiederherstellen */
  #wrapper { flex-direction: row; height: 100vh; overflow: hidden; }
  .left-panel { width: 50%; height: 100vh; overflow-y: auto; }
  .right-panel { width: 50%; height: 100vh; border-top: none; }

  /* Index-Seite */
  html[data-page="index"] .left-panel { padding: 9vw 4vw 3vw; }
  html[data-page="index"] .right-panel { flex: 0 0 50%; height: 100vh; }
  html[data-page="index"] .site-subtitle { margin-bottom: 1.5vw; }

  /* Typografie */
  .site-name { font-size: 7vw; }
  .site-subtitle { font-size: 1.8vw; }
  .section-label,
.ansatz-item h3 { font-size: 1.8vw; }
  .bio,
.contact-block-body,
.impr-body,
.kunden-names,
.news-excerpt { font-size: 2.4vw; line-height: 1.7; }
  .cta-section { padding: 4vw 5%; }
  .kunden-section { padding: 4vw 5%; }
}


/* ============================================================
   RESPONSIVE — ZOOM-SCALING (769–1440px,
landscape)
   Wird via JavaScript in main.js gesetzt:
   document.documentElement.style.zoom = vw / 1440
   ============================================================ */


/* ============================================================
   RESPONSIVE — TABLET PORTRAIT (769–1100px,
portrait)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1100px) and (orientation: portrait) {
  html, body { font-size: 3vw; overflow: auto; height: auto; min-height: 100%; }

  /* Navbar */
  .navbar { height: 9vw; }
  .navbar-right { gap: 3vw; }
  .call-me { width: 5.5vw; height: 5.5vw; font-size: 1vw; }
  .toggler { gap: 1.8vw; padding: .7vw; }
  .toggler span { width: 3.5vw; }
  .theme-toggle { font-size: 3vw; padding: .7vw; }

  /* Menu overlay */
  .menu-overlay { width: 100%; padding-top: 14vw; }
  .menu-close { font-size: 6vw; height: 9vw; right: 4vw; }

  /* Layout – eine einzige scrollbare Seite */
  #wrapper { flex-direction: column; height: auto !important; overflow: visible !important; }
  .left-panel { width: 100%; height: auto !important; overflow: visible !important; min-height: 0; }
  .right-panel { width: 100%; height: auto !important; border-top: none; overflow: visible !important; }
  html[data-page="leistungen"] .left-panel,
html[data-page="about"] .left-panel,
html[data-page="index"] .left-panel,
html[data-page="kontakt"] .left-panel { overflow: visible !important; height: auto !important; }

  /* HEAD – unified */
  .site-name { font-size: 10vw; margin-bottom: 1vw; }
  .site-subtitle { font-size: 3.6vw; letter-spacing: .135em; }
  .site-subtitle { margin-bottom: 3vw; }
  .section-label,
.ansatz-item h3 { font-size: 2.2vw; }
  .field label { font-size: 1.9vw; }

  /* MAIN – body text */
  .bio,
.contact-block-body,
.impr-body,
.kunden-names,
.news-excerpt { font-size: 3vw; line-height: 1.8; }

  /* Form inputs */
  .field input,
.field textarea,
.field select { font-size: 2.6vw; padding: 1.5vw 0; }
  .field textarea { min-height: 18vw; }
  .form-row { grid-template-columns: 1fr; }
  .submit-btn { font-size: 2.2vw; padding: 2.2vw 5vw; }
  .ansatz-neu { grid-template-columns: 1fr; min-height: auto; }
  /* Verhindert,
dass html[data-page="index"] .left-panel das ansatz-text-Padding überschreibt */
  html[data-page="index"] .ansatz-neu .left-panel { padding: 60px 5%; }
  .cta-section { padding: 35px 5% 55px; }
  .kunden-section { padding: 50px 5%; }

  /* ── PAGE-SPECIFIC TABLET PORTRAIT (layout only) ── */

  /* Index */
  html[data-page="index"],
html[data-page="index"] body { overflow: auto; }
  html[data-page="index"] .left-panel { padding: 14vw 4vw 5vw; }
  html[data-page="index"] .right-panel { flex: 0 0 60vw; height: 60vw; }
  html[data-page="index"] .site-name { margin-bottom: 1vw; }
  html[data-page="index"] .site-subtitle { margin-bottom: 4vw; }

  /* About */
  html[data-page="about"] .left-panel { padding: 14vw 4vw 6vw; overflow: visible; }
  html[data-page="about"] .right-panel { flex: 0 0 60vw; height: 60vw; }
  html[data-page="about"] .section-label { margin-top: 5vw; }

  /* Portfolio */
  html[data-page="portfolio"] .left-panel { padding: 14vw 4vw 4vw; flex-shrink: initial; }
  html[data-page="portfolio"] .right-panel { padding: 0 3vw 6vw; }
  html[data-page="portfolio"] .grid { column-gap: 1.5vw; }
  html[data-page="portfolio"] .grid-caption { font-size: 2vw; padding: 1.5vw; }
  html[data-page="portfolio"] .lightbox-close { font-size: 5vw; top: 3vw; right: 4vw; }
  html[data-page="portfolio"] .lightbox-prev,
html[data-page="portfolio"] .lightbox-next { font-size: 4.5vw; }
  html[data-page="portfolio"] .lightbox-counter { font-size: 2.2vw; }
  html[data-page="portfolio"] .lightbox-title { font-size: 2vw; }
  html[data-page="portfolio"] .lightbox-content { gap: 2vw; }

  /* News */
  html[data-page="news"] .left-panel { padding: 14vw 4vw 4vw; flex-shrink: initial; }
  html[data-page="news"] .right-panel { padding: 0 4vw 8vw; }
  html[data-page="news"] .news-item { grid-template-columns: 22vw 1fr; gap: 0 3vw; padding: 4vw 0; }
  html[data-page="news"] .news-date,
html[data-page="news"] .news-cat,
html[data-page="news"] .news-read { font-size: 2vw; }
  html[data-page="news"] .news-title { font-size: 3vw; }
  html[data-page="kontakt"] .left-panel { padding: 14vw 4vw 5vw; overflow: visible; }
  html[data-page="kontakt"] .right-panel { padding: 5vw 4vw 8vw; overflow: visible; }

  /* Legal */
  html[data-page="rechtliches"] .left-panel { padding: 14vw 4vw 5vw; }
  html[data-page="rechtliches"] .right-panel { padding: 5vw 4vw 8vw; }

  /* Spacing hierarchy fix – tablet portrait (font ~2.5vw,
p+p ≈ 3vw) */
  .contact-block { margin-bottom: 4vw; }
  .contact-block-body { margin-bottom: 0; }
  .contact-block-body + .contact-block { margin-top: 5vw; }
  .impr-section { margin-bottom: 4vw; }

  /* ── TYPOGRAFIE-ANPASSUNGEN PORTRAIT ── */

  /* Burger-Menü: Lücken so eng,
dass 3 Striche = Mond-Höhe */
  .toggler { gap: 1.1vw; }

  /* Scroll-Hint: horizontal zentriert */
  .scroll-hint { left: 50% !important; }

  /* Subheadline: etwas kleiner */
  .site-subtitle { font-size: 2.4vw; }

  /* Abstand zwischen Subheadline und Teaser-Text */
  .left-teaser { margin-top: 10vw; }

  /* Left-teaser Text: größer */
  .left-teaser p { font-size: 3.3vw !important; max-width: none; margin-top: 2vw; }
  .left-teaser p + p { margin-top: 1.5vw; }

  /* H2 im Content-Bereich: größer */
  .leistung-content .content-headline,
.content-headline { font-size: 6vw !important; margin-top: 6vw !important; margin-bottom: 2vw !important; }

  /* H3 im Content-Bereich: größer */
  .leistung-content .section-label,
.leistung-content h3 { font-size: 3.8vw !important; margin-top: 5vw !important; }

  /* Fließtext im Content-Bereich: größer */
  .leistung-content .bio p,
.leistung-content .bio,
.leistung-content p,
.leistung-content .kunden-names { font-size: 3.3vw !important; }

  /* arrow-link (mehr →): etwas kleiner als zuvor */
  .arrow-link { font-size: 2.2vw !important; }

  /* Mehr Platz nach "Kontakt →" */
  .leistung-content .cta-section { padding: 6vw 0 6vw !important; }

  /* Menü "MENÜ" Label: größer */
  .menu-nav .section-label { font-size: min(3.5vw, 3vh) !important; }

  /* Horizontales Menü (Secondary): etwas kleiner */
  .menu-secondary a { font-size: min(2.0vw, 1.8vh) !important; }

  /* Menü-Layer: doppelte Einrückung links,
eine Zeilenhöhe weniger unten */
  .menu-overlay { padding-left: 6.4vw; padding-bottom: 4vw; }

  /* Hauptmenü: größere Schrift */
  .menu-contact-top a,
.menu-main > li > a,
.menu-parent { font-size: min(5vw, 4.5vh) !important; }
  .menu-sub a { font-size: min(3.5vw, 3vh) !important; }

  /* Teaser-Überschrift: fett */
  .left-teaser h2 { font-weight: 700 !important; }
}


/* ============================================================
   RESPONSIVE — ALLE MITTLEREN BILDSCHIRME (769–1400px)
   Zitat-Schriftgröße für Tablet landscape + portrait
   ============================================================ */


/* ============================================================
   RESPONSIVE — FOLDABLE / KLEINE TABLETS QUER (769–1100px,
landscape)
   iPhone Fold aufgeklappt: Falz = Panelgrenze (50/50-Split bleibt).
   Ersetzt den JS-Zoom,
der auf iOS deaktiviert ist.
   ============================================================ */
@media (min-width: 769px) and (max-width: 1100px) and (orientation: landscape) {
  /* Split-Layout bleibt – nur Typografie hochskalieren */

  /* HEAD */
  .site-name { font-size: 7vw; }
  .site-subtitle { font-size: 1.9vw; }

  /* Teaser links */
  .left-teaser h2 { font-size: clamp(1.1rem, 2.6vw, 1.7rem); }
  .left-teaser p { font-size: 1.9vw; max-width: none; }

  /* Content rechts */
  .leistung-content .content-headline,
.content-headline { font-size: 2.8vw !important; }
  .leistung-content .section-label,
.leistung-content h3 { font-size: 2vw !important; }
  .leistung-content .bio p,
.leistung-content .bio,
.leistung-content p,
.leistung-content .kunden-names { font-size: 1.9vw !important; }
  .arrow-link { font-size: 1.4vw !important; }

  /* Formular (Kontakt) */
  .field label { font-size: 1.4vw; }
  .field input,
.field textarea,
.field select { font-size: 1.7vw; }
  .submit-btn { font-size: 1.3vw; padding: 1.4vw 3.5vw; }

  /* Navbar-Icons */
  .theme-toggle { font-size: 2vw; }
  .toggler span { width: 2.4vw; }

  /* Menü-Layer: lesbare Größen (vh-Anteile greifen bei geringer Höhe) */
  .menu-contact-top a,
.menu-main > li > a,
.menu-parent { font-size: min(3vw, 4vh) !important; }
  .menu-sub a { font-size: min(2.2vw, 3vh) !important; }
  .menu-nav .section-label { font-size: min(2vw, 2.8vh) !important; }
  .menu-secondary a { font-size: min(1.6vw, 2.2vh) !important; }

  /* Portfolio-Raster + News */
  html[data-page="portfolio"] .grid-caption { font-size: 1.4vw; }
  .portfolio-cat-title { font-size: 2vw !important; }
  .news-title { font-size: 2vw; }
  .news-excerpt { font-size: 1.6vw; }
  .news-date,
.news-cat,
.news-read { font-size: 1.2vw; }
}
