/* ── Rosengrün Slate-Lila – Shared Stylesheet ────────────────────────── */
@import url('fonts/fonts.css');

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

:root {
  --bg:      #1B1424;   /* deep slate-purple */
  --bg2:     #251B30;   /* card / nav bg */
  --bg3:     #2F2240;   /* hover / inset */
  --line:    #3A2C4D;
  --text:    #ECE6F2;
  --muted:   #9B8FA8;
  --faint:   #6B5F78;
  --accent:  #C58BD9;   /* bright purple */
  --accent-l:#3A2649;
  --accent-d:#A56BB8;
  --white:   #FFFFFF;
  --max:     1160px;
  --fh:      'Syne', sans-serif;
  --fb:      'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--bg); }

/* ── NAV ─────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(27,20,36,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 40px;
}
.nav-logo { height: 36px; opacity: 0.95; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: var(--bg) !important;
  padding: 9px 20px; font-size: 12px !important;
  letter-spacing: 0.06em !important;
  font-weight: 600;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--white); color: var(--bg) !important; }

/* Burger-Toggle (CSS-only, Checkbox-Hack)
   Auf Desktop komplett ausgeblendet (auch nicht im Tab-Order),
   auf Mobile visuell versteckt aber fokussierbar. */
.nav-toggle { display: none; }
.nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--accent); outline-offset: 4px; }
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center; justify-content: center;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  position: absolute;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}
.nav-burger span { top: 50%; margin-top: -1px; }
.nav-burger span::before { content: ''; top: -7px; left: 0; }
.nav-burger span::after  { content: ''; top:  7px; left: 0; }
.nav-toggle:checked ~ .nav-burger span { background: transparent; }
.nav-toggle:checked ~ .nav-burger span::before { top: 0; transform: rotate(45deg); background: var(--accent); }
.nav-toggle:checked ~ .nav-burger span::after  { top: 0; transform: rotate(-45deg); background: var(--accent); }

/* ── SHARED LAYOUT ───────────────────────────────────────────────────── */
.wrap   { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 40px; max-width: var(--max); margin: 0 auto; }
.divider { border: none; border-top: 1px solid var(--line); }

.kicker {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px; font-family: var(--fh);
  font-weight: 500;
}
.section-title {
  font-family: var(--fh); font-size: clamp(28px, 3vw, 42px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 52px;
}
.section-rule { display: flex; align-items: baseline; gap: 24px; margin-bottom: 56px; }
.section-rule h2 { font-family: var(--fh); font-size: clamp(26px,2.8vw,40px); font-weight: 700; letter-spacing: -0.02em; }
.section-rule::after { content:''; flex:1; height:1px; background:var(--line); }

/* ── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--accent); color: var(--bg) !important;
  padding: 14px 34px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-family: var(--fh); transition: all 0.2s;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(197,139,217,0.2);
}
.btn:hover { background: var(--white); color: var(--bg); }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--accent); color: var(--accent);
  padding: 13px 32px; font-size: 13px;
  font-family: var(--fb); transition: all 0.2s;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(197,139,217,0.2);
}
.btn-outline:hover { background: var(--accent); color: var(--bg); }

/* ── HERO ────────────────────────────────────────────────────────────── */
/* Hero ist jetzt full-width, damit der Gradient bis zur Viewport-Kante reicht.
   Inhalt landet in .hero-inner mit max-width. */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; pointer-events: none;
  top: 0; right: 0; width: 60vw; height: 75%;
  background: radial-gradient(ellipse at top right, rgba(197,139,217,0.14), transparent 65%);
  z-index: 0;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 72px 40px 88px;
  display: grid; grid-template-columns: 0.7fr 1fr;
  gap: 48px; align-items: center; min-height: 76vh;
  position: relative; z-index: 1;
}
.hero-inner > * { position: relative; z-index: 2; }
.hero-kicker {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px; font-family: var(--fh);
  font-weight: 500;
}
.hero h1 {
  font-family: var(--fh); font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 18px; line-height: 1.7; color: var(--muted);
  max-width: 480px; margin-bottom: 44px;
}
/* Porträtbild: leicht querformatiger Crop, Akzent-Rahmen + dezent versetzter Block */
.hero-img-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: visible;
}
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  background: var(--accent-l);
  border: 1px solid var(--accent);
  z-index: -1;
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;       /* Gesicht im Crop sichtbar halten */
  display: block;
  filter: brightness(0.96) contrast(1.04);
  position: relative; z-index: 1;
  border: 2px solid var(--accent);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,0.5);
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── SERVICE CARDS ───────────────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.service-card {
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 36px 28px 32px;
  cursor: default;
  transition: background 0.25s;
  position: relative;
}
.service-card:first-child { border-left: 1px solid var(--line); }
.service-card a { display: block; color: inherit; }
.service-card h3 {
  font-family: var(--fh); font-size: 18px; font-weight: 700;
  margin-bottom: 12px; transition: color 0.2s;
  letter-spacing: -0.01em;
}
.service-card p { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 20px; }
.service-card .card-link {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  font-family: var(--fh); font-weight: 500;
}
.service-card:hover { background: var(--bg2); }
.service-card:hover h3 { color: var(--accent); }
.service-num {
  font-family: var(--fh); font-size: 11px; color: var(--faint);
  letter-spacing: 0.1em; margin-bottom: 18px; display: block;
}

