/* ==========================================================================
   KS-FotoArt — Stylesheet
   Design: "Hell & warm" — helle, warme Farbwelt, Serifen-Überschriften,
   großzügige Abstände, keine Farbverläufe, keine Emojis.
   ========================================================================== */

/* ---- Fonts (lokal, kein Google-Fonts-Request) -------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-600.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-600-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/karla-400.woff2") format("woff2");
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/karla-500.woff2") format("woff2");
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/karla-600.woff2") format("woff2");
}

/* ---- Design Tokens ------------------------------------------------------ */
:root {
  --bg: #FBF4F1;
  --surface: #F6E6E6;
  --text: #2E2327;
  --text-muted: #5E4750;
  --line: #E8D3D3;
  --accent: #934E5A;
  --accent-hover: #7A3D46;
  --dark: #3B2A31;
  --dark-text: #F7E9E6;

  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 32px;
  --radius-pill: 999px;

  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.75rem;
  --space-l: 3rem;
  --space-xl: 5rem;
  --space-xxl: 7rem;

  --container: 1180px;
  --shadow: 0 20px 45px -25px rgba(46, 35, 39, 0.35);
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 var(--space-s);
  color: var(--text);
}
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 600; }
p { margin: 0 0 var(--space-s); color: var(--text-muted); }
strong { color: var(--text); }
em { font-style: italic; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-m);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.section {
  padding: var(--space-xxl) 0;
}
.section--tight { padding: var(--space-xl) 0; }
.section--surface { background: var(--surface); }
.section-head {
  max-width: 680px;
  margin: 0 auto var(--space-l);
  text-align: center;
}
.section-head p { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--filled {
  background: var(--accent);
  color: #FBF7F1;
  border-color: var(--accent);
}
.btn--filled:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--outline:hover { background: var(--text); color: var(--bg); }
.btn--on-dark { border-color: var(--dark-text); color: var(--dark-text); }
.btn--on-dark:hover { background: var(--dark-text); color: var(--dark); }
.btn-row { display: flex; gap: var(--space-s); flex-wrap: wrap; }

/* ---- Header / Navigation --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 244, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-s);
  padding-bottom: var(--space-s);
}
.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.logo span { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--surface);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-m);
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    height: calc(100vh - 73px);
    background: var(--bg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    overflow-y: auto;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-m);
  }
  .main-nav li { width: 100%; }
  .main-nav a {
    display: block;
    padding: var(--space-s) 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
}

/* ---- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0 var(--space-xxl);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-xl);
  align-items: center;
}
.hero-copy h1 { margin-bottom: var(--space-m); }
.hero-copy h1 em {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--accent);
}
.hero-copy p { font-size: 1.1rem; max-width: 480px; }
.hero-visual {
  position: relative;
  padding: var(--space-s) 0 0 var(--space-l);
}
.hero-visual .img-main {
  border-radius: var(--radius-l) var(--radius-l) var(--radius-l) var(--radius-l);
  border-top-left-radius: 220px;
  border-top-right-radius: 220px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual .img-main img { width: 100%; height: 560px; object-fit: cover; }
.hero-visual .img-detail {
  position: absolute;
  left: 0;
  bottom: -8%;
  width: 42%;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow);
}
.hero-visual .img-detail img { height: 220px; object-fit: cover; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { padding: var(--space-l) 0 0 var(--space-l); }
  .hero-visual .img-main img { height: 420px; }
}

/* ---- Cards (Shooting-Arten) -------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
}
.shoot-card {
  background: var(--surface);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shoot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shoot-card .thumb { aspect-ratio: 4/5; overflow: hidden; }
.shoot-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.shoot-card .body { padding: var(--space-m); flex: 1; display: flex; flex-direction: column; }
.shoot-card .body p { flex: 1; }
.shoot-card .link { font-weight: 600; color: var(--accent); }
.shoot-card .link:hover { color: var(--accent-hover); }

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---- Werte / Values --------------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-m);
}
.value-item {
  text-align: center;
  padding: var(--space-m) var(--space-s);
}
.value-item .num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.value-item h3 { margin-bottom: 0.4rem; }
.value-item p { margin: 0; font-size: 0.95rem; }

@media (max-width: 860px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Über uns / Split content ----------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
}
.split img { border-radius: var(--radius-l); box-shadow: var(--shadow); }
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* ---- Gallery preview / grid --------------------------------------------- */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-s);
}
.gallery-preview-grid a { border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 3/4; }
.gallery-preview-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-preview-grid a:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: var(--space-l);
}
.gallery-filters button {
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gallery-filters button:hover { border-color: var(--accent); color: var(--accent); }
.gallery-filters button.is-active { background: var(--accent); border-color: var(--accent); color: #FBF7F1; }

.filter-divider {
  width: 1px;
  align-self: stretch;
  background: var(--line);
  margin: 0.2rem 0.2rem;
}
.gallery-wallpaper-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.gallery-wallpaper-link:hover { background: var(--accent); color: #FBF7F1; }
.gallery-wallpaper-link svg { width: 15px; height: 15px; flex-shrink: 0; }

@media (max-width: 860px) {
  .filter-divider { display: none; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-s);
}
.gallery-grid .g-item {
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: none;
  padding: 0;
  background: var(--surface);
}
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-grid .g-item:hover img { transform: scale(1.05); }
.gallery-grid .g-item[hidden] { display: none; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Fokus-Rahmen für alle Lightbox-Auslöser (Galerie-Kacheln, Fotobox-Templates,
   Wallpaper-Vorschauen …): nur bei Tastaturbedienung sichtbar, in Akzentfarbe —
   ersetzt den Standard-Browser-Rahmen (sonst oft blau), der sonst auch nach
   dem Schließen der Lightbox beim programmatischen Fokus-Reset erscheint. */
.lightbox-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Mood/example grid (uncropped images, e.g. Fotobox-Stimmungsbilder) -- */
.mood-grid.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.mood-item { background: none; }
.mood-item .g-item {
  aspect-ratio: auto;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
}
.mood-item .g-item img { width: 100%; height: auto; object-fit: contain; }
.mood-item figcaption {
  margin-top: var(--space-xs);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.mood-note {
  margin-top: var(--space-m);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}
@media (max-width: 760px) { .mood-grid.gallery-grid { grid-template-columns: 1fr; } }

/* ---- Template-Grid (Fotobox-Druckvorlagen, unbeschnitten) ----------------- */
.template-grid .g-item {
  aspect-ratio: 3/2;
  background: var(--bg);
}
.template-grid .g-item img { object-fit: contain; }

/* ---- Lightbox ------------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(38, 27, 32, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--space-m);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  border-radius: var(--radius-s);
  object-fit: contain;
}
.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  background: rgba(247, 233, 230, 0.12);
  border: 1px solid rgba(247, 233, 230, 0.4);
  color: var(--dark-text);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.lightbox .lb-close { top: var(--space-m); right: var(--space-m); }
.lightbox .lb-prev { left: var(--space-m); top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: var(--space-m); top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption {
  position: absolute;
  bottom: var(--space-m);
  left: 0; right: 0;
  text-align: center;
  color: var(--dark-text);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ---- Zusatzleistungen ------------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
}
.service-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: var(--space-m);
}
.service-item h3 { margin-bottom: 0.4rem; }
.service-item p { margin: 0; font-size: 0.95rem; }
@media (max-width: 860px) { .service-grid { grid-template-columns: 1fr; } }
.service-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .service-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .service-grid--4 { grid-template-columns: 1fr; } }

/* ---- Preisliste ------------------------------------------------------------ */
.price-intro {
  background: var(--surface);
  border-radius: var(--radius-m);
  padding: var(--space-m);
  margin-bottom: var(--space-l);
}
.price-intro ul li { padding: 0.3rem 0; color: var(--text-muted); }
.price-intro ul li::before { content: "— "; color: var(--accent); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-m);
}
.price-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .price-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid--4 { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: var(--space-m);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.price-card.is-popular { border-color: var(--accent); box-shadow: var(--shadow); }
.price-card .badge {
  align-self: flex-start;
  background: var(--accent);
  color: #FBF7F1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-xs);
}
.price-card h3 { margin-bottom: 0.1rem; }
.price-card .price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: var(--space-s);
}
.price-card ul { flex: 1; margin-bottom: var(--space-m); }
.price-card ul li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.price-card ul li:last-child { border-bottom: none; }
.price-card .extra { font-size: 0.85rem; color: var(--text-muted); margin-top: var(--space-xs); }

.price-note {
  margin-top: var(--space-l);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- FAQ Accordion ----------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-m) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: var(--space-m); margin: 0; }

/* ---- Locations list ----------------------------------------------------------- */
.location-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-l);
}
.location-columns h3 { color: var(--accent); font-size: 1.1rem; margin-bottom: var(--space-xs); }
.location-columns ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}
@media (max-width: 860px) { .location-columns { grid-template-columns: 1fr; } }

