/* Fotostudio Feldmann – Nachbau der Enfold-Seite mit Bootstrap 5 */

/* ---------- Schriften (lokal) ---------- */
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/lato-v23-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/lato-v23-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/open-sans-v34-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/open-sans-v34-latin-600.woff2") format("woff2"); }

:root {
  --fm-red: #cf0527;
  --fm-text: #616161;
  --fm-heading: #222;
  --fm-border: #ebebeb;
  --fm-light: #f8f8f8;
  --fm-footer: #35383c;
  --fm-socket: #282b2e;
  --fm-header-h: 90px;
  --bs-body-font-family: "Open Sans", Helvetica, Arial, sans-serif;
  --bs-body-font-size: 14px;
  --bs-body-color: #444;
  --bs-body-line-height: 1.7;
  --bs-link-color-rgb: 0, 0, 0;
  --bs-link-hover-color-rgb: 207, 5, 39;
}

html { scroll-behavior: smooth; }
body { background: #fff; }

a { color: #000; text-decoration: none; }
a:hover, a:focus { color: var(--fm-red); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Lato", Helvetica, Arial, sans-serif;
  color: var(--fm-heading);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.1;
}
h1 { font-weight: 700; letter-spacing: 1px; margin: 0 0 14px; }
h2 { letter-spacing: 1px; margin: 0 0 10px; }
h3 { margin: 0 0 8px; }
h4 { margin: 0 0 4px; }
h5, h6 { margin: 0 0 4px; }
strong, b { font-weight: 700; }

.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }

/* Container wie Enfold: max. 1310 px, 50 px Rand */
.container-fm {
  width: 100%;
  max-width: 1410px;
  margin: 0 auto;
  padding: 0 50px;
}

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--fm-border);
  transition: box-shadow .3s;
}
.site-header .navbar { padding: 0; }
.site-header .container-fm { display: flex; align-items: center; flex-wrap: wrap; }
.navbar-brand { padding: 0; margin: 0; }
.navbar-brand img { height: var(--fm-header-h); width: auto; display: block; padding: 2px 0; transition: height .3s; }

