/* ==========================================================================
   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: #F6F1EA;
  --surface: #EDE3D6;
  --text: #2B2420;
  --text-muted: #5A4E46;
  --line: #D9CBBB;
  --accent: #9A5A3C;
  --accent-hover: #7A4229;
  --dark: #2B2420;
  --dark-text: #F6F1EA;

  --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(43, 36, 32, 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(246, 241, 234, 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 {
  padding: var(--space-xl) 0 var(--space-xxl);
}
.hero .container {
  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; }

.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); } }

/* ---- Lightbox ------------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 13, 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(246, 241, 234, 0.12);
  border: 1px solid rgba(246, 241, 234, 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; } }

/* ---- 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-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: #D8CFC4; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
}
.contact-info ul { margin-top: var(--space-m); display: grid; gap: 0.6rem; }
.contact-info li { color: #D8CFC4; }
.contact-info a { color: var(--dark-text); font-weight: 600; }
.contact-info a:hover { color: var(--accent); }

.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; }
.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(246, 241, 234, 0.06);
  border: 1px solid rgba(246, 241, 234, 0.3);
  color: var(--dark-text);
  border-radius: var(--radius-s);
  padding: 0.75rem 1rem;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #A79A8C; }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #D8CFC4;
}
.form-check input { margin-top: 0.3rem; }
.form-check a { text-decoration: underline; color: var(--dark-text); }
.form-status { font-size: 0.9rem; padding-top: var(--space-xs); color: #D8CFC4; }
.form-status.is-success { color: #C9A98B; }
.form-status.is-error { color: #E29578; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

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

/* ---- Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--dark);
  color: #B9AEA2;
  padding: var(--space-l) 0 var(--space-m);
  border-top: 1px solid rgba(246, 241, 234, 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(246, 241, 234, 0.12);
}
.footer-top .logo { color: var(--dark-text); }
.footer-nav { display: flex; gap: var(--space-m); flex-wrap: wrap; }
.footer-nav a { color: #B9AEA2; 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(246, 241, 234, 0.3);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.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; }

/* ---- 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;
}
