/* ───────────────────────────────────────────────────────────
   NK Fotografie — Haupt-Stylesheet
   Tokens gespiegelt aus theme.json / docs/DESIGN-SYSTEM.md
   ─────────────────────────────────────────────────────────── */

/* Self-hosted Webfonts (DSGVO-konform, keine Google-Calls) */
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 300 700;
  font-display: swap; src: url("../fonts/outfit-var.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("../fonts/cormorant-garamond.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-italic.woff2") format("woff2");
}

:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-2: #efeae2;
  --ink: #1a1614;
  --ink-soft: #3a322c;
  --muted: #6b5d52;
  --muted-2: #b6aa9b;
  --line: #d9d1c4;
  --line-soft: #e8e2d6;
  --accent: #8a6a3c;
  --accent-ink: #ffffff;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Outfit", "Inter Tight", system-ui, sans-serif;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(26, 22, 20, 0.06);
  --shadow: 0 12px 40px -16px rgba(26, 22, 20, 0.18);
  --shadow-lg: 0 30px 80px -30px rgba(26, 22, 20, 0.35);

  --container: 1200px;
  --container-wide: 1440px;
  --container-narrow: 880px;
  --section-pad: clamp(80px, 12vh, 160px);
  --ease: cubic-bezier(0.83, 0, 0.17, 1);
}

[data-theme="dark"] {
  --bg: #14110f;
  --surface: #1c1815;
  --surface-2: #221d1a;
  --ink: #f3ece2;
  --ink-soft: #cfc5b6;
  --muted: #8a8073;
  --muted-2: #635b50;
  --line: #2c2622;
  --line-soft: #221d1a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 12px 40px -16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}

/* ─── Base ─── */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 0.5em; }
h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--accent-ink); }

.nk-container { width: min(var(--container), 100% - 2 * clamp(20px, 5vw, 64px)); margin-inline: auto; }
.nk-section { padding-block: var(--section-pad); }
.nk-link { color: var(--accent); font-weight: 500; }

.nk-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--r);
}
.nk-skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ─── Buttons ─── */
.nk-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  padding: 14px 26px; border-radius: var(--r); cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
}
.nk-btn--primary { background: var(--accent); color: var(--accent-ink); }
.nk-btn--primary:hover { transform: translateY(-2px); color: var(--accent-ink); }
.nk-btn--ghost { border-color: var(--line); color: var(--ink); }
.nk-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.nk-btn--neutral { background: var(--surface-2); color: var(--ink); border: 1px solid var(--muted-2); }
.nk-btn--neutral:hover { border-color: var(--ink); }

/* ─── Nav ─── */
.nk-nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nk-nav.is-scrolled { border-bottom-color: var(--line); }
.nk-nav__inner {
  width: min(var(--container-wide), 100% - 2 * clamp(20px, 5vw, 64px));
  margin-inline: auto; display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}
.nk-nav__brand-text { font-family: var(--serif); font-size: 22px; }
.nk-nav__brand-text em { font-style: italic; color: var(--accent); }
.nk-nav__menu { margin-left: auto; }
.nk-menu { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nk-menu a { font-size: 15px; color: var(--ink-soft); }
.nk-nav__cta {
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 20px; border-radius: var(--r); font-size: 15px; font-weight: 500;
}
.nk-nav__cta:hover { color: var(--accent-ink); opacity: 0.92; }
.nk-nav__burger { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 0; position: relative; z-index: 101; }
.nk-nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s ease; transform-origin: center; }
/* Burger → X (Header bleibt hell, X bleibt dunkel) */
.nk-nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nk-nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nk-nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nk-mobile-menu { display: none; }

