/*
Theme Name: NICI Fotografie
Theme URI: https://nici-fotografie.de/
Author: NICI Fotografie
Description: Outdoor-Fotografie-Theme für NICI Fotografie – Enduro/Motorsport, Hunde, Pferde & Turniere, Hochzeiten, Familie und Portraits. Tannengrün/Bernstein, Great-Vibes-Akzente, Polaroid-Optik, Parallax-Bänder, Portfolio mit Filter & Lightbox.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nici-fotografie
Tags: photography, portfolio, custom-colors, custom-logo, one-column
*/

/* ==========================================================================
   Schriften – lokal gebündelt (kein Google-Fonts-Request, DSGVO-sauber)
   ========================================================================== */
@font-face { font-family: 'Poppins'; src: url('assets/fonts/poppins-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('assets/fonts/poppins-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Great Vibes'; src: url('assets/fonts/greatvibes-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

/* ==========================================================================
   Design-Tokens
   ========================================================================== */
:root {
  --color-primary: #0B3B21;
  --color-primary-dark: #072818;
  --color-accent: #F2B75C;
  --color-accent-dark: #E8A94F;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F2F2F0;
  --color-bg-warm: #FDF4E3;
  --color-text: #333333;
  --color-muted: #6E6E6E;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Great Vibes', cursive;
  --shadow-photo: 0 18px 40px rgba(11, 59, 33, 0.18);
  --shadow-card: 0 10px 30px rgba(11, 59, 33, 0.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ==========================================================================
   Basis
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16.5px; line-height: 1.7; color: var(--color-text); background: var(--color-bg); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--color-primary); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
.container { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { position: relative; overflow: hidden; padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--alt { background: var(--color-bg-alt); }
.section--warm { background: var(--color-bg-warm); }
.section--dark { background: var(--color-primary); color: #f2f5f3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.85); }
.kicker { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .32em; text-transform: uppercase; color: var(--color-accent-dark); margin-bottom: .9rem; }
.section--dark .kicker { color: var(--color-accent); }
.lead { font-size: 1.12rem; color: var(--color-muted); max-width: 62ch; }
.section--dark .lead { color: rgba(255,255,255,0.8); }

/* Script-Watermark hinter Sektionen */
.watermark-script { position: absolute; z-index: 0; font-family: var(--font-script); font-size: clamp(90px, 16vw, 200px); color: rgba(11, 59, 33, 0.06); white-space: nowrap; pointer-events: none; line-height: 1; user-select: none; }
.section--dark .watermark-script { color: rgba(255, 255, 255, 0.05); }
.section > .container { position: relative; z-index: 1; }

/* Logo-Wasserzeichen im Hintergrund von Sektionen */
.watermark-logo { position: absolute; z-index: 0; width: clamp(200px, 26vw, 420px); height: auto; opacity: .05; pointer-events: none; user-select: none; filter: grayscale(1) brightness(0); }
.section--dark .watermark-logo { filter: brightness(0) invert(1); opacity: .07; }

/* Kleines Logo-Siegel über CTA-Bändern */
.band-logo { width: 58px; height: auto; margin: 0 auto 1.1rem; display: block; filter: brightness(0) invert(1); opacity: .92; }

/* Florale Line-Art in Ecken */
.flora { position: absolute; z-index: 0; width: clamp(140px, 20vw, 260px); opacity: .16; pointer-events: none; }
.flora--tl { top: -20px; left: -30px; }
.flora--br { bottom: -20px; right: -30px; transform: scaleX(-1); }
.section--dark .flora { opacity: .12; filter: invert(1) brightness(2); }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; padding: .95rem 2.2rem; border-radius: 4px; border: 2px solid var(--color-primary); background: var(--color-primary); color: #fff; cursor: pointer; transition: all .25s var(--ease); }
.btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-primary-dark); box-shadow: 0 0 0 4px rgba(242,183,92,0.25), 0 12px 30px rgba(242,183,92,0.35); }
.btn--ghost { background: transparent; color: var(--color-primary); }
.btn--light { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-primary-dark); }
.btn--light:hover { background: #fff; border-color: #fff; }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.6); }

/* Polaroid-Fotos */
.photo { background: #fff; padding: 10px; box-shadow: var(--shadow-photo); border-radius: 2px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo .ph-frame { overflow: hidden; }
.photo:hover { transform: translateY(-8px) rotate(0deg) !important; box-shadow: 0 26px 60px rgba(11,59,33,0.28); }
.photo:hover img { transform: scale(1.05); }
.tilt-l { transform: rotate(-3deg); }
.tilt-r { transform: rotate(2.5deg); }
.photo figcaption { font-family: var(--font-script); font-size: 1.4rem; color: var(--color-primary); text-align: center; padding-top: 8px; }

/* Scroll-Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; } .reveal-d2 { transition-delay: .24s; } .reveal-d3 { transition-delay: .36s; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 500; padding-block: .8rem; transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img, .brand svg { height: 46px; width: auto; }
.brand-script { font-family: var(--font-script); font-size: 1.9rem; color: #fff; line-height: 1; transition: color .3s var(--ease); }
.brand .site-logo-img { height: 52px; width: auto; display: block; filter: brightness(0) invert(1); transition: filter .3s var(--ease), height .3s var(--ease); }
.site-header.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 6px 24px rgba(11,59,33,0.10); padding-block: .45rem; }
.site-header.scrolled .brand-script { color: var(--color-primary); }
.site-header.scrolled .brand .site-logo-img { filter: none; height: 44px; }
.main-nav ul { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; padding: .55rem .8rem; border-radius: 4px; }
.main-nav a:hover { color: var(--color-accent); }
.site-header.scrolled .main-nav a { color: var(--color-primary); }
.site-header.scrolled .main-nav a:hover { color: var(--color-accent-dark); }
.main-nav .nav-cta a { border: 2px solid var(--color-accent); background: var(--color-accent); color: var(--color-primary-dark) !important; margin-left: .5rem; }
.main-nav .nav-cta a:hover { background: transparent; color: var(--color-accent) !important; }
.site-header.scrolled .main-nav .nav-cta a:hover { color: var(--color-accent-dark) !important; }

/* Leistungen-Dropdown */
.main-nav li.has-dropdown { position: relative; }
.main-nav a[aria-haspopup]::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: .4em; margin-bottom: .1em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .75; }
.main-nav .submenu { display: block; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px); min-width: 240px; margin: 0; padding: .5rem; list-style: none; background: #fff; border-radius: 8px; box-shadow: 0 18px 40px rgba(11,59,33,0.18); opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), visibility .18s, transform .18s var(--ease); }
.main-nav li.has-dropdown:hover > .submenu,
.main-nav li.has-dropdown:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.main-nav .submenu a { display: block; color: var(--color-primary) !important; font-size: .76rem; padding: .55rem .8rem; border-radius: 6px; white-space: nowrap; }
.main-nav .submenu a:hover { background: var(--color-bg-warm); color: var(--color-accent-dark) !important; }

@media (max-width: 940px) {
  .main-nav a[aria-haspopup]::after { display: none; }
  .main-nav .submenu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; padding: .6rem 0 0; margin-top: .3rem; border-top: 1px solid rgba(11,59,33,0.12); min-width: 0; display: flex !important; flex-direction: column; gap: .6rem; }
  .main-nav .submenu a { font-size: .92rem; padding: .2rem; }
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: all .3s var(--ease); }
.site-header.scrolled .nav-toggle span, body.nav-open .nav-toggle span { background: var(--color-primary); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; position: relative; z-index: 620; }
  .main-nav { position: fixed; inset: 0; background: rgba(255,255,255,0.98); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; z-index: 610; }
  body.nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 1.1rem; text-align: center; }
  .main-nav a { color: var(--color-primary) !important; font-size: 1.15rem; }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; }
.hero-bg.active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,40,24,0.55), rgba(7,40,24,0.35) 50%, rgba(7,40,24,0.72)); }
.hero-inner { position: relative; z-index: 2; padding: 7rem 1.2rem 4rem; }
.hero-rule { display: flex; align-items: center; justify-content: center; gap: 1.2rem; }
.hero-rule::before, .hero-rule::after { content: ""; width: clamp(50px, 10vw, 130px); height: 1px; background: rgba(255,255,255,0.65); }
.hero-tagline { font-family: var(--font-head); font-weight: 600; letter-spacing: .5em; text-indent: .5em; font-size: clamp(.85rem, 2.4vw, 1.25rem); }
.hero-logo { width: clamp(110px, 16vw, 168px); margin: 1.4rem auto; filter: brightness(0) invert(1); opacity: .95; }
.hero-script { font-family: var(--font-script); font-size: clamp(2.6rem, 7vw, 4.6rem); color: var(--color-accent); margin: 1.2rem 0 .4rem; }
.hero-words { min-height: 1.8em; font-family: var(--font-head); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; font-size: .85rem; color: rgba(255,255,255,0.85); }
.hero-words span { display: inline-block; animation: heroword .4s var(--ease); }
@keyframes heroword { from { opacity: 0; transform: translateY(10px); } }
.hero .btn { margin-top: 2rem; }
.hero-scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; font-size: .68rem; letter-spacing: .35em; color: rgba(255,255,255,0.7); text-transform: uppercase; }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 34px; background: rgba(255,255,255,0.6); margin: .5rem auto 0; animation: scrollpulse 1.8s ease-in-out infinite; }
@keyframes scrollpulse { 50% { transform: scaleY(.4); transform-origin: top; } }