/* ── REF SECTION ─────────────────────────────────────────────────────── */
.ref-section { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.ref-card { border-left: 2px solid var(--accent); padding: 4px 0 4px 28px; }
.ref-quote { font-size: 18px; line-height: 1.65; color: var(--text); font-style: italic; margin-bottom: 22px; font-weight: 300; }
.ref-name { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

.ref-logos-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-family: var(--fh); font-weight: 500;
  margin: 88px 0 36px;
  text-align: center;
}

/* Endlos-Marquee mit weichen Edge-Fades. Logos in der HTML doppelt ausgeben,
   Animation läuft von 0 → -50% → springt zurück (visuell nahtlos). */
.ref-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.ref-marquee-track {
  display: flex;
  width: max-content;
  animation: ref-marquee 38s linear infinite;
}
.ref-marquee:hover .ref-marquee-track { animation-play-state: paused; }

@keyframes ref-marquee {
  to { transform: translateX(-50%); }
}

.ref-logo-tile {
  flex: 0 0 auto;
  width: 184px;
  height: 96px;
  margin-right: 20px;     /* margin statt gap → seamless loop */
  display: flex; align-items: center; justify-content: center;
  padding: 16px 22px;
  background: #ECE6F2;
  border-radius: 3px;
  transition: transform 0.25s ease;
}
.ref-logo-tile:hover { transform: translateY(-2px); }
.ref-logo-tile img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain; display: block;
}
.ref-logo-tile.ref-logo-text {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--bg);
  text-align: center;
  padding: 12px 16px;
}
.ref-logo-tile.ref-logo-text span { display: block; }

@media (prefers-reduced-motion: reduce) {
  .ref-marquee-track { animation: none; }
  .ref-marquee {
    -webkit-mask-image: none;
            mask-image: none;
    overflow-x: auto;
  }
}

/* ── PROJECT LIST ────────────────────────────────────────────────────── */
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project-item {
  background: transparent; padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.project-item:hover { background: var(--bg2); }
.project-item h4 { font-family: var(--fh); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.project-item p { font-size: 13px; color: var(--muted); }
.project-arrow { font-size: 20px; color: var(--accent); opacity: 0.4; transition: all 0.2s; }
.project-item:hover .project-arrow { opacity: 1; transform: translate(2px,-2px); }

/* ── CONTACT ─────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info p { font-size: 15px; color: var(--muted); line-height: 2.2; }
.contact-info a { color: var(--muted); transition: color 0.2s; }
.contact-info a:hover { color: var(--accent); }
form { display: flex; flex-direction: column; gap: 14px; }
input, textarea {
  background: var(--bg2); border: 1px solid var(--line);
  color: var(--text); padding: 14px 16px; font-size: 14px;
  font-family: var(--fb); outline: none; width: 100%;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: none; }
button[type=submit] {
  background: var(--accent); color: var(--bg); border: none;
  padding: 14px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-family: var(--fh); cursor: pointer; transition: background 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
button[type=submit]:hover { background: var(--white); }
.form-success { color: var(--accent); font-size: 17px; padding: 20px 0; display: none; }
.form-error { color: #ff8b8b; font-size: 14px; padding: 12px 0; display: none; }
.field-wrap { position: relative; }
.field-error { display: block; color: #ff8b8b; font-size: 12px; margin-top: 5px; margin-bottom: 4px; min-height: 0; }
#contact-form input.invalid, #contact-form textarea.invalid { border-color: #ff8b8b; outline-color: #ff8b8b; }
#contact-form input.valid, #contact-form textarea.valid { border-color: var(--accent); }

/* honeypot field */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ── FOOTER ──────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 28px 40px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--faint);
}
.footer-inner a { color: var(--faint); transition: color 0.2s; }
.footer-inner a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 32px; }