/* ---- Ablauf / Steps ----------------------------------------------------------- */
.step-list { counter-reset: step; display: grid; gap: var(--space-m); }
.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-m);
  align-items: start;
}
.step-item .step-num {
  counter-increment: step;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--accent);
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-item h3 { margin-bottom: 0.2rem; }
.step-item p { margin: 0; }

/* ---- Kontakt ------------------------------------------------------------------ */
.contact-section {
  background: var(--dark);
  color: var(--dark-text);
}
.contact-section .section-head { color: var(--dark-text); }
.contact-section h1,
.contact-section h2,
.contact-section h3 { color: var(--dark-text); }
.contact-section p { color: #D9C3C3; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.contact-main .btn { margin-top: var(--space-m); }
.contact-list { margin-top: var(--space-m); display: grid; gap: 0.6rem; }
.contact-list li { color: #D9C3C3; font-size: 0.95rem; }
.contact-list a { color: var(--dark-text); font-weight: 600; }
.contact-list a:hover { color: #E3A3AE; }
.contact-photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/2;
}
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }

.form-grid { display: grid; gap: var(--space-s); }
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-s);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(147, 78, 90, 0.15);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.form-check input { margin-top: 0.3rem; }
.form-check a { text-decoration: underline; color: var(--accent); }
.form-status { font-size: 0.9rem; padding-top: var(--space-xs); color: var(--text-muted); }
.form-status.is-success { color: #4F7A52; }
.form-status.is-error { color: #B23A3A; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-photo { margin-top: var(--space-m); }
}

/* ---- Kontakt (neue Seite kontakt.html) ------------------------------------ */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-xl);
  align-items: start;
}
.kontakt-layout > * { min-width: 0; }
.kontakt-photo { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1145/1374; }
.kontakt-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kontakt-ways { margin-top: var(--space-m); display: grid; gap: var(--space-s); }
.kontakt-way { display: flex; gap: 0.7rem; align-items: flex-start; }
.kontakt-way svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 0.15rem; }
.kontakt-way span,
.kontakt-way p { margin: 0; color: var(--text); font-size: 0.95rem; }
.kontakt-way p { color: var(--text-muted); font-size: 0.9rem; }
.kontakt-way a { font-weight: 600; text-decoration: none; }
.kontakt-way a:hover span { color: var(--accent); }