@media (max-width: 860px) {
  .nk-nav__menu, .nk-nav__cta { display: none; }
  .nk-nav__burger { display: flex; margin-left: auto; }

  /* Fullscreen-Overlay (unter der Sticky-Headerleiste) */
  .nk-mobile-menu {
    display: flex; position: fixed; inset: 0; z-index: 99;
    background: linear-gradient(150deg, #1a1614 0%, #2a2218 100%);
    overflow-y: auto; animation: nkMenuFade 0.3s ease;
  }
  .nk-mobile-menu[hidden] { display: none; }
  .nk-mobile-menu__inner { width: 100%; min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(72px + 24px) clamp(24px, 7vw, 56px) 40px; }
  .nk-menu--mobile { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
  .nk-menu--mobile li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nk-menu--mobile a {
    display: block; padding: 16px 2px; color: #f3ece2;
    font-family: var(--serif); font-size: clamp(30px, 8vw, 40px); line-height: 1.1;
    opacity: 0; transform: translateY(-12px); animation: nkMenuItem 0.5s var(--ease) forwards;
  }
  .nk-menu--mobile a:hover, .nk-menu--mobile a:focus-visible { color: #e9d8bd; }
  .nk-menu--mobile li:nth-child(1) a { animation-delay: 0.06s; }
  .nk-menu--mobile li:nth-child(2) a { animation-delay: 0.12s; }
  .nk-menu--mobile li:nth-child(3) a { animation-delay: 0.18s; }
  .nk-menu--mobile li:nth-child(4) a { animation-delay: 0.24s; }
  .nk-menu--mobile li:nth-child(5) a { animation-delay: 0.30s; }
  .nk-menu--mobile li:nth-child(6) a { animation-delay: 0.36s; }

  .nk-mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; opacity: 0; animation: nkMenuItem 0.5s var(--ease) 0.42s forwards; }
  .nk-mobile-menu__act { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--r); color: #fff; font-size: 15px; }
  .nk-mobile-menu__act:hover { color: #fff; border-color: #fff; }
  .nk-mobile-menu__cta { grid-column: 1 / -1; text-align: center; min-height: 52px; display: flex; align-items: center; justify-content: center; padding: 14px; background: var(--accent); color: var(--accent-ink); border-radius: var(--r); font-size: 16px; font-weight: 500; }
  .nk-mobile-menu__cta:hover { color: var(--accent-ink); opacity: 0.92; }
}
@keyframes nkMenuFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nkMenuItem { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .nk-mobile-menu, .nk-menu--mobile a, .nk-mobile-menu__actions { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ─── Footer ─── */
.nk-footer { background: var(--surface-2); border-top: 1px solid var(--line); margin-top: 0; }
.nk-footer__inner {
  width: min(var(--container-wide), 100% - 2 * clamp(20px, 5vw, 64px)); margin-inline: auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 8vh, 96px);
}
.nk-footer__logo { font-family: var(--serif); font-size: 22px; }
.nk-footer__logo em { font-style: italic; color: var(--accent); }
.nk-footer__claim { color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 18px; }
.nk-footer__h { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.nk-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nk-footer__col p { color: var(--ink-soft); line-height: 1.9; }
.nk-footer__bar {
  width: min(var(--container-wide), 100% - 2 * clamp(20px, 5vw, 64px)); margin-inline: auto;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.nk-footer__legal { display: flex; gap: 20px; }

@media (max-width: 860px) {
  .nk-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .nk-footer__inner { grid-template-columns: 1fr; }
}

/* ─── Blog/Index ─── */
.nk-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; }
.nk-post-card__media img { border-radius: var(--r); aspect-ratio: 3/2; object-fit: cover; width: 100%; transition: transform 0.5s var(--ease); }
.nk-post-card__media:hover img { transform: scale(1.03); }
.nk-post-card__title { font-size: 26px; margin-top: 16px; line-height: 1.2; }
.nk-post-card__excerpt { color: var(--muted); }

/* ─── Artikel (single) ─── */
.nk-container--narrow { width: min(820px, 100% - 2 * clamp(20px, 5vw, 64px)); margin-inline: auto; }
.nk-article__head { padding-top: clamp(40px, 7vh, 80px); padding-bottom: clamp(24px, 4vw, 40px); }
.nk-crumbs--dark { color: var(--muted); }
.nk-crumbs--dark a { color: var(--ink-soft); }
.nk-crumbs--dark a:hover { color: var(--accent); }
.nk-article__cat { display: inline-block; margin: 18px 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.nk-article__cat:hover { color: var(--accent); opacity: 0.8; }
.nk-article__title { font-size: clamp(32px, 5vw, 56px); line-height: 1.1; margin: 0 0 14px; }
.nk-article__meta { color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.nk-article__hero { margin: clamp(16px, 3vw, 32px) auto clamp(28px, 5vw, 48px); }
.nk-article__hero img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--shadow); }
.nk-article__body { font-size: 18px; line-height: 1.8; }
.nk-article__body h2 { font-size: clamp(24px, 3vw, 34px); margin: 1.6em 0 0.5em; }
.nk-article__body h3 { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); margin: 1.4em 0 0.4em; }
.nk-article__body ul, .nk-article__body ol { padding-left: 1.3em; }
.nk-article__body li { margin-bottom: 0.5em; }
.nk-article__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.nk-article__body blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 1.3em; color: var(--ink); }
.nk-article__body img { border-radius: var(--r); margin: 1.5em 0; }

/* CTA-Box im Artikel */
.nk-article__cta { margin: clamp(36px, 6vw, 56px) 0; padding: clamp(24px, 4vw, 36px); background: var(--surface-2); border-radius: var(--r-lg); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.nk-article__cta h2 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 28px); }
.nk-article__cta p { margin: 0; color: var(--ink-soft); }
.nk-article__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* Autoren-Box */
.nk-author { display: flex; gap: 18px; align-items: center; padding: 24px 0; margin-top: 24px; border-top: 1px solid var(--line); }
.nk-author__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nk-author__name { font-family: var(--serif); font-size: 20px; }
.nk-author__bio { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.nk-author__bio a { color: var(--accent); }
.nk-related { background: var(--surface-2); margin-top: clamp(48px, 8vw, 96px); }

/* ─── Motion ─── */
.nk-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.nk-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .nk-reveal { opacity: 1; transform: none; }
}

/* ─── Shared section bits ─── */
.nk-eyebrow { display: inline-block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 14px; }
.nk-section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.nk-section-head h2 { font-size: clamp(30px, 4vw, 52px); }
.nk-section-head__sub { color: var(--muted); font-size: 18px; }
.nk-center { text-align: center; margin-top: clamp(32px, 5vw, 56px); }

/* ─── Hero ─── */
.nk-hero { position: relative; min-height: min(92vh, 880px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.nk-hero__media, .nk-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nk-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,17,15,0.72) 0%, rgba(20,17,15,0.15) 45%, rgba(20,17,15,0.05) 100%); }
.nk-hero__inner { position: relative; z-index: 2; padding-block: clamp(48px, 9vh, 110px); }
.nk-hero__eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 13px; opacity: 0.9; margin-bottom: 18px; }
.nk-hero__title { color: #fff; font-size: clamp(44px, 8vw, 104px); line-height: 1.0; margin: 0 0 18px; }
.nk-hero__title em { font-style: italic; color: #e9d8bd; }
.nk-hero__sub { font-size: clamp(17px, 2vw, 22px); max-width: 560px; color: rgba(255,255,255,0.9); }
.nk-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.nk-hero__cta .nk-btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.nk-hero__cta .nk-btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.1); }