/* ── PAGE HERO ───────────────────────────────────────────────────────── */
.page-hero { background: var(--bg2); border-bottom: 1px solid var(--line); padding: 80px 40px 88px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(197,139,217,0.08), transparent 70%);
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; position: relative; }
.page-hero .breadcrumb { font-size: 12px; color: var(--faint); margin-bottom: 28px; letter-spacing: 0.04em; }
.page-hero .breadcrumb a { color: var(--faint); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero h1 {
  font-family: var(--fh); font-size: clamp(38px,4.2vw,60px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.04;
  margin-bottom: 28px;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 640px; }

/* ── PROSE ───────────────────────────────────────────────────────────── */
.prose { max-width: 720px; }
.prose p { font-size: 16px; line-height: 1.85; color: #C8BDD4; margin-bottom: 22px; }
.prose h3 { font-family: var(--fh); font-size: 20px; font-weight: 700; margin: 40px 0 16px; color: var(--text); letter-spacing: -0.01em; }
.prose ul { padding-left: 20px; margin-bottom: 22px; }
.prose li { font-size: 15px; line-height: 1.85; color: #C8BDD4; margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 500; }
.prose a:not(.btn):not(.btn-outline) { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.prose a:not(.btn):not(.btn-outline):hover { border-bottom-color: var(--accent); }

/* ── PILLARS (Über-mich) ─────────────────────────────────────────────── */
.pillars-strip {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.pillar { position: relative; }
.pillar-num {
  font-family: var(--fh);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.pillar h4 {
  font-family: var(--fh);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.15;
}
.pillar p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
@media (max-width: 760px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 36px; }
  .pillars-strip { padding: 64px 0; }
}

/* ── IMPRESSIONS-GALERIE (Workshops & Co.) ───────────────────────────── */
.impressions-section {
  background: #14101C;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 80px;
}
.impressions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.impression-item {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.impression-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #14101C;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s ease;
}
.impression-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}
.impression-item:hover .impression-img { border-color: var(--accent); }
.impression-item:hover .impression-img img { transform: scale(1.03); }
.impression-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.impression-tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--fh);
  font-weight: 500;
}
@media (max-width: 760px) {
  .impressions-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── BUCH-STRIP (Startseite) ─────────────────────────────────────────── */
.book-strip-link {
  display: flex;
  gap: 18px;
  align-items: center;
  color: inherit;
  transition: transform 0.25s ease;
}
.book-strip-link:hover { transform: translateY(-2px); }
.book-strip-cover {
  width: 84px;
  height: auto;
  flex-shrink: 0;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.5);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.book-strip-link:hover .book-strip-cover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.65);
}
.book-strip-link p:first-of-type { transition: color 0.25s ease; }
.book-strip-link:hover p:first-of-type { color: var(--accent); }

/* ── BIO IMAGE WRAP (Über mich, Impressum, …) ────────────────────────── */
.bio-img-wrap { position: relative; z-index: 0; width: 100%; }
.bio-img-wrap::after {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  background: var(--accent-l);
  border: 1px solid var(--accent);
  z-index: -1;
}
.bio-img-wrap img {
  width: 100%; display: block;
  border: 2px solid var(--accent);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,0.5);
  position: relative; z-index: 1;
}

/* ── BOOK CARDS ──────────────────────────────────────────────────────── */
.book-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.book-card {
  background: var(--bg2); padding: 28px;
  border: 1px solid var(--line);
  transition: all 0.25s;
  display: block; color: inherit;
}
.book-card:hover { background: var(--bg3); border-color: var(--accent); transform: translateY(-2px); }
.book-cover {
  width: 100%; aspect-ratio: 2/3;
  background: var(--bg); border: 1px solid var(--line);
  margin-bottom: 22px; object-fit: cover; object-position: center;
}
.book-cover-placeholder {
  width: 100%; aspect-ratio: 2/3;
  background: linear-gradient(135deg, var(--accent-l), var(--bg));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 22px;
}
.book-card .book-year { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; font-family: var(--fh); font-weight: 500; }
.book-card h4 { font-family: var(--fh); font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; letter-spacing: -0.01em; }
.book-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.book-link { color: var(--accent); font-size: 11px; display: inline-block; margin-top: 16px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--fh); font-weight: 500; }

