/*
Theme Name:   Rosenfeld Productions
Theme URI:    https://rosenfeldproductions.de
Author:       Rosenfeld Productions GbR
Author URI:   https://rosenfeldproductions.de
Description:  Dunkles, elegantes Theme fuer das Musikproduktionsstudio Rosenfeld Productions in Neustadt bei Coburg. Enthaelt Studio-Galerie mit Lightbox, DSGVO-konformes Kontaktformular und anpassbare Kontaktdaten ueber den Customizer.
Version:      1.3.0
Requires at least: 6.0
Tested up to: 6.7
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:  rosenfeld
Tags:         music, portfolio, dark, one-column, custom-colors, custom-menu, translation-ready
*/

/* ==========================================================================
   Rosenfeld Productions - Theme Styles
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════════
   SCHRIFTEN – lokal eingebunden (DSGVO-konform, keine Google-Server)
   DM Sans & DM Serif Display, SIL Open Font License 1.1
   Lizenztexte unter assets/fonts/
   ══════════════════════════════════════════════════════════════════════ */

/* ── DM Sans ── */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ── DM Serif Display ── */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-serif-display-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-serif-display-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-serif-display-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-serif-display-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --white:   #15130f;   /* page background (warm graphite) */
  --snow:    #1d1a15;   /* raised panel */
  --pearl:   #26221c;   /* chips / inputs */
  --silver:  #3a352d;   /* strong border */
  --stone:   #6d675c;   /* muted border / dim text */
  --slate:   #a19a8e;   /* secondary text */
  --ink:     #f4f1ea;   /* primary text (light) */
  --ink2:    #0d0c0a;   /* deepest — footer */
  --pink:    #e8417f;   /* accent (brightened for dark bg) */
  --pink-l:  #ff5c95;
  --border:  #2c2822;
  --rad:     4px;
}
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 3rem;
  background: rgba(21,19,15,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.nav-logo img { height: 38px; border-radius: 7px; }
.nav-logo-text { font-family: 'DM Serif Display', serif; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em; }
.nav-logo-text span { color: var(--pink); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { color: var(--slate); text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; transition: color 0.2s; }
.nav-links a:hover { color: var(--pink); }
.nav-cta {
  background: var(--ink); color: var(--white) !important;
  padding: 0.5rem 1.2rem; border-radius: var(--rad);
  font-size: 0.78rem !important; font-weight: 600 !important;
  letter-spacing: 0.06em !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--pink) !important; color: var(--white) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-top: 64px;
}
.hero-left {
  background: var(--snow);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 5rem;
  border-right: 1px solid var(--border);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--pearl); border: 1px solid var(--silver);
  border-radius: 100px; padding: 0.3rem 0.9rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate);
  margin-bottom: 2rem; width: fit-content;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); flex-shrink: 0; }
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero h1 em { color: var(--pink); font-style: italic; }
.hero-sub {
  font-size: 1rem; color: var(--slate);
  max-width: 38ch; line-height: 1.75;
  margin-bottom: 2.5rem;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.pill {
  background: var(--white); border: 1px solid var(--silver);
  border-radius: 100px; padding: 0.28rem 0.85rem;
  font-size: 0.73rem; color: var(--slate); font-weight: 500;
}
.hero-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 0.78rem 1.8rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  border-radius: var(--rad); transition: all 0.2s; cursor: pointer; border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--pink); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--stone); }
.btn-outline:hover { border-color: var(--ink); }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { background: var(--pink-l); }

.hero-right {
  position: relative; overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: saturate(0.95) brightness(0.9);
}
.hero-right-badge {
  position: absolute; bottom: 2rem; left: 2rem;
  background: rgba(29,26,21,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 0.8rem 1.2rem;
  font-size: 0.78rem;
}
.hero-right-badge strong { display: block; color: var(--ink); font-size: 0.9rem; }
.hero-right-badge span { color: var(--slate); }

/* ── SHARED ── */
section { padding: 6rem 3rem; }
.container { max-width: 1140px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--pink);
  margin-bottom: 0.7rem;
}
h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink); margin-bottom: 1rem;
}
.divider { border: none; border-top: 1px solid var(--border); }

/* ── SERVICES ── */
#services { background: var(--white); }
.services-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4.5rem; align-items: center;
}
.services-copy p {
  color: var(--slate); font-size: 0.95rem; line-height: 1.85;
  margin-bottom: 1.1rem;
}
.services-copy p:last-child { margin-bottom: 0; }
.services-copy p.lead {
  color: var(--ink); font-size: 1.05rem; line-height: 1.75;
}
.services-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 6px; display: block;
  border: 1px solid var(--border);
}

