/* =================================================================
   PETKO Photography – Stylesheet
   Farben & Abstände stehen ganz oben als Variablen (:root).
   ================================================================= */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #111214;          /* Seitenhintergrund */
  --bg-alt: #17181b;      /* abwechselnde Abschnitte */
  --surface: #1d1e22;     /* Karten */
  --surface-2: #26272c;   /* Felder, Hover */
  --line: #2e3035;        /* Linien */
  --text: #ececec;
  --text-soft: #b9b9bd;
  --muted: #8e8f95;
  --accent: #009ee2;      /* Markenblau – sparsam einsetzen */
  --accent-hover: #2fb4ec;
  --on-accent: #06141c;   /* Schrift auf blauen Buttons */
  --accent-text: #009ee2; /* Blau für Text (Links, Preise) */
  --accent-text-hover: #2fb4ec;
  --header-bg: rgba(17, 18, 20, .92);
  --line-strong: #4a4c52;
  --placeholder: #6c6d73;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1400px;  /* gleiche Breite für alle Seiten */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 8rem);
  --header-h: 72px;
  color-scheme: dark;
}

/* ---------- Heller Modus ----------
   Standard = Einstellung des Geräts. Der Schalter unten links setzt
   data-theme="light" bzw. "dark" auf <html> und hat dann Vorrang. */
:root[data-theme="light"] {
  --bg: #f6f6f7;
  --bg-alt: #ececee;
  --surface: #ffffff;
  --surface-2: #e6e6e9;
  --line: #d9d9de;
  --line-strong: #a9aab1;
  --text: #141416;
  --text-soft: #45464c;
  --muted: #6a6b72;
  --placeholder: #8d8e94;
  --accent-text: #0071a6;       /* dunkleres Markenblau: auf Weiß gut lesbar */
  --accent-text-hover: #005a85;
  --header-bg: rgba(246, 246, 247, .92);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f6f7;
    --bg-alt: #ececee;
    --surface: #ffffff;
    --surface-2: #e6e6e9;
    --line: #d9d9de;
    --line-strong: #a9aab1;
    --text: #141416;
    --text-soft: #45464c;
    --muted: #6a6b72;
    --placeholder: #8d8e94;
    --accent-text: #0071a6;
    --accent-text-hover: #005a85;
    --header-bg: rgba(246, 246, 247, .92);
    color-scheme: light;
  }
}

/* Logo: passende Variante je Modus */
.logo-light { display: none !important; }
:root[data-theme="light"] .logo-dark { display: none !important; }
:root[data-theme="light"] .logo-light { display: block !important; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .logo-dark { display: none !important; }
  :root:not([data-theme="dark"]) .logo-light { display: block !important; }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Platz für die Bildlaufleiste immer reservieren -> kein Verrutschen zwischen kurzen und langen Seiten */
html { scrollbar-gutter: stable; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-text-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem); color: var(--text-soft); line-height: 1.6; }
.eyebrow { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9rem; }

.section { padding-block: var(--section); }
.section.alt { background: transparent; }
.pt-0 { padding-top: 0 !important; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text-soft); color: var(--text); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; margin-top: 1.75rem; }
.btn-row.center { justify-content: center; }
.link-arrow { font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: .25rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); padding-block: .5rem; }
.logo { display: block; flex: none; }
.logo img { width: 84px; height: auto; display: block; }
.nav-wrap { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .5rem .75rem; color: var(--text-soft); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.lang-switch { display: flex; gap: .15rem; font-size: .8rem; font-weight: 700; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: .35rem .45rem; border-radius: 6px; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { color: var(--text); background: var(--surface-2); }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  /* Kein Unschärfe-Effekt am Handy: der würde das aufklappende Menü auf die Höhe der Kopfzeile beschneiden */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .header-inner { min-height: var(--header-h); height: var(--header-h); padding-block: 0; }
  .logo img { width: 70px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 10px; color: var(--text); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-wrap {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); z-index: 49;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
    background: var(--bg); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav-wrap { visibility: visible; opacity: 1; transform: none; }
  .nav-open { overflow: hidden; }
  .nav { flex-direction: column; gap: 0; }
  .nav a { font-size: 1.35rem; padding: .9rem 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent-text); }
  .nav-cta { width: 100%; padding: 1rem; font-size: 1rem; }
  .lang-switch { justify-content: center; font-size: .95rem; }
  .lang-switch a { padding: .5rem .9rem; }
}

/* ---------- Hero ---------- */
.hero { display: grid; background: var(--bg); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-text { padding: clamp(2rem, 5vw, 4rem) var(--gutter); align-self: center; }
.hero-text .lead { max-width: 36rem; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 2vw, 3.2rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
h1, h2 { overflow-wrap: break-word; hyphens: manual; }
@media (min-width: 900px) {
  .hero-split { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); min-height: min(calc(100svh - var(--header-h)), 900px); }
  .hero-split .hero-media { order: 2; position: relative; }
  .hero-split .hero-media img { position: absolute; inset: 0; }
  .hero-split .hero-text { order: 1; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); padding-right: clamp(2rem, 4vw, 4rem); }
}
@media (max-width: 899px) {
  .hero-media { aspect-ratio: 4 / 3.4; max-height: 72svh; overflow: hidden; }
  .hero-text { padding-top: 2rem; }
}

.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 3vw, 2rem); }
.page-head .lead { max-width: 44rem; }
.page-head + .section { padding-top: clamp(1.5rem, 4vw, 3rem); }