/* ── STATIONS ────────────────────────────────────────────────────────── */
.stations { display: flex; flex-direction: column; }
.station { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.station-year { font-size: 12px; color: var(--accent); font-family: var(--fh); font-weight: 600; padding-top: 4px; letter-spacing: 0.06em; }
.station h4 { font-family: var(--fh); font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.station p { font-size: 14px; line-height: 1.75; color: var(--muted); }

/* ── PUBLIST ─────────────────────────────────────────────────────────── */
.publist { list-style: none; padding: 0; }
.publist li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.75; color: #B8AEC4; }
.publist li:last-child { border-bottom: 1px solid var(--line); }
.publist em { color: var(--text); font-style: italic; }

/* ── MEDIA GRID ──────────────────────────────────────────────────────── */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.media-card {
  background: var(--bg2); padding: 0;
  border: 1px solid var(--line);
  transition: all 0.25s;
  display: block; color: inherit;
  overflow: hidden;
}
.media-card:hover { background: var(--bg3); border-color: var(--accent); }
.media-thumb {
  width: 100%; aspect-ratio: 16/9;
  background: var(--bg); object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.media-thumb-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--accent-l), var(--bg));
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.media-body { padding: 24px 26px 26px; }
.media-card .media-tag { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; font-family: var(--fh); font-weight: 500; }
.media-card h4 { font-family: var(--fh); font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; letter-spacing: -0.01em; }
.media-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── SERVICE PAGE ────────────────────────────────────────────────────── */
.service-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: start; }
.sidebar { background: var(--bg2); padding: 36px; border: 1px solid var(--line); }
.sidebar h4 { font-family: var(--fh); font-size: 14px; font-weight: 600; margin-bottom: 20px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.sidebar ul { list-style: none; padding: 0; }
.sidebar ul li { font-size: 14px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); line-height: 1.6; }
.sidebar ul li:first-child { border-top: none; padding-top: 0; }
.other-services { margin-top: 16px; }
.other-services a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); transition: color 0.2s;
}
.other-services a:hover { color: var(--accent); }

/* ── HERO PHOTO STRIP ────────────────────────────────────────────────── */
.photo-strip { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.photo-strip img { width: 100%; max-height: 460px; object-fit: cover; display: block; }
.photo-strip-placeholder { width: 100%; height: 380px; background: linear-gradient(135deg, var(--accent-l), var(--bg)); display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 12px; letter-spacing: 0.06em; }

/* ── FOTOS-SEITE (intern) ────────────────────────────────────────────── */
.fotos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.foto-item { margin: 0; display: flex; flex-direction: column; }
.foto-img-link {
  display: block;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg2);
  transition: border-color 0.25s ease, transform 0.3s ease;
}
.foto-img-link:hover { border-color: var(--accent); }
.foto-img-link img {
  width: 100%; height: auto; display: block;
  transition: transform 0.5s ease;
}
.foto-img-link:hover img { transform: scale(1.02); }
.foto-item figcaption {
  display: flex; flex-direction: column;
  gap: 6px; margin-top: 18px;
}
.foto-tag {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-family: var(--fh); font-weight: 500;
}
.foto-credit { font-size: 13px; color: var(--muted); line-height: 1.5; }
.foto-actions { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
.foto-link {
  font-size: 12px; letter-spacing: 0.06em; color: var(--accent);
  font-family: var(--fh); font-weight: 500;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.foto-link:hover { border-bottom-color: var(--accent); }
.foto-hint { margin-top: 48px; font-size: 13px; color: var(--faint); line-height: 1.6; max-width: 720px; }

/* ── HILFS-LAYOUTS (responsive Grids für Inline-Layouts der PHP-Seiten) ─ */
.split-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.split-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: 72px; align-items: start; }
.split-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 56px; align-items: center; }
.book-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.book-grid-4    { grid-template-columns: repeat(4, 1fr); }