.kontakt-form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: var(--space-l);
}
.form-privacy-note { font-size: 0.82rem; color: var(--text-muted); margin-top: var(--space-m); margin-bottom: 0; }
.form-privacy-note a { color: var(--text-muted); text-decoration: underline; }

@media (max-width: 860px) {
  .kontakt-layout { grid-template-columns: 1fr; }
  .kontakt-form-card { order: -1; padding: var(--space-m); }
}

.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.chip {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m); text-align: center; }
.steps-grid .step-num { margin: 0 auto var(--space-s); }
.steps-grid h3 { margin-bottom: 0.3rem; }
.steps-grid p { margin: 0; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---- Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--dark);
  color: #C9AFB2;
  padding: var(--space-l) 0 var(--space-m);
  border-top: 1px solid rgba(247, 233, 230, 0.08);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-l);
  flex-wrap: wrap;
  padding-bottom: var(--space-m);
  margin-bottom: var(--space-m);
  border-bottom: 1px solid rgba(247, 233, 230, 0.12);
}
.footer-top .logo { color: var(--dark-text); }
.footer-nav { display: flex; gap: var(--space-m); flex-wrap: wrap; }
.footer-nav a { color: #C9AFB2; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--dark-text); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(247, 233, 230, 0.3);
}
.footer-social a:hover { border-color: var(--accent); color: #E3A3AE; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-s);
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* ---- Placeholder-Bild ---------------------------------------------------- */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: var(--space-s);
  border: 1px dashed var(--line);
  border-radius: inherit;
  min-height: 100%;
}