/* ─── Intro ─── */
.nk-intro__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.nk-intro__media img { border-radius: var(--r-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.nk-intro__text h2 { font-size: clamp(26px, 3vw, 38px); font-style: italic; line-height: 1.25; }
.nk-intro__text p { color: var(--ink-soft); font-size: 18px; }
@media (max-width: 820px) { .nk-intro__grid { grid-template-columns: 1fr; } .nk-intro__media { max-width: 420px; } }

/* ─── Cards (Leistungen) ─── */
.nk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nk-card { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s ease; display: flex; flex-direction: column; }
.nk-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.nk-card__media { display: block; aspect-ratio: 4/3; overflow: hidden; }
.nk-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.nk-card:hover .nk-card__media img { transform: scale(1.05); }
.nk-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.nk-card__title { font-family: var(--serif); font-size: 26px; }
.nk-card__short { color: var(--muted); font-size: 15px; line-height: 1.55; }
.nk-card__more { color: var(--accent); font-size: 14px; font-weight: 500; margin-top: 6px; }
@media (max-width: 900px) { .nk-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nk-cards { grid-template-columns: 1fr; } }

/* ─── Masonry (Portfolio-Teaser) ─── */
.nk-masonry { columns: 3; column-gap: 18px; }
.nk-masonry__item { display: block; margin: 0 0 18px; break-inside: avoid; border-radius: var(--r); overflow: hidden; }
.nk-masonry__item img { width: 100%; transition: transform 0.6s var(--ease), filter 0.4s ease; }
.nk-masonry__item:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .nk-masonry { columns: 2; } }
@media (max-width: 540px) { .nk-masonry { columns: 1; } }

/* ─── Process ─── */
.nk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: none; }
.nk-step__n { font-family: var(--serif); font-size: 40px; color: var(--accent); opacity: 0.6; }
.nk-step__title { font-size: 24px; margin: 8px 0 6px; }
.nk-step__body { color: var(--muted); font-size: 15px; line-height: 1.65; }
@media (max-width: 860px) { .nk-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .nk-steps { grid-template-columns: 1fr; } }