.pad-block { padding: 96px 40px; }
.pad-block-sm { padding: 60px 40px; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 960px) {
  .book-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .book-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 64px 40px 64px; }
  .hero-img-wrap { max-width: 400px; aspect-ratio: 5/4; margin: 0 auto; }
  .hero-img-wrap::after { inset: 10px 0 -10px 10px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .ref-grid, .contact-grid, .service-detail, .book-grid, .projects-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .fotos-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-1-2, .split-2-3 { grid-template-columns: 1fr; gap: 40px; }
  .split-3-2 { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { gap: 48px; }
}

/* Tablet schmal / Phablet → Burger-Menü */
@media (max-width: 760px) {
  /* Form-Inputs auf 16px (verhindert iOS Auto-Zoom beim Tippen) */
  input, textarea { font-size: 16px; }
  button[type=submit] { padding: 16px; font-size: 14px; min-height: 48px; }
  .btn, .btn-outline { line-height: 1.3; min-height: 44px; }

  /* Checkbox nur auf Mobile aktivieren: visuell versteckt, aber fokussierbar */
  .nav-toggle {
    display: block;
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); border: 0;
  }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(20,16,28,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    font-size: 14px;
    border-top: 1px solid var(--line);
  }
  .nav-links a:first-child { border-top: none; }
  .nav-links .hide-sm { display: block; }       /* im offenen Menü zeigen */
  .nav-cta {
    margin: 12px 24px 0;
    padding: 14px 20px !important;
    text-align: center;
    border-top: none !important;
  }
  .nav-toggle:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-burger { display: inline-flex; }

  /* Inhalt */
  .pad-block    { padding: 64px 24px; }
  .pad-block-sm { padding: 48px 24px; }

  .page-hero { padding: 56px 24px 64px; }
  .page-hero h1 { line-height: 1.08; }
  .page-hero .lead { font-size: 16px; }

  .section-rule { gap: 16px; margin-bottom: 40px; }
  .section-title { margin-bottom: 36px; }

  .ref-grid { gap: 32px; }
  .ref-card { padding-left: 20px; }
  .ref-quote { font-size: 16px; }

  .ref-logos-label { margin: 56px 0 28px; }
  .ref-logo-tile { width: 140px; height: 76px; padding: 12px 16px; margin-right: 14px; }

  .stations { padding: 0; }
  .station { gap: 4px; padding: 28px 0; }
  .station-year { font-size: 11px; }
  .station h4 { font-size: 16px; }

  .sidebar { padding: 28px 22px; }

  .impressions-grid { gap: 24px; }
}

/* Smartphone */
@media (max-width: 640px) {
  .nav-inner { padding: 14px 20px; }
  .nav-logo { height: 30px; }

  .service-grid { grid-template-columns: 1fr; }
  .station { grid-template-columns: 1fr; gap: 8px; }
  .hero-inner { padding: 36px 20px 52px; gap: 28px; }
  .hero h1 { font-size: 34px; line-height: 1.1; margin-bottom: 22px; }
  .hero h1 br, .page-hero h1 br { display: none; }
  .hero-kicker { margin-bottom: 18px; }
  .hero-sub { font-size: 16px; line-height: 1.6; margin-bottom: 28px; }
  .hero-btns { gap: 12px; }
  .hero-btns .btn, .hero-btns .btn-outline { width: 100%; text-align: center; }
  .page-hero { padding: 48px 20px 56px; }
  .page-hero h1 { font-size: 34px; line-height: 1.1; margin-bottom: 22px; }
  .page-hero .breadcrumb { margin-bottom: 20px; }

  .section { padding: 56px 20px; }
  .wrap { padding: 0 20px; }

  .pad-block    { padding: 56px 20px; }
  .pad-block-sm { padding: 40px 20px; }

  /* Inline padding-Stile in PHP per Attribut-Selektor abdämpfen */
  [style*="padding:96px 40px"],
  [style*="padding: 96px 40px"] { padding: 56px 20px !important; }
  [style*="padding:60px 40px"],
  [style*="padding: 60px 40px"] { padding: 44px 20px !important; }

  .book-strip-grid { grid-template-columns: 1fr; gap: 18px; }
  .book-strip-link { gap: 14px; }
  .book-strip-cover { width: 64px; }

  .book-grid-4 { grid-template-columns: 1fr 1fr; }
  .book-grid { gap: 16px; }
  .book-card { padding: 20px; }

  .hero-img-wrap { max-width: min(260px, 72vw); aspect-ratio: 4/5; margin: 0 auto; }
  .hero-img-wrap::after { display: none; }
  .hero-img-wrap img { object-position: 50% 25%; }

  .service-detail { gap: 40px; }
  .sidebar { padding: 24px 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 4px 0; }
  footer { padding: 24px 20px; }

  .ref-logo-tile { width: 120px; height: 68px; padding: 10px 14px; }

  .field-error { font-size: 11px; }
}

/* Sehr kleine Geräte (iPhone SE etc.) */
@media (max-width: 380px) {
  .book-grid-4 { grid-template-columns: 1fr; }
  .nav-logo { height: 26px; }
  .hero-inner { padding: 28px 16px 44px; gap: 24px; }
  .hero h1 { font-size: 30px; }
  .hero-kicker { font-size: 10px; margin-bottom: 14px; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .page-hero { padding: 40px 16px 48px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero .lead { font-size: 15px; }
  .hero-img-wrap { max-width: min(220px, 70vw); }
}