/* ── ABOUT ── */
#about { background: var(--snow); }
.about-grid { display: grid; grid-template-columns: 4fr 5fr; gap: 4.5rem; align-items: start; }
@media (min-width: 901px) {
  /* Bild bleibt beim Scrollen neben dem laengeren Text stehen */
  .about-img-wrap { position: sticky; top: 110px; }
}
.about-img-wrap { position: relative; }
.about-img-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; display: block; }
.about-img-float {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 48%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 6px; border: 4px solid var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
}
.about-text { padding-bottom: 1.5rem; }
.about-text p { color: var(--slate); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; }
.about-text p strong { color: var(--ink); }

/* ── GALLERY ── */
#gallery { background: var(--white); padding: 6rem 0; }
.gallery-head { padding: 0 3rem 2.5rem; max-width: 1140px; margin: 0 auto; }
.gallery-intro { max-width: 74ch; margin-top: 1.5rem; }
.gallery-intro p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.gallery-intro p:last-child { margin-bottom: 0; }
.g-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 4px;
  max-width: 1140px; margin: 0 auto; padding: 0 3rem;
}
.g-item { overflow: hidden; cursor: pointer; position: relative; border-radius: 3px; }
.g-item.w2 { grid-column: span 2; }
.g-item.w3 { grid-column: span 3; }
.g-item.h2 { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease, filter 0.4s ease; filter: saturate(0.9) brightness(0.85); }
.g-item:hover img { transform: scale(1.06); filter: saturate(1) brightness(0.6); }
.g-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay span {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--ink);
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(26,26,24,0.97);
  align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 3px; display: block; }
.lb-close {
  position: fixed; top: 1.2rem; right: 1.5rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.2rem; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 1000;
}
.lb-close:hover { background: var(--pink); border-color: var(--pink); }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 1.4rem; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 1000;
}
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-prev:hover, .lb-next:hover { background: var(--pink); border-color: var(--pink); }
.lb-dots { position: fixed; bottom: 1.8rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.45rem; }
.lb-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; cursor: pointer; transition: background 0.2s; }
.lb-dot.active { background: var(--pink); }
.lb-counter { position: fixed; bottom: 0.8rem; left: 50%; transform: translateX(-50%); font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.12em; }