/* ─── CTA ─── */
.nk-cta { background: var(--ink); color: var(--bg); padding-block: clamp(64px, 10vw, 120px); text-align: center; }
.nk-cta__inner { max-width: 640px; }
.nk-cta h2 { color: var(--bg); font-size: clamp(28px, 4vw, 46px); }
.nk-cta p { color: rgba(243,236,226,0.75); font-size: 18px; }
.nk-cta__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.nk-cta__buttons .nk-btn--ghost { border-color: rgba(243,236,226,0.4); color: var(--bg); }
.nk-cta__buttons .nk-btn--ghost:hover { border-color: var(--bg); color: var(--bg); }

/* ─── Lightbox ─── */
.nk-no-scroll { overflow: hidden; }
.nk-lightbox { position: fixed; inset: 0; z-index: 9998; background: rgba(20,17,15,0.94); display: flex; align-items: center; justify-content: center; }
.nk-lightbox[hidden] { display: none; }
.nk-lightbox__figure { margin: 0; max-width: 90vw; max-height: 86vh; }
.nk-lightbox__figure img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 4px; }
.nk-lightbox figcaption { color: rgba(255,255,255,0.8); text-align: center; margin-top: 12px; font-size: 14px; }
.nk-lightbox button { position: absolute; color: #fff; font-size: 40px; line-height: 1; background: none; padding: 12px; }
.nk-lightbox__close { top: 16px; right: 20px; font-size: 34px; }
.nk-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.nk-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.nk-lightbox__counter { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.7); font-size: 14px; }

/* ─── Testimonials ─── */
.nk-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nk-quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.nk-quote blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 21px; line-height: 1.45; font-style: italic; color: var(--ink); }
.nk-quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.nk-quote figcaption strong { font-weight: 600; }
.nk-quote figcaption span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .nk-quotes { grid-template-columns: 1fr; } }

/* ─── Page head (generische Seiten) ─── */
.nk-page-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.nk-page-head__title { font-size: clamp(36px, 5vw, 60px); }

/* ─── Legal (Impressum/Datenschutz/AGB) ─── */
.nk-legal { font-size: 16px; line-height: 1.75; }
.nk-legal h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 36px 0 10px; }
.nk-legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.nk-legal__note { background: var(--surface-2); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: var(--r-sm); }

/* ─── FAQ ─── */
.nk-faq { max-width: 820px; margin-inline: auto; }
.nk-faq__item { border-bottom: 1px solid var(--line); }
.nk-faq__q { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); color: var(--ink); }
.nk-faq__q::-webkit-details-marker { display: none; }
.nk-faq__q::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--accent); transition: transform 0.3s var(--ease); }
.nk-faq__item[open] .nk-faq__q::after { content: '–'; }
.nk-faq__a { padding: 0 40px 22px 0; color: var(--ink-soft); }
.nk-faq__a p { margin: 0; }