/* ==========================================================================
   Kategorie-Sektionen (Enduro / Hunde / Pferde)
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cat-grid.flip > .cat-media { order: -1; }
.cat-media { position: relative; min-height: 420px; }
.cat-media .photo { position: absolute; }
.cat-media .p1 { width: 62%; top: 0; left: 0; z-index: 2; }
.cat-media .p2 { width: 48%; bottom: 6%; right: 0; z-index: 3; }
.cat-media .p3 { width: 36%; top: 8%; right: 6%; z-index: 1; }
.strip { margin-top: clamp(2.5rem, 6vw, 4rem); }
.strip-label { font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .3em; color: var(--color-muted); text-transform: uppercase; margin-bottom: .9rem; }
.strip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.strip-row .photo { padding: 6px; }
@media (max-width: 940px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-grid.flip > .cat-media { order: 0; }
  .cat-media { min-height: 340px; }
  .strip-row { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.pf-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2.2rem; }
.pf-filter button { font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; padding: .55rem 1.15rem; border-radius: 100px; border: 1.5px solid rgba(11,59,33,0.25); background: transparent; color: var(--color-primary); cursor: pointer; transition: all .22s var(--ease); }
.pf-filter button:hover { border-color: var(--color-accent-dark); color: var(--color-accent-dark); }
.pf-filter button.on { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.pf-grid { columns: 3 300px; column-gap: 1.2rem; }
.pf-item { break-inside: avoid; margin-bottom: 1.2rem; cursor: zoom-in; }

/* Echte Bild-Blöcke (direkt im Seiteninhalt editierbar) im pf-grid: gleiche
   Polaroid-Optik wie die fest verdrahteten .ph-frame-Bilder, nur ohne den
   zusätzlichen Wrapper-Div – overflow:hidden übernimmt hier .photo selbst. */