/* ---------- Leistungs-Karten ---------- */
.services { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.service-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
}
.service-card:hover { color: var(--text); }
.service-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-img img { transform: scale(1.03); }
.service-body { padding: 1.25rem 0 0; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); margin-bottom: .4rem; }
.service-body p { color: var(--text-soft); }
.service-meta { margin-top: auto; margin-bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.price-from { color: var(--accent-text); font-weight: 700; }
.service-meta .link-arrow { color: var(--text); font-size: .95rem; }

/* ---------- Zweispaltig ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.15fr 1fr; }
  .split-media { grid-template-columns: 1fr 1fr; align-items: center; }
}
.split-img img { border-radius: var(--radius-lg); width: 100%; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.prose { max-width: 42rem; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.feature-list li { background: var(--surface); padding: 1.15rem 1.35rem; display: grid; gap: .25rem; }
.feature-list strong { font-weight: 700; }
.feature-list span { color: var(--text-soft); font-size: .95rem; line-height: 1.55; }

/* ---------- Schritte ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.steps li::before { content: "0" counter(step); display: block; color: var(--muted); font-weight: 800; font-size: .85rem; letter-spacing: .1em; margin-bottom: .8rem; }
.steps p { color: var(--text-soft); margin: 0; font-size: .95rem; }

.value-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.value-grid li { border-top: 2px solid var(--accent); padding-top: 1.1rem; }
.value-grid p { color: var(--text-soft); margin: 0; }

/* ---------- Pakete ---------- */
.packages { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; margin-bottom: 1.5rem; }
.package { position: relative; display: flex; flex-direction: column; background: transparent; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); }
.package.is-highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.badge { position: absolute; top: -.8rem; left: 1.5rem; background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.package-name { font-size: 1.45rem; margin-bottom: .3rem; }
.package-tagline { color: var(--text-soft); font-size: .95rem; min-height: 3em; }
.price { color: var(--accent-text); font-size: clamp(2.1rem, 1.8rem + 1vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin: .3rem 0 1.2rem; line-height: 1; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 1.7rem; color: var(--text-soft); font-size: .95rem; line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: .9rem; height: .5rem; border-left: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); }
.package .btn { margin-top: auto; width: 100%; }

/* ---------- Galerie (Masonry) ---------- */
.masonry { columns: 3 280px; column-gap: clamp(.5rem, 1.2vw, 1rem); }
.masonry-item { display: block; margin-bottom: clamp(.5rem, 1.2vw, 1rem); break-inside: avoid; border-radius: 3px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.masonry-item img { width: 100%; transition: transform .5s, opacity .3s; }
.masonry-item:hover img { transform: scale(1.02); }
@media (max-width: 639px) { .masonry { columns: 2 140px; } }
.gallery-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1.5rem; }
.gallery-head h2 { margin: 0; }
.gallery-section + .gallery-section { padding-top: 0; }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.filter a { padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.filter a:hover { border-color: var(--accent); color: var(--accent-text); }

/* ---------- Zitat, CTA, Bewertungen ---------- */
.quote { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; color: var(--text); }
.quote-section { padding-block: clamp(3rem, 6vw, 5rem); border-block: 1px solid var(--line); }
.cta-band { border-top: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { color: var(--text-soft); padding-bottom: 1.2rem; }
.faq-answer p { margin: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 320px 1fr; align-items: start; } .contact-info { position: sticky; top: calc(var(--header-h) + 2rem); } }
.contact-info h2, .contact-form-wrap h2 { font-size: 1.4rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; gap: .1rem; }
.contact-list .muted { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.contact-list a { font-weight: 700; font-size: 1.05rem; text-decoration: none; }
@media (max-width: 959px) { .contact-form-wrap { order: -1; } }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2.5rem); }

.contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-form legend, .contact-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .45rem; color: var(--text); padding: 0; }
.grid-2 { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-bottom: 1.25rem; }
.field.full, .grid-2 > .full { grid-column: 1 / -1; }
.contact-form > .field { margin-bottom: 1.5rem; }
.type-fields { margin-bottom: .5rem !important; padding: 1.25rem 0 0 !important; border-top: 1px solid var(--line) !important; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem .95rem; min-height: 48px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
textarea { resize: vertical; min-height: 140px; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 158, 226, .25); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8); }
:root[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator { filter: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) input[type="date"]::-webkit-calendar-picker-indicator { filter: none; } }
.hint { display: block; color: var(--muted); font-size: .82rem; margin-top: .3rem; }
.is-invalid { border-color: #e5484d !important; }

.type-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.type-option { margin: 0 !important; }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: .7rem 1rem; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); cursor: pointer; font-weight: 700; transition: border-color .2s, background .2s, color .2s; }
.type-option span:hover { border-color: var(--text-soft); }
.type-option input:checked + span { border-color: var(--accent); background: rgba(0, 158, 226, .1); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
.type-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.check-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.check { display: flex !important; align-items: flex-start; gap: .6rem; font-weight: 500 !important; cursor: pointer; }
.checks .check { align-items: center; margin: 0 !important; }
.checks .check span { padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; background: var(--bg); transition: border-color .2s, background .2s; }
.checks .check input { position: absolute; opacity: 0; }
.checks .check input:checked + span { border-color: var(--accent); background: rgba(0, 158, 226, .1); }
.checks .check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { margin: .5rem 0 1.5rem; font-size: .92rem; color: var(--text-soft); }
.consent input { width: 20px; height: 20px; margin-top: .2rem; flex: none; accent-color: var(--accent); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-actions p { margin: 0; }
.form-status { margin: 1.25rem 0 0; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--surface-2); border-left: 3px solid var(--accent); }
.form-status.is-error { border-left-color: #e5484d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal p { color: var(--text-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding-bottom: 3rem; }
.footer-brand .logo img { width: 120px; margin-bottom: 1rem; }
.footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent-text); }
.site-footer address { color: var(--text-soft); line-height: 1.8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 8, 9, .97); display: flex; align-items: center; justify-content: center; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); touch-action: pan-y; }
.lb-figure { margin: 0; max-width: calc(100vw - 2rem); max-height: calc(100svh - 5rem); display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 100%; max-height: calc(100svh - 7rem); width: auto; height: auto; object-fit: contain; }
.lb-caption { color: #8e8f95; font-size: .85rem; margin-top: .75rem; text-align: center; padding-inline: 1rem; }
/* Großansicht ist immer dunkel -> feste helle Knöpfe, unabhängig vom Hell/Dunkel-Modus */
.lightbox button { position: absolute; background: rgba(30, 31, 35, .8); color: #ececec; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { border-color: #009ee2; color: #2fb4ec; }
.lb-close { top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 639px) { .lb-prev, .lb-next { top: auto; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: none; } .lb-figure img { max-height: calc(100svh - 10rem); } }

/* ---------- Hell/Dunkel-Schalter (unten links) ---------- */
.theme-toggle {
  position: fixed; z-index: 60;
  left: calc(1rem + env(safe-area-inset-left, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  width: 40px; height: 40px; border-radius: 999px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
  opacity: .85; transition: border-color .2s, color .2s, opacity .2s;
}
.theme-toggle:hover { opacity: 1; border-color: var(--line-strong); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
/* Im dunklen Modus zeigt der Knopf die Sonne (= zu Hell wechseln), im hellen den Mond */
:root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
:root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle .icon-moon { display: block; }
}
.nav-open .theme-toggle { display: none; }
@media (max-width: 639px) {
  .theme-toggle { width: 36px; height: 36px; left: calc(.6rem + env(safe-area-inset-left, 0px)); bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); }
  .theme-toggle svg { width: 19px; height: 19px; }
}

/* ---------- Redaktioneller Einstieg: Überschrift links, Text rechts ---------- */
.intro-grid { display: grid; gap: 1.25rem clamp(2rem, 6vw, 6rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.intro-grid > h2 { margin: 0; }
.intro-grid .lead, .intro-grid .prose p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: start; } }
.container.intro-grid { margin-bottom: 0; }
.text-link { color: var(--text); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--accent-text); }
.more-link { margin-top: 2rem; text-align: center; }

/* ---------- Kontaktseite: Formular sofort sichtbar ---------- */
.contact-section { padding-top: clamp(1.25rem, 3vw, 2.5rem); }
.contact-grid { grid-template-areas: "intro" "form" "info"; gap: 1.5rem; }
.contact-intro { grid-area: intro; }
.contact-intro h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: .5rem; }
.contact-intro .lead { font-size: 1rem; margin-bottom: 0; }
.contact-form-wrap { grid-area: form; padding: clamp(1rem, 2.5vw, 1.75rem); }
.contact-info { grid-area: info; }
.contact-info .contact-list { margin: 1rem 0; gap: .75rem; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 300px minmax(0, 1fr); grid-template-areas: "intro form" "info form"; grid-template-rows: auto 1fr; column-gap: clamp(2rem, 4vw, 3.5rem); }
  .contact-info { position: static; }
}
@media (max-width: 959px) { .contact-form-wrap { order: 0; } }
.grid-3 { display: grid; gap: .9rem 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin-bottom: .9rem; }
.contact-form .grid-2 { gap: .9rem 1rem; margin-bottom: .9rem; }
.contact-form > .field { margin-bottom: 1rem; }
.contact-form legend, .contact-form label { margin-bottom: .3rem; font-size: .88rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form input[type="url"],
.contact-form input[type="number"], .contact-form input[type="date"], .contact-form select, .contact-form textarea { min-height: 44px; padding: .6rem .85rem; }
.contact-form textarea { min-height: 88px; }
.contact-form .type-option span { min-height: 44px; padding: .5rem .8rem; }
.contact-form .type-fields { padding-top: 1rem !important; }
.contact-form .consent { margin: .25rem 0 1rem; font-size: .85rem; }

/* ---------- Seite füllt immer den ganzen Bildschirm, Fußzeile ganz unten ---------- */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > * { flex-shrink: 0; }
/* Kurze Seiten (Kontakt, Danke, 404): Inhalt im freien Platz vertikal zentrieren */
.page-contact main, .page-danke main, .page-_404 main { justify-content: center; }
.page-contact .contact-section { padding-block: clamp(1.25rem, 3vw, 2.5rem); }
/* Handy: Platz unter der Fußzeile, damit der Hell/Dunkel-Schalter nichts verdeckt */
@media (max-width: 639px) { .footer-bottom { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Sprachumschalter mit Flaggen ---------- */

/* ---------- Kontaktseite nutzt große Bildschirme besser aus ---------- */
.page-contact main { justify-content: stretch; }
.page-contact .contact-section { flex: 1 0 auto; display: flex; align-items: center; padding-block: clamp(1.25rem, 4vh, 3.5rem); }
.page-contact .contact-section > .container { width: 100%; }
.page-contact .contact-intro h1 { font-size: clamp(1.7rem, 1rem + 1.6vw + 1.2vh, 3.1rem); }
.page-contact .contact-intro .lead { font-size: clamp(1rem, .9rem + .3vh, 1.15rem); }
@media (min-width: 960px) {
  .page-contact .contact-grid { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
  .page-contact .contact-form-wrap { padding: clamp(1.25rem, 3vh, 2.5rem) clamp(1.25rem, 2.5vw, 2.5rem); }
  /* Abstände und Felder wachsen mit der Bildschirmhöhe */
  .page-contact .contact-form > .field,
  .page-contact .contact-form .grid-2, .page-contact .contact-form .grid-3 { margin-bottom: clamp(.9rem, 2vh, 1.6rem); row-gap: clamp(.9rem, 2vh, 1.6rem); }
  .page-contact .contact-form input[type="text"], .page-contact .contact-form input[type="email"],
  .page-contact .contact-form input[type="tel"], .page-contact .contact-form input[type="url"],
  .page-contact .contact-form input[type="number"], .page-contact .contact-form input[type="date"],
  .page-contact .contact-form select { min-height: clamp(44px, 5.4vh, 56px); }
  .page-contact .contact-form .type-option span { min-height: clamp(44px, 5.4vh, 58px); }
  .page-contact .contact-form textarea { min-height: clamp(88px, calc(100vh - 780px), 300px); }
}
@media (min-width: 640px) { .contact-form .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .page-contact .contact-form textarea { min-height: clamp(88px, calc(100vh - 840px), 220px); } }

/* ---------- Startbild bündig mit dem restlichen Inhalt (nicht bis zum Bildschirmrand) ---------- */
@media (min-width: 900px) {
  .hero-split {
    max-width: var(--container); margin-inline: auto; min-height: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter) 0;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4.5rem);
  }
  .hero-split .hero-media { min-height: min(calc(100svh - var(--header-h) - 3rem), 760px); border-radius: 4px; overflow: hidden; }
  .hero-split .hero-text { padding: 0; }
}

/* ---------- Leistungsseiten: Schlagwörter + Kennzahlen statt Fließtext ---------- */
.tags { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--text-soft); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; align-self: center; }
.facts li { background: var(--bg); padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .35rem; }
.facts strong { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.facts li:first-child strong { color: var(--accent-text); }  /* Preis in Markenblau */
.facts span { color: var(--muted); font-size: .9rem; }
.intro-grid > div > h2 { margin-bottom: .75rem; }

/* ---------- Leistungsseiten einheitlich: gleiches Foto-Raster, Kennzahlen oben bündig ---------- */
.page-hochzeit .masonry, .page-event .masonry, .page-business .masonry {
  columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.4rem, 1.2vw, 1rem);
}
.page-hochzeit .masonry-item, .page-event .masonry-item, .page-business .masonry-item { margin: 0; aspect-ratio: 4 / 5; }
.page-hochzeit .masonry-item img, .page-event .masonry-item img, .page-business .masonry-item img { width: 100%; height: 100%; object-fit: cover; }
.facts { align-self: start; }
/* Schlagwörter in eigener Zeile über die volle Breite -> auf allen Leistungsseiten gleich hoch */
.intro-grid > .tags { grid-column: 1 / -1; margin-top: 0; }
@media (min-width: 900px) { .page-hochzeit .package, .page-event .package, .page-business .package { min-height: 610px; } }

/* =================================================================
   Handy: schlanker und ruhiger
   ================================================================= */
@media (max-width: 639px) {
  :root { --section: 3rem; }
  body { font-size: 1rem; line-height: 1.6; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.5rem; }
  .lead { font-size: 1.02rem; }
  .eyebrow { font-size: .7rem; margin-bottom: .6rem; }

  /* Startbild: ein einziger, breiter Knopf */
  .hero h1 { font-size: 1.95rem; margin-bottom: .5rem; }
  .hero-text { padding: 1.5rem var(--gutter) .5rem; }
  .hero .btn-row { margin-top: 1.25rem; }
  .hero .btn-row .btn { width: 100%; }
  .hero .btn-row .text-link { display: none; }
  .hero-media { aspect-ratio: 4 / 3.2; }

  /* "Zum Portfolio" unter die Bilder */
  .featured-section .container { display: flex; flex-direction: column; }
  .featured-section .gallery-head { display: contents; }
  .featured-section .gallery-head h2 { margin-bottom: 1rem; }
  .featured-section .gallery-head .link-arrow { order: 3; align-self: center; margin-top: 1.5rem; }
  .featured-section .featured-grid { order: 2; }

  /* Leistungen: flachere Bilder */
  .services { gap: 2rem; }
  .service-img { aspect-ratio: 3 / 2; }
  .service-body { padding-top: .9rem; }
  .service-body p { font-size: .95rem; margin-bottom: .6rem; }

  .intro-grid { gap: 1rem; margin-bottom: 1.75rem; }
  .section-head { margin-bottom: 1.5rem; }
  .split { gap: 1.5rem; }
  .masonry { column-gap: .4rem; }
  .masonry-item { margin-bottom: .4rem; }

  /* Kennzahlen + Schlagwörter */
  .facts li { padding: 1rem; }
  .facts strong { font-size: 1.3rem; }
  .facts span { font-size: .8rem; }
  .tags { gap: .4rem; }
  .tags li { font-size: .8rem; padding: .3rem .7rem; }

  /* Pakete */
  .packages { gap: 1rem; }
  .package { padding: 1.25rem; }
  .package-name { font-size: 1.25rem; }
  .package-tagline { min-height: 0; font-size: .9rem; margin-bottom: .5rem; }
  .price { font-size: 2rem; margin-bottom: 1rem; }
  .checklist { gap: .4rem; margin-bottom: 1.25rem; }
  .checklist li { font-size: .9rem; }

  /* Fragen + Kontakt-Aufforderung */
  .faq-item summary { padding: 1rem 2rem 1rem 0; font-size: .98rem; }
  .cta-band .btn-row { flex-direction: column; gap: .9rem; }
  .cta-band .btn { width: 100%; }
  .more-link { margin-top: 1.25rem; }
}

/* ---------- Kopfzeile etwas großzügiger ---------- */
:root { --header-h: 84px; }
.header-inner { height: var(--header-h); min-height: var(--header-h); padding-block: 0; }
.logo img { width: 92px; }
@media (max-width: 1023px) {
  :root { --header-h: 74px; }
  .logo img { width: 76px; }
  .nav-toggle { width: 46px; height: 46px; }
}
/* Mehr Luft über und unter dem Logo */
:root { --header-h: 100px; }
@media (max-width: 1023px) { :root { --header-h: 84px; } }
/* Größere Schrift im Menü (Desktop) */
@media (min-width: 1024px) {
  .nav a { font-size: 1.06rem; padding: .5rem .8rem; }
  .nav-cta.btn-sm { font-size: 1rem; padding: .65rem 1.25rem; }
  .lang-switch { font-size: .85rem; }
}

/* ---------- Einheitlicher Startbereich auf allen Seiten ----------
   Überschrift oben bündig mit dem Foto, Knopf unten bündig mit der Foto-Unterkante */
@media (min-width: 900px) {
  .hero-split .hero-text { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-start; padding-block: clamp(.5rem, 2vh, 1.5rem) 0; }
  .hero-split .hero-text .btn-row { margin-top: auto; padding-top: 2rem; }
}
.hero .btn-row .btn-primary { min-width: 230px; }

/* ---------- Einheitliche, etwas kleinere Abstände zwischen den Blöcken ---------- */
:root { --section: clamp(3rem, 5.5vw, 5.5rem); }
@media (max-width: 639px) { :root { --section: 3rem; } }
.more-link { margin-top: 1.5rem; margin-bottom: 0; }
/* Preise -> Fragen: gleicher Abstand wie Galerie -> Preise */
#pakete + .section { padding-top: 0; }
#pakete .packages + p { margin-bottom: 0; }
/* Galerie -> Preise -> Fragen: beide Abstände gleich und etwas enger */
#pakete { padding-block: calc(var(--section) * .6); }
.section.pt-0:has(+ #pakete) { padding-bottom: calc(var(--section) * .6); }
#pakete + .section { padding-top: calc(var(--section) * .6); }
/* Handy: Startbereich überall gleich hoch, Knopf immer an derselben Stelle */
@media (max-width: 899px) {
  .hero-text { display: flex; flex-direction: column; min-height: 24rem; }
  .hero-text .btn-row { margin-top: auto; padding-top: 1.25rem; }
}
@media (min-width: 900px) {
  .hero-split .hero-media { min-height: min(calc(100svh - var(--header-h) - 7.5rem), 760px); }
}

/* Textblock im Startbereich: in der Höhe mittig zum Bild, auf allen Seiten gleich hoch
   -> Knopf steht überall an derselben Stelle */
@media (min-width: 900px) {
  .hero-split .hero-text { align-self: center; height: clamp(22rem, 17rem + 9vw, 27rem); padding-block: 0; }
  .hero-split .hero-text .btn-row { margin-top: auto; padding-top: 1.5rem; }
}
/* feste Höhe des Textblocks = Platz für den längsten Text (englische Startseite) */
@media (min-width: 900px)  { .hero-split .hero-text { height: 35rem; } }
@media (min-width: 1024px) { .hero-split .hero-text { height: 31rem; } }
@media (min-width: 1200px) { .hero-split .hero-text { height: 30rem; } }
/* Text und Knöpfe direkt zusammen; zusätzlicher Platz bei kurzen Texten kommt nach oben */
@media (min-width: 900px) {
  .hero-split .hero-text { justify-content: flex-end; }
  .hero-split .hero-text .btn-row { margin-top: 1.75rem; padding-top: 0; }
}
/* Höhe so gewählt, dass die Texte optisch mittig zum Bild stehen */
@media (min-width: 900px)  { .hero-split .hero-text { height: 29rem; } }
@media (min-width: 1024px) { .hero-split .hero-text { height: 26.5rem; } }
@media (min-width: 1200px) { .hero-split .hero-text { height: 24.5rem; } }
@media (min-width: 900px) and (max-width: 1199px) { .hero-split .hero-text { height: 29.5rem; } }
/* Handy: Knopf direkt unter dem Text (keine feste Höhe) */
@media (max-width: 899px) {
  .hero-text { min-height: 0; }
  .hero-text .btn-row { margin-top: 1.25rem; padding-top: 0; }
}
@media (max-width: 899px) {
  .hero .lead { margin-bottom: 0; }
  .hero-text .btn-row { margin-top: 1.5rem; }
}
/* Handy/Tablet: Textbereich auf allen Seiten gleich hoch, Text + Knopf unten zusammen,
   zusätzlicher Platz kommt nach oben -> Knopf überall auf derselben Höhe */
@media (max-width: 899px) {
  .hero-text { display: flex; flex-direction: column; justify-content: flex-end; box-sizing: content-box; min-height: 0; height: 18.75rem; }
  .hero-text .btn-row { margin-top: 1.5rem; }
}
@media (min-width: 600px) and (max-width: 899px) { .hero-text { height: 17.5rem; } }
/* Leistungsseiten: Ort immer in eigener Zeile ("in Wien") -> alle Überschriften gleich aufgebaut */
.h1-loc { display: block; }
@media (max-width: 599px) { .hero h1 { font-size: 1.72rem; } }
@media (max-width: 599px) { .hero-text { height: 17.9rem; } }
@media (max-width: 359px) { .hero-text { height: 20.8rem; } }
/* Handy: kleinerer Abstand zwischen Startbild und Text */
@media (max-width: 899px) { .hero-text { padding-top: .75rem; } }
@media (min-width: 420px) and (max-width: 599px) { .hero-text { height: 16.3rem; } }
/* Feinabstimmung der Höhe je Handybreite (= Platz für den längsten Text) */
@media (max-width: 424px)                          { .hero-text { height: 17.9rem; } }
@media (min-width: 425px) and (max-width: 479px)   { .hero-text { height: 16.3rem; } }
@media (min-width: 480px) and (max-width: 539px)   { .hero-text { height: 15.9rem; } }
@media (min-width: 540px) and (max-width: 599px)   { .hero-text { height: 14.3rem; } }
@media (min-width: 600px) and (max-width: 899px)   { .hero-text { height: 18rem; } }
@media (max-width: 359px)                          { .hero-text { height: 20.8rem; } }

/* ---------- Über mich: passt am PC auf einen Bildschirm (wie Kontakt) ---------- */
.page-about main { justify-content: stretch; }
.about-section { flex: 1 0 auto; display: flex; align-items: center; padding-block: clamp(1.5rem, 4vh, 3.5rem); }
.about-section > .container { width: 100%; }
.about-grid { display: grid; gap: 1.75rem; }
.about-img img { width: 100%; border-radius: 4px; }
.about-text h1 { font-size: clamp(2rem, 1.2rem + 1.8vw + 1vh, 3.4rem); margin-bottom: .5rem; }
.about-text .lead { margin-bottom: 1.25rem; }
.about-text .prose { max-width: 40rem; }
.about-text .prose h2 { font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); margin: 1.25rem 0 .5rem; }
.about-text .prose p { margin-bottom: .85em; }
.about-text .btn-row { margin-top: 1.5rem; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
  /* Porträt hochkant zugeschnitten, so hoch wie der Bildschirm es erlaubt */
  .about-img { height: min(calc(100svh - var(--header-h) - 8rem), 820px); min-height: 420px; }
  .about-img img { height: 100%; object-fit: cover; object-position: 50% 30%; }
  .about-text .prose { font-size: clamp(.95rem, .85rem + .35vh, 1.08rem); line-height: 1.65; }
}
@media (max-width: 899px) {
  .about-img img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; }
  .about-text .btn-row .btn { width: 100%; }
  .about-text .btn-row { flex-direction: column; gap: .9rem; }
}
/* Über mich auf niedrigen Bildschirmen (z. B. 1366x768) kompakter */
@media (min-width: 900px) and (max-height: 860px) {
  .about-section { padding-block: 1rem; }
  .about-img { height: min(calc(100svh - var(--header-h) - 5rem), 820px); min-height: 380px; }
  .about-text h1 { font-size: 2.3rem; }
  .about-text .lead { font-size: 1.02rem; margin-bottom: .8rem; }
  .about-text .prose { font-size: .93rem; line-height: 1.55; }
  .about-text .prose p { margin-bottom: .6em; }
  .about-text .prose h2 { margin: .8rem 0 .35rem; font-size: 1.2rem; }
  .about-text .btn-row { margin-top: 1rem; }
}
/* Porträt-Höhe = Bildschirmhöhe minus Kopfzeile, Fußzeile und Abstände */
@media (min-width: 900px) {
  .about-section { padding-block: clamp(1rem, 3vh, 2.5rem); }
  .about-img { height: min(calc(100svh - var(--header-h) - 11rem), 820px); min-height: 360px; }
  .about-text .prose { font-size: clamp(.9rem, .55rem + .55vh, 1.08rem); }
}
@media (min-width: 900px) and (max-height: 860px) {
  .about-section { padding-block: .75rem; }
  .about-img { height: calc(100svh - var(--header-h) - 9.5rem); min-height: 340px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .about-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem; }
  .about-text h1 { font-size: 2.1rem; }
  .about-text .prose { font-size: .88rem; line-height: 1.5; }
}
/* Handy: Startseiten-Überschrift zweizeilig (Hauptzeile + kleinere Unterzeile) */
@media (max-width: 899px) {
  .h1-sub { display: block; font-size: .6em; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; color: var(--text-soft); margin-top: .2em; }
  .hero-text { padding-top: .75rem; }
}
/* Handy: Überschrift und Einleitungssatz reservieren überall gleich viele Zeilen */
@media (max-width: 899px) {
  .hero h1 { min-height: calc(2 * 1.15em); }
  .hero .lead { min-height: calc(3 * 1.6em); line-height: 1.6; }
}
@media (max-width: 400px) { .hero h1 { font-size: 1.6rem; } }
/* Endgültige Höhen des Startbereich-Texts am Handy/Tablet (= längster Text, alle Seiten gleich) */
@media (max-width: 359px)                        { .hero-text { height: 20.2rem; } }
@media (min-width: 360px) and (max-width: 374px) { .hero-text { height: 17.45rem; } }
@media (min-width: 375px) and (max-width: 400px) { .hero-text { height: 15.65rem; } }
@media (min-width: 401px) and (max-width: 599px) { .hero-text { height: 15.9rem; } }
@media (min-width: 600px) and (max-width: 699px) { .hero-text { height: 19rem; } }
@media (min-width: 700px) and (max-width: 799px) { .hero-text { height: 19.4rem; } }
@media (min-width: 800px) and (max-width: 899px) { .hero-text { height: 19.9rem; } }
/* Kopfzeile minimal niedriger – gleicher Innenabstand ums Logo, gleiche Menü-Schrift */
:root { --header-h: 90px; }
.logo img { width: 82px; }
@media (max-width: 1023px) {
  :root { --header-h: 76px; }
  .logo img { width: 66px; }
  .nav-toggle { width: 44px; height: 44px; }
}