/* ─── 404 ─── */
.nk-404__inner { text-align: center; max-width: 640px; margin-inline: auto; }
.nk-404__code { font-family: var(--serif); font-size: clamp(80px, 16vw, 180px); line-height: 1; color: var(--accent); opacity: 0.4; display: block; }
.nk-404__title { font-size: clamp(28px, 4vw, 44px); margin-top: 8px; }
.nk-404__text { color: var(--muted); font-size: 18px; }
.nk-404__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0; }
.nk-404__search { max-width: 360px; margin: 24px auto 0; }
.nk-404__search input[type="search"] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); font: inherit; }

/* ─── Google Maps (Click-to-load) ─── */
.nk-map { position: relative; aspect-ratio: 16/7; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.nk-map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; }
.nk-map__placeholder strong { font-family: var(--serif); font-size: 22px; }
.nk-map__hint { font-size: 13px; color: var(--muted); max-width: 420px; }
.nk-map__hint a { color: var(--accent); text-decoration: underline; }
@media (max-width: 600px) { .nk-map { aspect-ratio: 4/3; } }

/* ─── Google-Bewertungs-Badge ─── */
.nk-google { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; }
.nk-google__stars { color: #f5b400; letter-spacing: 1px; font-size: 16px; }
.nk-google__text strong { font-weight: 600; }
.nk-google__src { opacity: 0.8; }
.nk-google--on-dark { color: #fff; }
a.nk-google:hover { color: inherit; text-decoration: underline; }

/* ─── Einzugsgebiet ─── */
.nk-areas__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.nk-areas__list li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 14px; color: var(--ink-soft); background: var(--surface); }

/* ─── Instagram-Teaser ─── */
.nk-ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.nk-ig-tile { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); }
.nk-ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), opacity 0.3s ease; }
.nk-ig-tile:hover img { transform: scale(1.06); opacity: 0.9; }
@media (max-width: 860px) { .nk-ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* ─── Sticky Mobile-Kontaktleiste ─── */
.nk-mobile-bar { display: none; }
@media (max-width: 860px) {
  .nk-mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9996; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px -10px rgba(0,0,0,0.3); }
  .nk-mobile-bar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 6px; font-size: 12px; color: var(--ink-soft); border-right: 1px solid var(--line); }
  .nk-mobile-bar__item:last-child { border-right: 0; }
  .nk-mobile-bar__item--cta { background: var(--accent); color: var(--accent-ink); }
  .nk-mobile-bar__ico { font-size: 17px; line-height: 1; }
  body { padding-bottom: 60px; }
  .nk-consent { bottom: 72px; }
}

/* ─── Consent-Banner ─── */
.nk-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9997; max-width: 760px; margin-inline: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 18px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nk-consent[hidden] { display: none; }
.nk-consent__text { margin: 0; font-size: 14px; color: var(--ink-soft); flex: 1; min-width: 240px; }
.nk-consent__text a { color: var(--accent); text-decoration: underline; }
.nk-consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.nk-consent__actions .nk-btn { flex: 1; justify-content: center; padding: 12px 18px; font-size: 14px; white-space: nowrap; }
@media (max-width: 560px) { .nk-consent__actions { width: 100%; } .nk-consent__actions .nk-btn { flex: 1; } }

/* ─── Prose ─── */
.nk-prose { max-width: 760px; margin-inline: auto; color: var(--ink-soft); font-size: 17px; line-height: 1.8; }
.nk-prose .nk-lead, .nk-lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.6; color: var(--ink); font-family: var(--serif); font-style: italic; }
.nk-muted { color: var(--muted); }