.navbar-nav .nav-link {
  position: relative;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #000;
  padding: 0 0 0 20px !important;
  line-height: var(--fm-header-h);
  height: var(--fm-header-h);
  transition: line-height .3s, height .3s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus, .navbar-nav .active > .nav-link { color: #000; text-decoration: none; }
/* roter Strich unter dem Menüpunkt (wie Enfold) */
.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  left: 20px; right: 0; bottom: -1px;
  height: 2px;
  background: var(--fm-red);
  opacity: 0;
  transition: opacity .2s;
}
.navbar-nav .nav-item:hover > .nav-link::before,
.navbar-nav .active > .nav-link::before,
.navbar-nav .show > .nav-link::before { opacity: 1; }
.navbar-nav .dropdown-toggle::after { display: none; }

.dropdown-menu {
  border: 0;
  border-top: 2px solid var(--fm-red);
  border-radius: 0;
  box-shadow: 0 0 6px rgba(0,0,0,.15);
  padding: 0;
  min-width: 208px;
  margin-top: 0 !important;
}
.dropdown-item {
  font-size: 12px;
  color: #666;
  padding: 9px 15px;
  border-top: 1px solid var(--fm-border);
  white-space: normal;
}
.dropdown-menu li:first-child .dropdown-item { border-top: 0; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--fm-light); color: #000; text-decoration: none; }
.dropdown-item.active, .dropdown-item:active { background: var(--fm-light); color: var(--fm-red); }

/* Desktop: Untermenü bei Hover öffnen */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu { display: block; }
  .navbar-nav .dropdown > .dropdown-menu { left: 20px; }
  .site-header.shrink { --fm-header-h: 54px; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
}

/* Burger-Symbol */
.navbar-toggler { border: 0; padding: 10px 0 10px 10px; margin-left: auto; box-shadow: none !important; }
.burger { display: block; width: 32px; }
.burger span { display: block; height: 3px; background: #333; margin: 6px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.navbar-toggler[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 991.98px) {
  :root { --fm-header-h: 80px; }
  .navbar-collapse { flex-basis: 100%; border-top: 1px solid var(--fm-border); max-height: calc(100vh - var(--fm-header-h) - 2px); overflow-y: auto; }
  .navbar-nav { padding: 10px 0 20px; }
  .navbar-nav .nav-link { line-height: 1.4; height: auto; padding: 12px 0 !important; border-bottom: 1px solid var(--fm-border); }
  .navbar-nav .nav-link::before { display: none; }
  .navbar-nav .active > .nav-link { color: var(--fm-red); }
  .dropdown-menu { box-shadow: none; border-top: 0; display: block; position: static; padding-left: 15px; }
  .dropdown-item { font-size: 14px; border-top: 0; border-bottom: 1px solid var(--fm-border); padding: 10px 0; }
}

/* ---------- Titelleiste ---------- */
.title-bar {
  background: var(--fm-light);
  border-bottom: 1px solid var(--fm-border);
  padding: 17px 0;
}
.title-bar .main-title { font-size: 16px; font-weight: 700; letter-spacing: 0; margin: 0; line-height: 1.4; }
.title-bar .main-title a { color: #999; text-decoration: none; }

/* ---------- Inhalt + Seitenleiste ---------- */
.page-wrap { display: flex; align-items: stretch; }
.content { width: 73%; padding: 50px 50px 50px 0; min-width: 0; }
.sidebar { width: 27%; padding: 50px 0 50px 50px; border-left: 1px solid var(--fm-border); }

@media (max-width: 767.98px) {
  .container-fm { padding: 0 20px; }
  .page-wrap { display: block; }
  .content, .sidebar { width: 100%; padding: 30px 0; }
  .sidebar { border-left: 0; border-top: 1px solid var(--fm-border); }
}

.entry-content p, .entry-content li, .entry-content td { font-size: 16px; line-height: 1.65; color: var(--fm-text); }
.entry-content p { margin: 0 0 1em; }
.entry-content, .sidebar { overflow-wrap: anywhere; }
.entry-content ul, .entry-content ol { margin: 0 0 1.5em; padding-left: 1.5em; }
.entry-content hr, .entry-content .wp-block-separator {
  border: 0;
  border-top: 1px solid #ddd;
  opacity: 1;
  margin: 10px 0 30px;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { margin-top: .4em; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content table { width: 100%; margin: 0 0 20px; border-collapse: collapse; }
.entry-content td, .entry-content th { padding: 8px 12px; border: 1px solid var(--fm-border); vertical-align: middle; }
.entry-content tr:nth-child(odd) td { background: #fcfcfc; }
.entry-content td h1, .entry-content td h2, .entry-content td h3, .entry-content td h4 { margin: 0; }

/* WordPress-Ausrichtungen */
.alignright { float: right; margin: 4px 0 10px 20px; }
.alignleft { float: left; margin: 4px 20px 10px 0; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.entry-content figure { margin: 0 0 1.5em; }
/* Ausrichtung muss den figure-Abstand oben überschreiben (sonst klebt der Text am Bild) */
.entry-content .alignleft { margin: 4px 24px 12px 0; }
.entry-content .alignright { margin: 4px 0 12px 24px; }
@media (max-width: 479.98px) {
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 0 1.5em; }
}
.entry-content::after { content: ""; display: table; clear: both; }

/* Enfold-Spalten aus dem Baukasten */
.entry-content > .flex_column { margin-bottom: 20px; }
@media (min-width: 768px) {
  .flex_column.av_two_third { width: 65.6%; float: left; margin-right: 3%; }
  .flex_column.av_one_third { width: 31.4%; float: left; }
  .flex_column.av_one_half { width: 48.5%; float: left; margin-right: 3%; }
  .flex_column.av_one_half + .flex_column.av_one_half { margin-right: 0; }
  .flex_column.first { clear: left; }
}
.av_textblock_section { clear: both; }

/* Galerien (WordPress-Galerieblock) */
.wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 1.5em;
}
.wp-block-gallery > figure, .wp-block-gallery > li {
  margin: 0;
  flex-grow: 1;
  width: calc(50% - 4px);
  position: relative;
}
.wp-block-gallery > li > figure { margin: 0; height: 100%; }
@media (min-width: 600px) {
  .wp-block-gallery.columns-3 > *, .wp-block-gallery.columns-default > * { width: calc(33.333% - 6px); }
  .wp-block-gallery.columns-4 > * { width: calc(25% - 6px); }
  .wp-block-gallery.columns-5 > * { width: calc(20% - 7px); }
  .wp-block-gallery.columns-6 > * { width: calc(16.666% - 7px); }
  .wp-block-gallery.columns-default > *:first-child:last-child { width: 100%; }
}
/* gleich hohe, beschnittene Vorschaubilder (einzelnes Bild bleibt unbeschnitten) */
.wp-block-gallery > *:not(:only-child) img { width: 100%; height: 200px; object-fit: cover; }
@media (min-width: 1200px) { .wp-block-gallery > *:not(:only-child) img { height: 240px; } }
@media (max-width: 599.98px) { .wp-block-gallery > *:not(:only-child) img { height: 160px; } }
.wp-block-gallery a, .wp-block-gallery figure { display: block; height: 100%; }
.wp-block-gallery img { display: block; transition: opacity .2s; }
.wp-block-gallery a:hover img { opacity: .85; }
a[data-lightbox] { cursor: zoom-in; }

/* Bildvorschau (Lightbox) */
.lightbox .modal-content { background: transparent; border: 0; align-items: center; }
.lightbox .lb-img { max-width: 100%; max-height: 88vh; width: auto; height: auto; box-shadow: 0 0 20px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 48px; line-height: 1; padding: 10px 16px; text-shadow: 0 0 6px rgba(0,0,0,.6); }
.lightbox .lb-close { top: -50px; right: 0; font-size: 40px; }
.lightbox .lb-prev { left: 0; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 0; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { color: #ddd; font-size: 13px; margin-top: 8px; }
.modal-backdrop.show { opacity: .9; }

/* Startseiten-Slider */
#home-slider { clear: both; }
#home-slider .carousel-item img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Karte mit Zustimmung (Zwei-Klick-Lösung) */
.map-consent {
  background: #000;
  color: #fff;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 0 1.5em;
  padding: 30px;
}
.map-consent p { color: #fff !important; font-size: 14px !important; }
.map-consent a { color: #fff; text-decoration: underline; }
.map-consent iframe { width: 100%; height: 400px; border: 0; display: block; }
.map-consent.loaded { padding: 0; background: none; }
.btn-feldmann { background: var(--fm-red); border-color: var(--fm-red); color: #fff; border-radius: 3px; }
.btn-feldmann:hover, .btn-feldmann:focus { background: #a8041f; border-color: #a8041f; color: #fff; }

/* Galerie-Übersicht */
.gallery-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 1.5em; }
.gallery-overview a { display: block; text-decoration: none; color: var(--fm-heading); }
.gallery-overview img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; margin-bottom: 8px; transition: opacity .2s; }
.gallery-overview a:hover img { opacity: .85; }
.gallery-overview span { font-family: "Lato", Helvetica, Arial, sans-serif; font-size: 17px; }

/* ---------- Irisfotografie (Startseiten-Teaser + Seite) ---------- */
:root { --iris-gold: #c9a96e; --iris-dark: #0b0b0d; }
.iris-teaser, .iris-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  background: radial-gradient(circle at 20% 50%, #1d1a14 0%, var(--iris-dark) 60%);
  color: #ddd;
  border-radius: 4px;
  margin: 0 0 40px;
  overflow: hidden;
}
.iris-teaser { padding: 24px 32px 24px 24px; }
.iris-teaser img { width: 190px; flex: 0 0 auto; border-radius: 2px; box-shadow: 0 0 30px rgba(201,169,110,.18); transition: transform .3s; }
.iris-teaser:hover img { transform: scale(1.02); }
.entry-content .iris-teaser p, .entry-content .iris-hero p { color: #d4d4d4; }
.iris-teaser h2, .iris-hero h2 { color: #fff; font-size: 30px; font-weight: 400; letter-spacing: .5px; line-height: 1.2; margin: 0 0 12px; }
.iris-kicker {
  color: var(--iris-gold) !important;
  font-size: 13px !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 8px !important;
}
.entry-content .iris-hero-price { color: var(--iris-gold); font-size: 17px; }
.iris-hero-price strong { color: #fff; font-size: 20px; }
.entry-content .iris-hero-price { display: flex; flex-wrap: wrap; column-gap: 1.4em; row-gap: .2em; }
.iris-hero-price span { white-space: nowrap; }
.btn-iris { background: var(--iris-gold); border: 1px solid var(--iris-gold); color: #111; border-radius: 3px; padding: 9px 20px; font-weight: 600; }
.btn-iris:hover, .btn-iris:focus { background: #e0c48c; border-color: #e0c48c; color: #000; text-decoration: none; }
.btn-iris-outline { border: 1px solid var(--iris-gold); color: var(--iris-gold); border-radius: 3px; padding: 9px 20px; }
.btn-iris-outline:hover, .btn-iris-outline:focus { background: rgba(201,169,110,.12); color: #fff; text-decoration: none; }
.iris-teaser .stretched-link::after { z-index: 1; }

.iris-hero { padding: 0 40px 0 0; }
.iris-hero-img { flex: 0 0 42%; align-self: stretch; }
.iris-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iris-hero-text { padding: 36px 0; }
.iris-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0 !important; }

@media (max-width: 991.98px) {
  .iris-hero { flex-direction: column; padding: 0; gap: 0; }
  .iris-hero-img { flex: none; width: 100%; }
  .iris-hero-img img { aspect-ratio: 1 / 1; max-height: 420px; }
  .iris-hero-text { padding: 24px; }
}
@media (max-width: 575.98px) {
  .iris-teaser { flex-direction: column; text-align: center; padding: 24px 20px; gap: 18px; }
  .iris-teaser img { width: 60%; max-width: 220px; }
  .iris-teaser h2, .iris-hero h2 { font-size: 24px; }
  .entry-content .iris-hero-price { justify-content: center; }
}

.entry-content .iris-steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.iris-steps li { background: var(--fm-light); border: 1px solid var(--fm-border); border-radius: 4px; padding: 22px 20px 10px; }
.iris-step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--iris-dark); color: var(--iris-gold);
  font-family: "Lato", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 17px;
  margin-bottom: 12px;
}
.iris-steps h3 { font-weight: 700; margin: 0 0 8px; }
@media (max-width: 767.98px) { .entry-content .iris-steps { grid-template-columns: 1fr; } }

.iris-prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0 0 16px; }
.iris-price { border: 1px solid var(--fm-border); border-radius: 4px; padding: 24px 24px 8px; text-align: center; }
.iris-price-featured { background: var(--iris-dark); border-color: var(--iris-dark); }
.iris-price h3 { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.iris-price-featured h3 { color: #fff; }
.entry-content .iris-price-value { font-family: "Lato", Helvetica, Arial, sans-serif; font-size: 36px; color: var(--fm-heading); margin: 0 0 12px; line-height: 1.2; }
.entry-content .iris-price-featured .iris-price-value { color: var(--iris-gold); }
.iris-price-value span { font-size: 16px; color: #999; }
.entry-content .iris-price ul { list-style: none; padding: 0; margin: 0 0 16px; }
.entry-content .iris-price li { font-size: 15px; padding: 6px 0; border-top: 1px solid var(--fm-border); }
.entry-content .iris-price-featured li { color: #ccc; border-color: #2a2a2e; }
.entry-content .iris-note { font-size: 15px; margin-bottom: 40px; }
@media (max-width: 575.98px) { .iris-prices { grid-template-columns: 1fr; } }

/* Beispielbilder: Plakate unbeschnitten im Hochformat */
.wp-block-gallery.iris-gallery { margin-bottom: 40px; }
.wp-block-gallery.iris-gallery > * { width: calc(33.333% - 6px); }
.wp-block-gallery.iris-gallery > * img { height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: #000; }
@media (max-width: 599.98px) { .wp-block-gallery.iris-gallery > * { width: calc(50% - 4px); } .wp-block-gallery.iris-gallery > * img { height: auto; } }

.iris-gift { border-left: 3px solid var(--fm-red); background: var(--fm-light); padding: 22px 24px 8px; margin: 0 0 40px; }
.iris-gift a { color: var(--fm-red); text-decoration: underline; }
.iris-contact { margin-bottom: 10px; }

/* ---------- Seitenleiste ---------- */
.sidebar h1 { font-size: 21px; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.sidebar h5 { font-size: 21px; margin-bottom: 14px; }
.sidebar p { font-size: 14px; line-height: 1.7; margin-bottom: 1em; }
.tab-gap { display: inline-block; width: 2.6em; }
.fb-link img { display: inline-block; margin-top: 6px; }

/* ---------- Fußbereich ---------- */
.site-footer {
  background: var(--fm-footer);
  color: #e8e8e8;
  padding: 50px 0 40px;
  font-size: 14px;
}
.site-footer h3 { color: #fff; font-size: 15.4px; margin-bottom: 15px; letter-spacing: 0; }
.site-footer h5 { color: #fff; font-size: 15.4px; margin: 20px 0 10px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { border-top: 1px solid #444; }
.footer-menu li:last-child { border-bottom: 1px solid #444; }
.footer-menu a { display: block; padding: 7px 0; font-size: 13px; }
.footer-menu a:hover { background: rgba(255,255,255,.05); text-decoration: none; }

.site-socket { background: var(--fm-socket); color: #e8e8e8; font-size: 11px; padding: 15px 0; border-top: 1px solid #444; }
.site-socket a { color: #fff; }

/* Nach oben */
.scroll-top {
  position: fixed;
  right: 50px;
  bottom: -50px;
  width: 50px;
  height: 50px;
  border-radius: 2px;
  background: rgba(0,0,0,.35);
  z-index: 1040;
  transition: bottom .3s, background .2s;
}
.scroll-top::before {
  content: "";
  position: absolute;
  left: 17px; top: 21px;
  width: 16px; height: 16px;
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  transform: rotate(45deg);
}
.scroll-top.show { bottom: 50px; }
.scroll-top:hover { background: rgba(0,0,0,.6); }
@media (max-width: 767.98px) { .scroll-top { right: 15px; } .scroll-top.show { bottom: 15px; } }