.pf-grid .wp-block-image { margin: 0 0 1.2rem; break-inside: avoid; }
.pf-grid .wp-block-image.photo { overflow: hidden; cursor: default; }
.pf-grid .wp-block-image figcaption.wp-element-caption { text-align: left; }
.pf-item.hide { display: none; }
.pf-item .photo { padding: 8px; }
.pf-item figcaption { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--color-primary); }
.pf-item figcaption em { font-family: var(--font-script); font-size: 1.15rem; font-style: normal; color: var(--color-accent-dark); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 800; background: rgba(7,40,24,0.94); display: none; place-items: center; padding: 3.5rem 1rem; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 80vh; width: auto; height: auto; background: #fff; padding: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox figcaption { text-align: center; color: #fff; font-family: var(--font-script); font-size: 1.7rem; margin-top: 1rem; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: none; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; opacity: .8; padding: .5rem .9rem; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; color: var(--color-accent); }
.lb-close { top: 1rem; right: 1.2rem; }
.lb-prev { left: .6rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .6rem; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Über mich / Zitat / CTA
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-grid .photo { max-width: 380px; }
.about-script { font-family: var(--font-script); font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--color-accent-dark); margin-bottom: .4rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid .photo { margin-inline: auto; } }

.band { position: relative; background-size: cover; background-position: center; background-attachment: fixed; text-align: center; color: #fff; padding-block: clamp(4.5rem, 10vw, 8rem); }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(7,40,24,0.66); }
.band > .container { position: relative; z-index: 1; }
.band blockquote { margin: 0; font-family: var(--font-script); font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.3; }
.band cite { display: block; margin-top: 1.1rem; font-family: var(--font-head); font-weight: 600; font-style: normal; font-size: .8rem; letter-spacing: .4em; color: var(--color-accent); }
.band h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.band .script-sub { font-family: var(--font-script); font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--color-accent); }

/* ==========================================================================
   Leistungen / Kundenstimmen / Instagram / Kontakt / Footer
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.svc { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; padding: 1.6rem 1.5rem; transition: all .25s var(--ease); }
.svc:hover { background: rgba(255,255,255,0.09); border-color: var(--color-accent); transform: translateY(-4px); }
.svc .num { font-family: var(--font-script); font-size: 2rem; color: var(--color-accent); line-height: 1; }
.svc h3 { color: #fff; margin: .5rem 0 .35rem; }
.svc p { font-size: .95rem; color: rgba(255,255,255,0.75); margin: 0; }
@media (max-width: 940px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

.ts-slider { position: relative; max-width: 760px; margin: 2rem auto 0; text-align: center; }
.ts-slide { display: none; }
.ts-slide.on { display: block; animation: heroword .5s var(--ease); }
.ts-stars { color: var(--color-accent); letter-spacing: .3em; font-size: 1.1rem; }
.ts-quote { font-size: 1.15rem; font-style: italic; color: var(--color-text); margin: .9rem 0; }
.ts-name { font-family: var(--font-head); font-weight: 700; color: var(--color-primary); }
.ts-role { font-size: .85rem; color: var(--color-muted); }
.ts-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
.ts-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(11,59,33,0.2); cursor: pointer; transition: all .2s; }
.ts-dots button.on { background: var(--color-accent-dark); transform: scale(1.25); }

.ig-card { display: flex; align-items: center; gap: 1.1rem; background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); padding: 1.2rem 1.5rem; max-width: 460px; margin-bottom: 2rem; }
.ig-card img { width: 62px; height: 62px; border-radius: 50%; border: 3px solid var(--color-accent); }
.ig-card .ig-name { font-family: var(--font-head); font-weight: 700; color: var(--color-primary); }
.ig-card .ig-handle { font-size: .85rem; color: var(--color-muted); }
.ig-card .btn { margin-left: auto; padding: .55rem 1.2rem; font-size: .75rem; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; }
.ig-grid a { display: block; overflow: hidden; border-radius: 6px; }
.ig-grid img { aspect-ratio: 1; object-fit: cover; transition: transform .4s var(--ease), filter .4s var(--ease); }
.ig-grid a:hover img { transform: scale(1.08); filter: brightness(1.08); }
@media (max-width: 860px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); }
.contact-form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); margin: 1rem 0 .35rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font-family: var(--font-body); font-size: 1rem; color: #fff; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.25); border-radius: 6px; padding: .8rem .95rem; transition: border-color .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-accent); }
.contact-form select option { color: var(--color-text); }
.contact-alt { display: flex; flex-direction: column; gap: .9rem; align-self: start; }
.contact-alt a { display: flex; align-items: center; gap: .8rem; border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; padding: 1rem 1.2rem; color: #fff; font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; transition: all .22s var(--ease); }
.contact-alt a:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateX(4px); }
.form-note { background: rgba(242,183,92,0.15); border: 1px solid var(--color-accent); border-radius: 8px; color: #fff; padding: .9rem 1.1rem; margin-bottom: 1rem; }
.hp-field { position: absolute !important; left: -9999px !important; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.site-footer { position: relative; background: var(--color-primary-dark) center/cover; color: rgba(255,255,255,0.85); text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem) 1.6rem; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(10,14,12,0.82); }
.site-footer > .container { position: relative; z-index: 1; }
.footer-script { font-family: var(--font-script); font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--color-accent); }
.footer-logo { width: 84px; margin: 1rem auto; filter: brightness(0) invert(1); opacity: .9; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; list-style: none; margin: 1.2rem 0; padding: 0; }
.footer-nav a { color: rgba(255,255,255,0.8); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--font-head); font-weight: 600; }
.footer-nav a:hover { color: var(--color-accent); }
.footer-social { display: flex; justify-content: center; gap: .8rem; margin-bottom: 1.6rem; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .8rem; transition: all .22s var(--ease); }
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-primary-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.2rem; font-size: .8rem; color: rgba(255,255,255,0.55); }

/* Inhaltsseiten (page.php / single.php / index.php) */
.page-plain { padding-top: clamp(7rem, 14vw, 10rem); }
.page-plain .entry { max-width: 820px; margin-inline: auto; }

/* ==========================================================================
   Reduzierte Bewegung & Mobile-Feinschliff
   ========================================================================== */
@media (max-width: 860px) { .band { background-attachment: scroll; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { transition: none; }
  .hero-scroll::after, .hero-words span { animation: none; }
  .band { background-attachment: scroll; }
  .photo, .photo img, .svc, .ig-grid img { transition: none; }
}
/*
 * NICI Fotografie – Editor-Styles
 * -------------------------------------------------------------------------
 * Wird über add_editor_style( 'editor-style.css' ) in den Block-Editor
 * geladen. Bildet die Front-End-Optik (Raster, Polaroid-Rahmen, Drehung,
 * Schriften) im Editor nach, damit Bilder dort so aussehen und sich so
 * anordnen lassen wie auf der Website.
 *
 * WICHTIG: Diese Datei wirkt NUR im Editor. Die Website bleibt unberührt.
 * -------------------------------------------------------------------------
 */

/* ---- Schriften (gleiche Dateien wie style.css) ---- */
@font-face { font-family: 'Poppins'; src: url('assets/fonts/poppins-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('assets/fonts/poppins-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Great Vibes'; src: url('assets/fonts/greatvibes-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* ---- Design-Tokens ---- */
.editor-styles-wrapper {
  --color-primary: #0B3B21;
  --color-primary-dark: #072818;
  --color-accent: #F2B75C;
  --color-accent-dark: #E8A94F;
  --color-bg: #FFFFFF;
  --color-bg-warm: #FDF4E3;
  --color-text: #333333;
  --color-muted: #6E6E6E;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Great Vibes', cursive;
  --shadow-photo: 0 18px 40px rgba(11, 59, 33, 0.18);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Grundtypografie wie auf der Website ---- */
.editor-styles-wrapper {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg-warm);
}
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4 {
  font-family: var(--font-head);
  color: var(--color-primary);
  line-height: 1.15;
}
.editor-styles-wrapper h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
.editor-styles-wrapper h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; }
.editor-styles-wrapper h3 { font-size: 1.25rem; font-weight: 600; }
.editor-styles-wrapper a { color: var(--color-primary); }

/* ---- WICHTIG: .reveal im Editor immer sichtbar ---- */
/* Auf der Website startet .reveal mit opacity:0 und wird per JS eingeblendet.
   Im Editor läuft kein JS – ohne diese Regel wären alle Bilder unsichtbar. */
.editor-styles-wrapper .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ---- Bildraster (pf-grid) ---- */
.editor-styles-wrapper .pf-grid {
  columns: 3 300px;
  column-gap: 1.2rem;
}
.editor-styles-wrapper .pf-grid > * {
  break-inside: avoid;
  margin: 0 0 1.2rem;
}
/* Der Block-Editor setzt eigene Abstände auf Gruppen-Kinder – zurücksetzen,
   damit das Spaltenraster nicht auseinanderfällt. */
.editor-styles-wrapper .pf-grid.wp-block-group > .block-editor-block-list__layout,
.editor-styles-wrapper .pf-grid > .block-editor-block-list__layout {
  columns: 3 300px;
  column-gap: 1.2rem;
  display: block;
}
.editor-styles-wrapper .pf-grid .block-editor-block-list__layout > * {
  break-inside: avoid;
  margin-top: 0;
  margin-bottom: 1.2rem;
}

/* ---- Polaroid-Optik ---- */
.editor-styles-wrapper .photo,
.editor-styles-wrapper .wp-block-image.photo {
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-photo);
  border-radius: 2px;
  overflow: hidden;
}
.editor-styles-wrapper .wp-block-image.photo img {
  width: 100%;
  height: auto;
  display: block;
}
.editor-styles-wrapper .tilt-l { transform: rotate(-3deg); }
.editor-styles-wrapper .tilt-r { transform: rotate(2.5deg); }

/* ---- Bildunterschriften in Great Vibes wie auf der Website ---- */
.editor-styles-wrapper .photo figcaption,
.editor-styles-wrapper .wp-block-image figcaption,
.editor-styles-wrapper figcaption.wp-element-caption {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--color-primary);
  text-align: left;
  padding-top: 8px;
  font-style: normal;
}

/* ---- Buttons ---- */
.editor-styles-wrapper .btn,
.editor-styles-wrapper .wp-block-button__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .95rem 2.2rem;
  border-radius: 4px;
  background: var(--color-primary);
  color: #fff;
}

/* ---- Kicker / Lead ---- */
.editor-styles-wrapper .kicker {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}
.editor-styles-wrapper .lead {
  font-size: 1.12rem;
  color: var(--color-muted);
  max-width: 62ch;
}

/* ---- Editor-Arbeitsfläche breiter, damit das 3-Spalten-Raster passt ---- */
.editor-styles-wrapper .wp-block {
  max-width: 1180px;
}


/* ---- Hilfslinie um die Gruppe, damit man das Raster erkennt ---- */
  outline: 1px dashed rgba(11, 59, 33, 0.18);
  outline-offset: 12px;
}