/* ---------- Kontaktformular mit Vorauswahl (Paket-Knöpfe) passt auf den Bildschirm ---------- */
.contact-form .checks .check span { padding: .3rem .7rem; font-size: .82rem; }
@media (min-width: 960px) {
  .contact-form .type-fields .grid-2 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem 1rem; margin-bottom: .4rem; }
  .contact-form .type-fields .checks { grid-column: span 2; }
  .contact-form .type-fields .checks legend { margin-bottom: .4rem; }
  .contact-form .type-fields label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page-contact .contact-form textarea { min-height: clamp(70px, calc(100vh - 860px), 220px); }
}
@media (min-width: 960px) {
  .page-contact .contact-section { padding-block: clamp(.75rem, 2vh, 2rem); }
  .page-contact .contact-form-wrap { padding: clamp(1rem, 2.2vh, 2rem) clamp(1.25rem, 2.5vw, 2.5rem); }
  .page-contact .contact-form > .field,
  .page-contact .contact-form .grid-2, .page-contact .contact-form .grid-3 { margin-bottom: clamp(.7rem, 1.4vh, 1.3rem); row-gap: clamp(.7rem, 1.4vh, 1.3rem); }
  .page-contact .contact-form input[type="text"], .page-contact .contact-form input[type="email"],
  .page-contact .contact-form input[type="tel"], .page-contact .contact-form input[type="number"],
  .page-contact .contact-form input[type="date"], .page-contact .contact-form select { min-height: clamp(42px, 4.6vh, 54px); }
  .page-contact .contact-form .type-option span { min-height: clamp(42px, 4.6vh, 54px); }
  .page-contact .footer-bottom { padding-block: 1rem; }
}
}
@media (min-width: 960px) {
  .page-contact .type-fields .checks .check-grid { gap: .35rem; }
  .page-contact .type-fields .checks .check span { padding: .22rem .6rem; font-size: .78rem; }
}
@media (min-width: 960px) and (max-height: 800px) {
  .page-contact .contact-section { padding-block: .5rem; }
  .page-contact .contact-form-wrap { padding-block: .9rem; }
  .page-contact .footer-bottom { padding-block: .6rem; }
  .page-contact .form-actions .small { display: none; }
}