/* ─── Leistungs-Hero ─── */
.nk-leistung-hero { position: relative; min-height: min(58vh, 560px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.nk-leistung-hero__media, .nk-leistung-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nk-leistung-hero__inner { position: relative; z-index: 2; padding-block: clamp(36px, 7vh, 80px); }
.nk-leistung-hero h1 { color: #fff; font-size: clamp(38px, 6vw, 76px); margin: 6px 0 10px; }
.nk-leistung-hero__sub { font-size: clamp(17px, 2vw, 22px); color: rgba(255,255,255,0.9); max-width: 560px; }
.nk-crumbs { font-size: 14px; color: rgba(255,255,255,0.8); }
.nk-crumbs a:hover { color: #fff; }

/* ─── Filters ─── */
.nk-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(28px, 4vw, 44px); }
.nk-filter { border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 14px; color: var(--ink-soft); transition: 0.25s ease; }
.nk-filter:hover { border-color: var(--accent); color: var(--accent); }
.nk-filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ─── Gallery captions ─── */
.nk-gallery .nk-masonry__item { position: relative; }
.nk-masonry__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; color: #fff; font-family: var(--serif); font-size: 18px; background: linear-gradient(to top, rgba(20,17,15,0.7), transparent); opacity: 0; transition: opacity 0.3s ease; display: flex; flex-direction: column; }
.nk-masonry__cap em { font-style: normal; font-family: var(--sans); font-size: 13px; opacity: 0.85; }
.nk-masonry__item:hover .nk-masonry__cap { opacity: 1; }
.nk-masonry__item.is-hidden { display: none; }

/* ─── About ─── */
.nk-about__grid { display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.nk-about__media img { border-radius: var(--r-lg); width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.nk-about__text h1 { font-size: clamp(34px, 4.5vw, 56px); }
.nk-about__text p { color: var(--ink-soft); font-size: 17px; line-height: 1.8; }
.nk-about__facts { list-style: none; margin: 28px 0; padding: 0; border-top: 1px solid var(--line); }
.nk-about__facts li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.nk-about__facts strong { color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; }
@media (max-width: 820px) { .nk-about__grid { grid-template-columns: 1fr; } .nk-about__facts li { grid-template-columns: 1fr; gap: 2px; } }

/* ─── Contact / Form ─── */
.nk-contact__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.nk-contact__aside h1 { font-size: clamp(30px, 4vw, 48px); }
.nk-contact__aside p { color: var(--ink-soft); }
.nk-contact__direct { list-style: none; margin: 28px 0; padding: 0; }
.nk-contact__direct li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nk-contact__direct span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.nk-contact__direct a { font-size: 20px; font-family: var(--serif); }
.nk-contact__trust { font-size: 13px; color: var(--muted); }

.nk-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.nk-form__progress { display: flex; gap: 8px; margin-bottom: 28px; }
.nk-form__progress span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background 0.3s ease; }
.nk-form__progress span.is-active, .nk-form__progress span.is-done { background: var(--accent); }
.nk-form__step { border: 0; margin: 0; padding: 0; display: none; }
.nk-form__step.is-active { display: block; animation: nkFade 0.4s var(--ease); }
@keyframes nkFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nk-form__step legend { font-family: var(--serif); font-size: 26px; margin-bottom: 18px; padding: 0; }
.nk-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nk-choice { position: relative; }
.nk-choice input { position: absolute; opacity: 0; }
.nk-choice span { display: block; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; cursor: pointer; transition: 0.2s ease; font-size: 15px; }
.nk-choice input:checked + span { border-color: var(--accent); background: var(--surface-2); color: var(--accent); }
.nk-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.nk-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.nk-field label { font-size: 14px; color: var(--ink-soft); }
.nk-field input, .nk-field textarea { font-family: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--ink); }
.nk-field input:focus, .nk-field textarea:focus { outline: none; border-color: var(--accent); }
.nk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin: 8px 0 4px; }
.nk-check input { margin-top: 3px; }
.nk-form__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.nk-form__error { color: #a3303f; font-size: 14px; margin-top: 14px; }
.nk-form__success { text-align: center; padding: clamp(32px, 6vw, 64px) 16px; }
.nk-form__success h2 { font-size: clamp(28px, 4vw, 40px); }
.nk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nk-field input.nk-invalid, .nk-choices.nk-invalid { border-color: #a3303f; }
@media (max-width: 820px) { .nk-contact__grid { grid-template-columns: 1fr; } .nk-choices { grid-template-columns: 1fr; } }
