/* Inspiring Photography – Stylesheet
   Dunkel und Gold; Cormorant Garamond für Logo und Überschriften, Manrope für Text. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg: #121212;
  --surface: #1b1b1b;
  --line: #2c2c2c;
  --text: #e2e2e2;
  --heading: #f3f3f3;
  --muted: #9c9c9c;
  --gold: #e0b65c;
  --gold-hover: #f0c873;
  --wide: 1200px;
  --narrow: 800px;
  --gallery: 860px;
  --gutter: 24px;
  --header-h: 64px;
  /* Schriften: Fließtext, große Überschriften, Logo */
  --font-body: "Manrope", Arial, Helvetica, sans-serif;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --head-weight: 500;
  --font-logo: var(--font-head);
  --logo-weight: 600;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  /* Sanfte Überblendung zwischen den Seiten (moderne Browser) */
  @view-transition {
    navigation: auto;
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.25s;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--gold-hover);
}

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

img {
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 4px;
  background: var(--gold);
  color: #000;
  font-weight: 700;
}

.skip-link:focus {
  top: 8px;
  color: #000;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- Kopf */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(224 182 92 / 30%);
  background: rgb(18 18 18 / 85%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  view-transition-name: site-header;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wide);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.logo {
  color: var(--gold);
  font-family: var(--font-logo);
  font-size: 28px;
  font-weight: var(--logo-weight);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.site-nav ul {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 20px 0;
  color: #c9c9c9;
  font-size: 15px;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a[aria-current="page"],
.site-nav a.is-active {
  color: var(--gold);
}

.site-nav a[aria-current="page"]::after,
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 1px;
  background: currentColor;
}

.nav-social a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-social svg {
  display: block;
  flex: none;
}

@media (min-width: 1061px) {
  .nav-social {
    margin-left: -6px;
    padding-left: 22px;
    border-left: 1px solid var(--line);
  }

  .nav-social-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 1060px) {
  :root {
    --header-h: 58px;
  }

  .logo {
    font-size: 25px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid #3a3a3a;
    border-radius: 999px;
    background: none;
    color: #d6d6d6;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .nav-toggle-icon {
    position: relative;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-icon::before {
    top: -5px;
  }

  .nav-toggle-icon::after {
    top: 5px;
  }

  .nav-open .nav-toggle-icon {
    background: transparent;
  }

  .nav-open .nav-toggle-icon::before {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-open .nav-toggle-icon::after {
    transform: translateY(-5px) rotate(-45deg);
  }

  .site-nav {
    flex-basis: 100%;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 16px 32px rgb(0 0 0 / 50%);
  }

  .js .nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    max-width: var(--wide);
    margin: 0 auto;
    padding: 4px var(--gutter) 16px;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .site-nav a::after {
    display: none;
  }
}

/* ---------------------------------------------------------------- Startseite */

.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(48px, 9vw, 104px) var(--gutter) clamp(32px, 5vw, 56px);
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-head);
  font-size: clamp(36px, 6.2vw, 68px);
  font-weight: var(--head-weight);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero .eyebrow {
  margin-top: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  list-style: none;
}

.grid a {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
}

.grid picture,
.grid img {
  width: 100%;
  height: 100%;
}

.grid img {
  display: block;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Plakette „mehrere Bilder“ – zeigt, dass hinter der Kachel eine Galerie liegt */
.tile-count {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px 5px 8px;
  border-radius: 999px;
  background: rgb(0 0 0 / 55%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: color 0.25s ease, background 0.25s ease;
}

.tile-count svg {
  display: block;
}

.grid a:hover img,
.grid a:focus-visible img {
  transform: scale(1.04);
}

.grid a:hover .tile-count,
.grid a:focus-visible .tile-count {
  background: rgb(0 0 0 / 75%);
  color: var(--gold);
}

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

@media (max-width: 699px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .tile-count {
    top: 7px;
    right: 7px;
    padding: 4px 8px 4px 7px;
    font-size: 11px;
  }
}

/* ---------------------------------------------------------------- Inhaltsseiten */

.page {
  max-width: calc(var(--narrow) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) var(--gutter) 0;
}

.page-head {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-head .eyebrow {
  margin-bottom: 12px;
}

.page-head h1 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-head);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: var(--head-weight);
  line-height: 1.15;
}

.prose p,
.prose ul {
  margin: 0 0 1.15em;
}

.prose ul {
  padding-left: 1.4em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose h2,
.prose h3 {
  margin: 1.8em 0 0.6em;
  color: var(--heading);
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.35;
}

.prose > :first-child,
.prose .section > :first-child,
.prose .section > figure + h2 {
  margin-top: 0;
}

.prose a {
  text-decoration: underline;
  text-decoration-color: rgb(224 182 92 / 45%);
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: currentColor;
}

.prose figure {
  margin: 0;
}

.prose figure img {
  display: block;
  border-radius: 6px;
}

.section {
  display: flow-root;
  margin-bottom: 2em;
}

.float-left {
  float: left;
  max-width: 44%;
  margin: 0.35em 28px 16px 0 !important;
}

.float-right {
  float: right;
  max-width: 44%;
  margin: 0.35em 0 16px 28px !important;
}

.figure-full {
  clear: both;
  margin: 2.2em 0 !important;
}

.more {
  margin-top: 2em;
  font-weight: 700;
}

.more a {
  text-decoration: none;
}

.more a::after {
  content: " →";
}

@media (max-width: 599px) {
  .float-left,
  .float-right {
    float: none;
    max-width: 100%;
    margin: 0 0 1.2em !important;
  }
}

/* ---------------------------------------------------------------- Preise */

.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0 36px;
  padding: 0;
  list-style: none;
}

.prices li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.price-duration {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-amount {
  color: var(--heading);
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: var(--head-weight);
  line-height: 1.25;
}

.price-info {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

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

/* ---------------------------------------------------------------- Fragen & Antworten */

.faq-section {
  margin-bottom: 56px;
}

.faq-section > h2 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq h2 + details {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  margin: 0;
  color: var(--heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.faq summary:hover h3 {
  color: var(--gold-hover);
}

.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.answer {
  padding: 0 0 20px;
}

.answer p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- Kontakt */

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.card {
  padding: 24px 24px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.card h2 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card p {
  margin: 0 0 16px;
}

.card .email {
  font-size: 16px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: #151515;
  font-size: 15px;
  font-weight: 700;
}

.button:hover {
  background: var(--gold-hover);
  color: #151515;
}

html:not(.js) .button[data-email-user] {
  display: none;
}

.card-wide {
  grid-column: 1 / -1;
}

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

/* ---------------------------------------------------------------- Galerien */

.page.gallery {
  max-width: calc(var(--gallery) + 2 * var(--gutter));
}

.gallery .page-head {
  text-align: center;
}

.gallery-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.g-item {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
  cursor: zoom-in;
}

.g-item.solo {
  grid-column: 1 / -1;
  justify-self: center;
}

.g-item img {
  display: block;
  transition: opacity 0.25s ease;
}

.g-item.half img {
  width: 100%;
}

.g-item:hover img {
  opacity: 0.9;
}

.grid img,
.g-item img,
.lightbox img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.credit {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.gallery-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  width: min(var(--gallery), 100% - 2 * var(--gutter));
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.gn-prev,
.gn-next {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.gn-next {
  justify-content: flex-end;
  text-align: right;
}

.gallery-nav picture {
  flex: none;
}

.gallery-nav img {
  display: block;
  width: 56px;
  height: 84px;
  border-radius: 3px;
  object-fit: cover;
}

.gn-text small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gn-all {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .gallery-images {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .g-item.half {
    grid-column: 1 / -1;
  }

  .gallery-nav {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-nav img {
    width: 44px;
    height: 66px;
  }

  .gn-all {
    grid-row: 2;
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* ---------------------------------------------------------------- Lightbox */

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(0 0 0 / 96%);
  color: #fff;
  overflow: hidden;
}

.lightbox:focus {
  outline: none;
}

.lightbox::backdrop {
  background: rgb(0 0 0 / 96%);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-stage,
.lightbox picture {
  display: contents;
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(35 35 35 / 70%);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lb-btn:hover {
  background: rgb(60 60 60 / 90%);
  color: var(--gold);
}

.lb-close {
  top: 12px;
  right: 12px;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
}

.lb-prev {
  left: 12px;
}

.lb-next {
  right: 12px;
}

.lb-count {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  margin: 0;
  color: #aaa;
  font-size: 13px;
  text-align: center;
}

html.lb-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .lb-prev,
  .lb-next {
    display: none;
  }
}

/* ---------------------------------------------------------------- Fuß */

.site-footer {
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 28px var(--gutter) 36px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: var(--muted);
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--gold);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
