/* ESDEO Eventfotoagentur – Stylesheet
   Farben und Schrift hier oben ändern, der Rest zieht nach. */

@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url("../fonts/inter-tight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url("../fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 700; font-display: swap; src: url("../fonts/inter-tight-latin-700-normal.woff2") format("woff2"); }
/* Ersatzschrift mit angeglichenen Maßen: Solange Inter Tight lädt, springt der Text nicht. */
@font-face { font-family: "Inter Tight Ersatz"; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica"); size-adjust: 95.5%; ascent-override: 101.4%; descent-override: 25.3%; line-gap-override: 0%; }
@font-face { font-family: "Inter Tight Ersatz"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"); size-adjust: 95.7%; ascent-override: 101.2%; descent-override: 25.2%; line-gap-override: 0%; }

:root {
  --creme: #fff2d9;
  --creme-dunkel: #f3e3c3;
  --text: #262626;
  --text-leise: #5a5550;
  --dunkel: #1b1b1b;
  --akzent: #1a8b7a;
  --akzent-dunkel: #136b5e;
  --akzent-tief: #0e5248;
  --akzent-hell: #7fd3c5;
  --weiss: #ffffff;
  --schrift: "Inter Tight", "Inter Tight Ersatz", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breite: 1200px;
  --rand: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent-dunkel); text-underline-offset: 3px; }
a:hover { color: var(--akzent); }

/* Sichtbarer Fokusrahmen für Tastatur-Bedienung. Auf dunklem Grund hell. */
:focus-visible { outline: 3px solid var(--akzent-dunkel); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .section--dunkel :focus-visible,
.site-footer :focus-visible, .lightbox :focus-visible, .skip-link:focus-visible { outline-color: var(--akzent-hell); }
h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--dunkel); color: var(--creme); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--dunkel { background: var(--dunkel); color: var(--creme); }
.section--dunkel a { color: var(--creme); }
.section--hell { background: var(--creme-dunkel); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--akzent-dunkel); margin-bottom: .8rem; }
.section--dunkel .eyebrow { color: var(--akzent-hell); }
.lead { font-size: 1.2rem; max-width: 46rem; }

/* Kopfzeile */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.site-header--solid { position: sticky; top: 0; background: var(--dunkel); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
.logo img { width: 150px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.nav a { color: var(--creme); text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--akzent-hell); }
.nav-toggle { display: none; background: none; border: 0; color: var(--creme); font: inherit; font-weight: 600; cursor: pointer; padding: .6rem .75rem; min-height: 44px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0; background: var(--dunkel); display: none; align-items: center; justify-content: center; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; align-items: center; gap: 1.8rem; font-size: 1.6rem; }
  .nav-toggle { position: relative; z-index: 30; }
  body.menue-offen { overflow: hidden; }
}

/* Hero */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: grid; align-items: end; color: var(--creme); background: var(--dunkel); overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.7) 100%); }
.hero .container { position: relative; z-index: 2; padding-block: 6rem 4.5rem; }
.hero h1 { max-width: 16ch; }
.hero p { font-size: 1.2rem; max-width: 36rem; }
.hero .eyebrow { color: var(--akzent-hell); }
.hero--klein { min-height: 52vh; min-height: 52svh; }

.btn { display: inline-block; background: var(--akzent-dunkel); color: var(--weiss); padding: .9rem 1.6rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--akzent-tief); color: var(--weiss); }
.btn--ghost { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

/* Leistungen */
.leistungen { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem 2rem; margin-top: 3rem; }
.leistung img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--radius); margin-bottom: 1.1rem; }
.leistung p { color: var(--text-leise); }

/* Ablauf / Fakten */
.fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.fakt { border-top: 2px solid var(--akzent); padding-top: 1rem; }
.fakt h3 { font-size: 1.1rem; }
.section--dunkel .fakt p { color: #d9cfbf; }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .6rem; margin-top: 2.5rem; }
.galerie a { display: block; overflow: hidden; border-radius: 2px; }
.galerie img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .4s ease; }
.galerie a:hover img, .galerie a:focus-visible img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; background: rgba(10,10,10,.94); display: none; align-items: center; justify-content: center; z-index: 50; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--creme); font-size: 2.2rem; cursor: pointer; padding: 1rem; line-height: 1; }
.lightbox .lb-close { top: .5rem; right: .8rem; }
.lightbox .lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }

/* Zwei Spalten */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split img { aspect-ratio: 3 / 2; } }

.liste { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.liste li { padding: .55rem 0 .55rem 1.6rem; border-bottom: 1px solid rgba(0,0,0,.1); position: relative; }
.liste li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .6rem; height: .6rem; background: var(--akzent); border-radius: 50%; }

/* Kunden */
.kunden { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.kunden img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--weiss); border-radius: var(--radius); filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.kunden img:hover { filter: none; opacity: 1; }

/* Formular */
.anfrage { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .anfrage { grid-template-columns: 1fr; } }
.anfrage-bild img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
form .feld { margin-bottom: 1.1rem; }
form label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
form .hinweis { font-weight: 400; color: var(--text-leise); font-size: .85rem; }
form input, form textarea, form select { width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid #cdbfa8; border-radius: var(--radius); background: var(--weiss); color: var(--text); }
form input:focus, form textarea:focus { outline: 2px solid var(--akzent); outline-offset: 1px; border-color: var(--akzent); }
form textarea { min-height: 8rem; resize: vertical; }
.felder-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .felder-2 { grid-template-columns: 1fr; } }
.versteckt { position: absolute; left: -9999px; }
.datenschutz-hinweis { font-size: .85rem; color: var(--text-leise); }
.abstand-oben { margin-top: 1rem; }

/* Rechtstexte */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { font-size: 1.4rem; margin-top: 2.2em; }
.rechtstext h3 { font-size: 1.1rem; margin-top: 1.6em; }

/* Fußzeile */
.site-footer { background: var(--dunkel); color: #d9cfbf; padding-block: 3.5rem 2rem; font-size: .95rem; }
.site-footer a { color: var(--creme); text-decoration: none; }
.site-footer a:hover { color: var(--akzent-hell); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer-unten { border-top: 1px solid rgba(255,242,217,.15); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.version { color: #a59c8f; font-size: .75rem; }