/* ---- Legal pages (Impressum/Datenschutz) --------------------------------- */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: var(--space-l); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { margin: 0 0 var(--space-s); padding-left: 1.2rem; list-style: disc; }
.legal-content ul li { color: var(--text-muted); margin-bottom: 0.3rem; }

/* ---- Wallpaper-Downloads --------------------------------------------------- */
.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-l);
}
.wallpaper-card {
  background: var(--surface);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wallpaper-card .thumb {
  position: relative;
  aspect-ratio: 3/2;
  overflow: visible;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallpaper-card .thumb-trigger {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.wallpaper-card .thumb-trigger img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wallpaper-card .body { padding: var(--space-m); display: flex; flex-direction: column; gap: var(--space-s); }
.wallpaper-card h3 { font-size: 1.1rem; margin: 0; }
.wallpaper-downloads { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }
.btn--sm .file-size { opacity: 0.75; font-weight: 500; font-size: 0.78rem; margin-left: 0.3rem; }

/* Handy-Mockup: reines CSS-Gehäuse um die Handy-Vorschau */
.phone-mockup-wrap {
  position: absolute;
  right: clamp(0.8rem, 4vw, 1.4rem);
  bottom: clamp(-1.4rem, -3vw, -0.8rem);
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  z-index: 3;
}
.phone-mockup-item { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.phone-mockup {
  display: block;
  width: clamp(84px, 16vw, 108px);
  padding: 5px 5px 7px;
  border: none;
  border-radius: 20px;
  background: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  position: relative;
}
.phone-mockup-wrap--double .phone-mockup { width: clamp(64px, 13vw, 84px); }
.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  height: 4px;
  border-radius: 3px;
  background: rgba(251, 247, 241, 0.35);
  z-index: 2;
}
.phone-screen {
  display: block;
  position: relative;
  aspect-ratio: 400 / 869;
  border-radius: 13px;
  overflow: hidden;
  background: var(--surface);
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Motiv ohne Querformat (nur Handy): zentriertes Mockup auf ruhigem Hintergrund */
.wallpaper-card--phone-only .thumb {
  background: var(--bg);
}
.thumb--phone-only {
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-mockup--large {
  width: clamp(130px, 30vw, 160px);
  padding: 6px 6px 9px;
  border-radius: 24px;
}
.phone-mockup--large .phone-notch { top: 11px; }

@media (max-width: 860px) {
  .wallpaper-grid { grid-template-columns: 1fr; }
  .phone-mockup { width: clamp(96px, 26vw, 128px); }
  .phone-mockup-wrap--double .phone-mockup { width: clamp(74px, 20vw, 98px); }
  .phone-mockup--large { width: clamp(140px, 38vw, 170px); }
}

.wallpaper-note {
  max-width: 680px;
  margin: var(--space-l) auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.wallpaper-note a { color: var(--accent); font-weight: 600; }
.wallpaper-note a:hover { color: var(--accent-hover); }
.wallpaper-legal {
  max-width: 680px;
  margin: var(--space-m) auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ---- Utility ------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