/* ---------- Bewertungen: fünf goldene Sterne ---------- */
.stars { display: inline-flex; gap: .3rem; color: #f5b301; margin-bottom: 1rem; filter: drop-shadow(0 2px 10px rgba(245, 179, 1, .25)); }
.stars svg { width: clamp(24px, 2.2vw, 32px); height: auto; }

/* Video-Feld im Fotoraster der Leistungsseiten: mittlere Spalte, zwei Reihen hoch */
.video-item { position: relative; cursor: pointer; }
.video-item video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-item:hover video { transform: scale(1.02); }
.page-hochzeit .video-item, .page-event .video-item, .page-business .video-item { grid-row: span 2; aspect-ratio: auto; }
.play-badge { position: absolute; right: .6rem; bottom: .6rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(0, 0, 0, .55); pointer-events: none; }
.play-badge::before { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: .5rem 0 .5rem .8rem; border-color: transparent transparent transparent #fff; }
@media (max-width: 639px) { .play-badge { width: 1.9rem; height: 1.9rem; right: .4rem; bottom: .4rem; } .play-badge::before { border-width: .38rem 0 .38rem .6rem; } }
.lb-figure video { max-width: 100%; max-height: calc(100svh - 7rem); width: auto; height: auto; background: #000; }
@media (max-width: 639px) { .lb-figure video { max-height: calc(100svh - 10rem); } }

/* Startseite „Ausgewählte Arbeiten“: 3 Spalten mit je 1 Hoch- + 2 Querformaten -> unten bündig */
.featured-grid { --fgap: clamp(.4rem, 1.2vw, 1rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fgap); }
.featured-col { display: flex; flex-direction: column; gap: var(--fgap); }
.featured-grid .featured-item { margin: 0; aspect-ratio: 3 / 2; }
.featured-grid .featured-item.is-p { aspect-ratio: 2 / 3; }
.featured-grid .featured-item img { width: 100%; height: 100%; object-fit: cover; }

/* Portfolio: 3 Spalten, unten bündig (Verteilung in build.py, Rest gleichen die Fotos per Zuschnitt aus) */
.balanced-grid { --fgap: clamp(.4rem, 1.2vw, 1rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fgap); }
.balanced-col { display: flex; flex-direction: column; gap: var(--fgap); }
.balanced-grid .masonry-item { margin: 0; flex: 1 1 auto; display: flex; }
.balanced-grid .masonry-item.is-p { flex-grow: 2; }  /* Hochformate gleichen mehr aus -> gleichmäßiger Zuschnitt */
.balanced-grid .masonry-item img { display: block; width: 100%; height: auto; flex: 1 1 auto; object-fit: cover; }

/* Startseite: Titelbild-Slideshow (Bilder übereinander, sanftes Überblenden) */
.hero-slides { position: relative; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hero-slides img.is-active { opacity: 1; }
/* Startbild auf allen Seiten im Hochformat 3:4 (nur Computer; am Handy unverändert).
   Gleiche Regel für Startseite und Themenseiten -> Foto, Text und Knopf überall an derselben Stelle. */
@media (min-width: 900px) {
  .hero-split .hero-media { justify-self: end; max-width: 100%; height: clamp(560px, calc(100svh - var(--header-h) - 3rem), 900px); min-height: 0; aspect-ratio: 3 / 4; }
}

/* Fokuspunkt pro Foto (aus alt.txt, Spalte 5) – steuert den Bildausschnitt beim Zuschneiden */
.fx-0 { --fx: 0%; } .fy-0 { --fy: 0%; }
.fx-5 { --fx: 5%; } .fy-5 { --fy: 5%; }
.fx-10 { --fx: 10%; } .fy-10 { --fy: 10%; }
.fx-15 { --fx: 15%; } .fy-15 { --fy: 15%; }
.fx-20 { --fx: 20%; } .fy-20 { --fy: 20%; }
.fx-25 { --fx: 25%; } .fy-25 { --fy: 25%; }
.fx-30 { --fx: 30%; } .fy-30 { --fy: 30%; }
.fx-35 { --fx: 35%; } .fy-35 { --fy: 35%; }
.fx-40 { --fx: 40%; } .fy-40 { --fy: 40%; }
.fx-45 { --fx: 45%; } .fy-45 { --fy: 45%; }
.fx-50 { --fx: 50%; } .fy-50 { --fy: 50%; }
.fx-55 { --fx: 55%; } .fy-55 { --fy: 55%; }
.fx-60 { --fx: 60%; } .fy-60 { --fy: 60%; }
.fx-65 { --fx: 65%; } .fy-65 { --fy: 65%; }
.fx-70 { --fx: 70%; } .fy-70 { --fy: 70%; }
.fx-75 { --fx: 75%; } .fy-75 { --fy: 75%; }
.fx-80 { --fx: 80%; } .fy-80 { --fy: 80%; }
.fx-85 { --fx: 85%; } .fy-85 { --fy: 85%; }
.fx-90 { --fx: 90%; } .fy-90 { --fy: 90%; }
.fx-95 { --fx: 95%; } .fy-95 { --fy: 95%; }
.fx-100 { --fx: 100%; } .fy-100 { --fy: 100%; }
[class*="fx-"], [class*="fy-"] { object-position: var(--fx, 50%) var(--fy, 50%); }

/* ---------- Menü: Trennstrich zwischen Leistungen (Hochzeit/Events/Business) und Portfolio/Über mich ---------- */
@media (min-width: 1024px) {
  .nav { align-items: center; }
  .nav-sep { display: flex; align-items: center; }
  .nav-sep::before { content: ""; width: 1px; height: 1.25em; background: var(--line-strong); margin: 0 .55rem 0 .3rem; }
}
/* Handy-Menü: etwas Abstand zwischen den beiden Gruppen */
@media (max-width: 1023px) {
  .nav-sep { margin-top: 1.75rem; }
}