/* ── PROCESS (light contrast band) ── */
#process { background: #ece8e0; }
#process .section-tag { color: #c8245e; }
#process h2 { color: #17150f; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid rgba(23,21,15,0.12); border-radius: 6px; overflow: hidden; }
.p-step {
  padding: 2rem 1.8rem;
  border-right: 1px solid rgba(23,21,15,0.12);
  transition: background 0.2s;
}
.p-step:last-child { border-right: none; }
.p-step:hover { background: rgba(23,21,15,0.04); }
.p-num { font-family: 'DM Serif Display', serif; font-size: 3rem; color: rgba(200,36,94,0.28); line-height: 1; margin-bottom: 1rem; }
.p-title { font-weight: 600; font-size: 0.92rem; color: #17150f; margin-bottom: 0.5rem; }
.p-desc { font-size: 0.82rem; color: #6b6660; line-height: 1.65; }

/* ── CONTACT ── */
#contact { background: var(--snow); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-left p { color: var(--slate); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; }
.c-links { display: flex; flex-direction: column; gap: 0.7rem; }
.c-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--rad); text-decoration: none;
  color: var(--ink); font-size: 0.87rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.c-link:hover { border-color: var(--pink); box-shadow: 0 2px 16px rgba(232,65,127,0.18); }
.c-icon {
  width: 34px; height: 34px;
  background: var(--snow); border: 1px solid var(--border);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 2.2rem; }
.form-wrap h3 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--ink); margin-bottom: 1.5rem; }
.fg { margin-bottom: 0.85rem; }
.fg label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.35rem; }
.fg input, .fg textarea, .fg select {
  width: 100%; background: var(--snow); border: 1.5px solid var(--border);
  border-radius: var(--rad); padding: 0.75rem 0.9rem;
  color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  outline: none; transition: border-color 0.2s; appearance: none;
}
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--pink); background: var(--white); }
.fg textarea { height: 110px; resize: vertical; }
.form-msg { padding: 0.8rem 1rem; border-radius: var(--rad); font-size: 0.83rem; margin-bottom: 1rem; display: none; }
.form-msg.success { background: rgba(232,65,127,0.12); border: 1px solid rgba(232,65,127,0.45); color: var(--pink); display: block; }
.form-msg.error { background: rgba(220,38,38,0.12); border: 1px solid rgba(248,113,113,0.45); color: #f87171; display: block; }
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-bottom: 1.1rem; font-size: 0.78rem; color: var(--slate); line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 0.15rem;
  accent-color: var(--pink); cursor: pointer;
}
.form-consent label { cursor: pointer; }
.form-consent a { color: var(--pink); text-decoration: none; }
.form-consent a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--ink2);
  padding: 3rem;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 2rem;
}
.f-logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.f-logo img { height: 34px; border-radius: 6px; }
.f-logo-text { font-family: 'DM Serif Display', serif; font-size: 0.95rem; color: rgba(244,241,234,0.75); }
.f-copy { text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.f-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.f-social { display: flex; gap: 1rem; }
.f-social a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
.f-social a:hover { color: var(--pink); }
.f-legal { display: flex; gap: 1rem; }
.f-legal a { color: rgba(255,255,255,0.3); text-decoration: none; font-size: 0.72rem; transition: color 0.2s; }
.f-legal a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) {
  nav { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 5rem 1.5rem 3rem; }
  .hero-right { height: 50vw; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .services-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid, .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-float { display: none; }
  .g-grid { grid-template-columns: repeat(3,1fr); padding: 0 1.5rem; }
  .gallery-head { padding: 0 1.5rem 2rem; }
  .g-item.w3 { grid-column: span 3; }
  .g-item.w2 { grid-column: span 2; }
  section { padding: 4rem 1.5rem; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .f-right { align-items: center; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: 1fr 1fr; }
  .g-item.w3 { grid-column: span 2; }
}

/* ── WORDPRESS CORE ── */
.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar nav { top: 46px; } }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
  position: absolute !important; left: 1rem; top: 1rem;
  z-index: 999; width: auto; height: auto; clip: auto; clip-path: none;
  background: var(--pink); color: #fff; padding: 0.7rem 1.2rem;
  border-radius: var(--rad); font-size: 0.85rem; font-weight: 600;
}
.alignwide { max-width: 1140px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
img { max-width: 100%; height: auto; }

/* ══════════════════════════════════════════════════════════════════════
   UNTERSEITEN (Impressum, Datenschutz, Blog, 404)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Kopfbereich ── */
.legal-hero {
  padding: 10rem 3rem 3.5rem;
  background: var(--snow);
  border-bottom: 1px solid var(--border);
}
.legal-hero .tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--pink);
  margin-bottom: 0.7rem;
}
.legal-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.02em; line-height: 1.05;
  color: var(--ink);
  max-width: 18ch;
  hyphens: auto;
}

/* ── Textbereich ── */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 3rem 6rem;
}

.legal-content > *:first-child { margin-top: 0; }

.legal-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 3rem 0 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.12rem;
  color: var(--ink);
  margin: 2rem 0 0.6rem;
}
.legal-content h4 {
  font-size: 0.95rem; font-weight: 600;
  color: var(--ink);
  margin: 1.5rem 0 0.4rem;
}

.legal-content p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}
.legal-content strong { color: var(--ink); font-weight: 600; }

.legal-content a {
  color: var(--pink);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,65,127,0.35);
  transition: border-color 0.2s;
}
.legal-content a:hover { border-bottom-color: var(--pink); }

.legal-content ul,
.legal-content ol {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.85;
  padding-left: 1.4rem;
  margin-bottom: 1.4rem;
}
.legal-content li { margin-bottom: 0.45rem; }
.legal-content ul li::marker { color: var(--pink); }
.legal-content ol li::marker { color: var(--pink); font-weight: 600; }

/* Hervorgehobener Kasten (z.B. Anschrift) */
.legal-content .highlight,
.legal-content blockquote {
  background: var(--pearl);
  border: 1px solid var(--border);
  border-left: 3px solid var(--pink);
  border-radius: var(--rad);
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0;
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.8;
}
.legal-content .highlight p,
.legal-content blockquote p { color: var(--ink); margin-bottom: 0; }

.legal-content table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 1.6rem; font-size: 0.88rem;
}
.legal-content td, .legal-content th {
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem; text-align: left;
  color: var(--slate);
}
.legal-content th { color: var(--ink); font-weight: 600; background: var(--snow); }

.legal-content img { border-radius: var(--rad); margin: 1.5rem 0; }
.legal-content hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* Blog-Pagination */
.legal-content .page-links,
.legal-content .navigation { margin-top: 2.5rem; font-size: 0.88rem; }
.legal-content .nav-links { display: flex; gap: 1.2rem; }

@media (max-width: 700px) {
  .legal-hero { padding: 7.5rem 1.5rem 2.5rem; }
  .legal-content { padding: 2.5rem 1.5rem 4rem; }
  .legal-content h2 { font-size: 1.3rem; margin-top: 2.2rem; }
}
