/* =========================
   MK Kreativagentur – style.css
   ========================= */

/* CSS Variablen (Farben/Marke) */
:root {
  --brand: #111827;          /* near-black */
  --brand-contrast: #ffffff; /* white */
  --accent: #0ea5e9;         /* sky */
}

/* Navbar: transparent über Hero, solid beim Scrollen */
.navbar-custom {
  transition: background-color 250ms ease, box-shadow 250ms ease;
  background-color: rgba(17, 24, 39, 0.4); /* transparent */
  backdrop-filter: saturate(180%) blur(12px);
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand,
.navbar-custom .dropdown-item {
  color: black;
}

.navbar-custom .nav-link:hover,
.navbar-custom .dropdown-item:hover {
  color: #d1d5db;
}

.navbar-solid {
  background-color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.navbar-solid .nav-link,
.navbar-solid .navbar-brand,
.navbar-solid .dropdown-item {
  color: #111827 !important;
}

.navbar-solid .nav-link:hover {
  color: #0f172a !important;
}

/* CTA Button */
.btn-cta {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: #0284c7;
  --bs-btn-hover-border-color: #0284c7;
  --bs-btn-color: #fff;
  --bs-btn-padding-y: .6rem;
  --bs-btn-padding-x: 1rem;
  --bs-btn-border-radius: 9999px;
}

/* Offcanvas Breite (Mobile) */
.offcanvas-nav {
  width: 86vw;
  max-width: 420px;
}

/* Demo: Hero, nur um die transparente Navbar zu zeigen */
.hero-demo {
  min-height: 70vh;
  background: linear-gradient(180deg, #0ea5e9 0%, #38bdf8 50%, #e0f2fe 100%);
  color: #0b1220;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-demo h1 {
  font-weight: 800;
  letter-spacing: .2px;
}

/* Optional: kleine Tweaks */
.navbar-brand img {
  height: 28px;
}

.hero {
  background: url('img/hero-bg.jpg') center center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* stärkeres Dunkel-Overlay */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 1rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero h1,
.hero p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Welcome Section */
.welcome-section {
  background-color: #fff;
  color: #111;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #e63946; /* edler roter Akzent */
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

.welcome-section .lead {
  font-size: 1.2rem;
  color: #444;
}

.content-text p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
}

.content-text strong {
  color: #e63946;
  font-weight: 600;
}
.highlight-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #e63946; /* elegantes Rot für Hervorhebung */
}
/* ===== Über mich (About) ===== */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .4px;
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: #e63946; /* roter Akzent */
  margin: .6rem 0 0;
  border-radius: 2px;
}

.highlight-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #e63946;
}

.about-intro { color: #333; }

.about-text p {
  color: #2b2b2b;
  line-height: 1.75;
  margin-bottom: 1.05rem;
  font-size: 1.05rem;
}

.about-figure img {
  object-fit: cover;
  width: 100%;
  height: auto;
  filter: grayscale(8%); /* ganz leichter, edler Look */
}

.dropcap:first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 1;
  float: left;
  padding-right: .35rem;
  padding-top: .2rem;
  color: #111;
}

.about-quote {
  margin: 1.2rem 0 1.2rem 0;
  padding: 0.8rem 1rem;
  border-left: 3px solid #e63946;
  background: #fafafa;
  font-style: italic;
  color: #444;
  border-radius: 6px;
}
.slider-section {
  background: #fafafa;
}

.gallery-img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.02);
}
/* Edge-to-edge: echte 100vw ohne Seitenabstand */
.edge-to-edge {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #000; /* sanfter Rahmen, falls Bild schmaler lädt */
}

/* Deutlich geringere Höhe + Cropping */
.slider-img {
  height: clamp(240px, 42vh, 520px); /* <— weniger hoch */
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Pfeile etwas dezenter sichtbar machen */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

/* Thumbnails */
.thumbs { max-width: 1200px; }
.thumb-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.thumb-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .25s ease, opacity .25s ease;
  opacity: .9;
}
.thumb-link:hover .thumb-img { transform: scale(1.02); opacity: 1; }

/* Aktives Thumbnail */
.active-thumb .thumb-img,
.thumb-link.active-thumb .thumb-img {
  outline: 2px solid #e63946;
  outline-offset: 2px;
  opacity: 1;
}

/* Lightbox Modal Bild passt sich an */
#lightboxModal img { width: 100%; height: auto; }

#lightboxModal .btn {
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 2rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50%;
  transition: background 0.3s;
}
#lightboxModal .btn:hover {
  background: #e63946;
  color: #fff;
}

/* Thumbnails kleiner */
.thumb-img {
  width: 100%;
  aspect-ratio: 16/10;   /* flacher, dadurch halb so hoch */
  object-fit: cover;
  transition: transform .25s ease, opacity .25s ease;
  opacity: .9;
  max-height: 80px;      /* maximale Höhe */
}

.thumbs .col-6.col-sm-3 {
  flex: 0 0 auto;
  max-width: 20%; /* macht die Thumbs etwas kompakter nebeneinander */
}
/* Wir bieten */
.offer-section {
  background: #fff;
  color: #111;
}

.offer-section .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: .4px;
  position: relative;
  display: inline-block;
}
.offer-section .section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: #e63946;
  margin: .6rem auto 0;
  border-radius: 2px;
}

.offer-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  border-color: #eaeaea;
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  margin-bottom: .75rem;
}
.icon-wrap i { font-size: 1.25rem; }

.offer-card h3 {
  font-size: 1.15rem;
  margin-bottom: .4rem;
  font-weight: 700;
}
.offer-card p {
  color: #444;
  margin: 0;
}

.offer-section .btn-cta {
  --bs-btn-bg: #e63946;
  --bs-btn-border-color: #e63946;
  --bs-btn-hover-bg: #cf2f3c;
  --bs-btn-hover-border-color: #cf2f3c;
  --bs-btn-color: #fff;
  --bs-btn-border-radius: 9999px;
  --bs-btn-padding-y: .6rem;
  --bs-btn-padding-x: 1rem;
}

.offer-section .btn-outline-dark {
  border-radius: 9999px;
  padding: .6rem 1rem;
}
/* Business Fotografie */
.business-section { background: #fff; color: #111; }

.business-section .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: .4px;
  display: inline-block;
  position: relative;
}
.business-section .section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: #e63946;
  margin: .6rem auto 0;
  border-radius: 2px;
}

.bf-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.bf-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  border-color: #eaeaea;
}
.bf-card h3 {
  font-size: 1.15rem;
  margin-bottom: .35rem;
  font-weight: 700;
}
.bf-card p { color: #444; margin: 0; }

.business-section .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  margin-bottom: .75rem;
}
.business-section .icon-wrap i { font-size: 1.25rem; }

.bf-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 1;
}
.bf-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem 0;
  color: #2b2b2b;
}
.bf-list i { color: #0ea5e9; }

/* Buttons übernehmen deinen runden Stil */
.business-section .btn-cta {
  --bs-btn-bg: #e63946;
  --bs-btn-border-color: #e63946;
  --bs-btn-hover-bg: #cf2f3c;
  --bs-btn-hover-border-color: #cf2f3c;
  --bs-btn-color: #fff;
  --bs-btn-border-radius: 9999px;
  --bs-btn-padding-y: .6rem;
  --bs-btn-padding-x: 1rem;
}
.business-section .btn-outline-dark {
  border-radius: 9999px;
  padding: .6rem 1rem;
}

/* Typo Basis */
body { font-family: 'Raleway', sans-serif; }

/* Navbar */
.navbar { white-space: nowrap; }
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; letter-spacing: 1px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-link {
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.5px; position: relative;
}
.nav-link.active::after,
.nav-link:hover::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -4px; width: 30%; height: 2px; background-color: #e63946; border-radius: 2px;
}

/* Hero */
.hero {
  background: url('img/hero-bg.jpg') center center/cover no-repeat;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; position: relative;
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 1rem; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; line-height: 1.6; }
.hero h1, .hero p { text-shadow: 0 2px 6px rgba(0,0,0,.6); }

/* Welcome + About + Quote + Dropcap */
.section-title {
  font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; letter-spacing: .4px;
  display: inline-block; position: relative;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 3px; background: #e63946;
  margin: .6rem auto 0; border-radius: 2px;
}
.highlight-name { font-family: 'Playfair Display', serif; font-weight: 700; color: #e63946; }
.about-text p { color: #2b2b2b; line-height: 1.75; margin-bottom: 1.05rem; font-size: 1.05rem; }
.about-figure img { object-fit: cover; width: 100%; height: auto; filter: grayscale(8%); }
.dropcap:first-letter { font-family: 'Playfair Display', serif; font-size: 3rem; line-height: 1; float: left; padding-right: .35rem; padding-top: .2rem; color: #111; }
.about-quote { margin: 1.2rem 0; padding: 

  .8rem 1rem; border-left: 3px solid #e63946; background: #fafafa; font-style: italic; color: #444; border-radius: 6px; }

/* Edge-to-edge Slider & Thumbs */
.edge-to-edge { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); background: #000; }
.slider-img { height: clamp(240px, 42vh, 520px); object-fit: cover; object-position: center; display: block; }
.carousel-control-prev-icon, .carousel-control-next-icon { filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.thumbs { max-width: 1200px; }
.thumb-link { display: block; border-radius: 8px; overflow: hidden; position: relative; cursor: pointer; }
.thumb-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .25s ease, opacity .25s ease; opacity: .9; max-height: 80px; }
.thumb-link:hover .thumb-img { transform: scale(1.02); opacity: 1; }
.active-thumb .thumb-img { outline: 2px solid #e63946; outline-offset: 2px; opacity: 1; }

/* Wir bieten */
.offer-section { background: #fff; color: #111; }
.offer-card {
  background: #fafafa; border: 1px solid #eee; border-radius: 14px; padding: 1.25rem 1.4rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.offer-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.06); border-color: #eaeaea; }
.icon-wrap {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #111; color: #fff; margin-bottom: .75rem;
}
.icon-wrap i { font-size: 1.25rem; }
.offer-card h3 { font-size: 1.15rem; margin-bottom: .4rem; font-weight: 700; }
.offer-card p { color: #444; margin: 0; }

/* CTA-Buttons */
.btn-cta {
  --bs-btn-bg: #e63946; --bs-btn-border-color: #e63946; --bs-btn-hover-bg: #cf2f3c; --bs-btn-hover-border-color: #cf2f3c;
  --bs-btn-color: #fff; border-radius: 9999px; padding: .6rem 1rem;
}
.btn-outline-dark { border-radius: 9999px; padding: .6rem 1rem; }

/* Lightbox Pfeil-Buttons */
#lightboxModal .btn {
  background: rgba(255,255,255,0.85); border: none;
  font-size: 2rem; padding: .25rem .75rem; border-radius: 50%;
  transition: background .3s, color .3s;
}
#lightboxModal .btn:hover { background: #e63946; color: #fff; }
/* Business Fotografie */
.business-section { background: #fff; color: #111; }

.business-section .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: .4px;
  display: inline-block;
  position: relative;
}
.business-section .section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: #e63946;      /* roter Akzent */
  margin: .6rem auto 0;
  border-radius: 2px;
}

.bf-subtitle {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .2px;
}

/* Feature-Liste mit Icons */
.bf-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: .75rem 1rem;
}
.bf-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: .75rem;
  padding: .6rem .2rem;
  border-bottom: 1px dashed #eee;
}
.bf-list li:last-child { border-bottom: none; }
.bf-list i { color: #0ea5e9; font-size: 1.1rem; line-height: 1.4; }
.bf-list strong { font-weight: 700; }

/* Statement-Karte */
.bf-note {
  background: linear-gradient(180deg, #fafafa, #f4f4f4);
  border: 1px solid #eee;
}

/* CTA Button-Stil übernimmt deine globale .btn-cta/.btn-outline-dark */
/* Mini-Hero (Seitenkopf) */
.mini-hero {
  min-height: 38vh;
  position: relative;
  background: #111;
}
.mini-hero-portfolio {
  background: url('/img/hero-portfolio.jpg') center/cover no-repeat, #111; /* optionales Bild */
}
.mini-hero::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45);
}
.mini-hero .container { position: relative; z-index: 2; }
.mini-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 .3rem 0;
}
.mini-hero-sub { opacity: .9; }

/* Portfolio Masonry (CSS Columns) */
.portfolio-masonry {
  columns: 1; column-gap: 1rem;
}
@media (min-width: 576px) { .portfolio-masonry { columns: 2; } }
@media (min-width: 992px) { .portfolio-masonry { columns: 3; } }

.pf-item {
  break-inside: avoid; margin-bottom: 1rem; position: relative; overflow: hidden; border-radius: 12px;
}
.pf-img {
  width: 100%; height: auto; display: block; object-fit: cover; transition: transform .35s ease, filter .35s ease;
  filter: grayscale(6%); /* dezenter Look */
}
.pf-item:hover .pf-img { transform: scale(1.02); filter: grayscale(0%); }

.pf-cap {
  position: absolute; left: .6rem; bottom: .6rem;
  background: rgba(0,0,0,.55); color: #fff; padding: .25rem .5rem; border-radius: 6px;
  font-size: .9rem; letter-spacing: .2px;
}

/* Filter Buttons */
.portfolio-filters .btn { border-radius: 9999px; }
.portfolio-filters .btn.active,
.portfolio-filters .btn:focus {
  background: #e63946; border-color: #e63946; color: #fff;
}

/* Lightbox Buttons (nutzt schon deine globale Regel; hier optional als Fallback) */
#lightboxModal .btn { background: rgba(255,255,255,.85); border: none; font-size: 2rem; padding: .25rem .75rem; border-radius: 50%; }
#lightboxModal .btn:hover { background: #e63946; color: #fff; }
.portfolio-masonry {
  columns: 1;
  column-gap: 1rem;
}
@media (min-width: 576px) { .portfolio-masonry { columns: 2; } }
@media (min-width: 992px) { .portfolio-masonry { columns: 3; } }

.pf-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.pf-img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
  filter: grayscale(6%);
}
.pf-item:hover .pf-img {
  transform: scale(1.03);
  filter: grayscale(0%);
}
.pf-cap {
  position: absolute;
  left: .6rem;
  bottom: .6rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: .25rem .5rem;
  border-radius: 6px;
  font-size: .9rem;
}
/* Mini-Hero Bild/Look für Analog-Seite */
.mini-hero-analog {
  background: url('/img/hero-analog.jpg') center/cover no-repeat, #111; /* optional: eigenes Headerbild */
}
.mini-hero::after { content:""; position:absolute; inset:0; background: rgba(0,0,0,.45); }
.mini-hero .container { position:relative; z-index:2; }

/* Untertitel/Listen übernehmen vorhandene Styles (.section-title, .bf-subtitle, .bf-list, .offer-card etc.) */
/* Zitat-Box */
.styled-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  border-left: 4px solid #e63946;
  padding-left: 1rem;
  font-style: italic;
}

/* Autor-Box */
.author-box {
  border-left: 4px solid #e63946;
}
.mini-hero-workshops {
  background: url('/img/hero-workshops.jpg') center/cover no-repeat, #111; /* optionales Headerbild */
}
/* Kontakt */
.contact-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
}
.contact-link {
  text-decoration: none;
  font-size: 1.1rem;
}
.contact-link:hover {
  text-decoration: underline;
}
/* --- Navbar Responsive --- */
.navbar { white-space: nowrap; }

/* Mobile-Defaults: Brand zentriert, nicht absolut */
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  position: static;
  transform: none;
  margin: 0 auto;
}

/* Desktop: Brand absolut mittig */
@media (min-width: 992px) {
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
}

/* Links/Underline wie gehabt */
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
}
.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -4px;
  width: 30%;
  height: 2px;
  background-color: #e63946;
  border-radius: 2px;
}

/* Burger-Icon sichtbar machen (unabhängig von navbar-light/dark) */
.navbar-custom .navbar-toggler { border: 0; }
.navbar-custom .navbar-toggler-icon {
  width: 1.5rem; height: 1.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17,17,17,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-size: 100% 100%;
}

/* Optional: Offcanvas Feinschliff */
.offcanvas .nav-link { padding: .5rem 0; font-size: 1.05rem; }
.offcanvas-header { padding: .9rem 1rem; }
/* --- Fix: Platz unter fixed-top + saubere Anker-Sprünge --- */
body { padding-top: 64px; }                 /* Höhe deiner Navbar mobil */
@media (min-width: 992px){ body{ padding-top: 76px; } } /* Desktop-Höhe */
section[id] { scroll-margin-top: 84px; }    /* Anker landen nicht unterm Header */

/* --- Offcanvas zuverlässig deckend & obenauf --- */
.offcanvas{
  --bs-offcanvas-bg: #fff;
  --bs-offcanvas-color: #111;
  background-color: var(--bs-offcanvas-bg) !important;
  z-index: 1060;             /* über fixed-top (1030) */
  height: 100dvh;            /* iOS/Safari Viewport-Fix */
}
.offcanvas-backdrop.show{ opacity: .45; }   /* etwas dunkleres Overlay */

/* --- Brand & Toggler Priorität --- */
.navbar-custom .navbar-toggler{ z-index: 1070; } /* immer klickbar */
.navbar-brand{ margin: 0 auto; }                 /* mobil zentriert */
@media (min-width: 992px){
  .navbar-brand{ position: absolute; left: 50%; transform: translateX(-50%); }
}

/* (Dein Underline/Active-Style bleibt – optional noch:) */
.offcanvas .nav-link{ padding: .65rem 0; font-size: 1.05rem; }

/* ===== Größere Navbar (Größen-Variablen) ===== */
:root{
  --nav-h-mobile: 72px;   /* vorher ca. 64px */
  --nav-h-desktop: 96px;  /* vorher ca. 76px */
  --brand-size-mobile: 1.6rem;
  --brand-size-desktop: 2rem;
  --nav-link-size-mobile: 1.05rem;
  --nav-link-size-desktop: 1.1rem;
}

/* Grundlayout & Höhe */
.navbar.navbar-custom { 
  padding-top: .6rem;
  padding-bottom: .6rem;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(10px);
}
.navbar.navbar-custom .container{ 
  min-height: var(--nav-h-mobile);
}
@media (min-width: 992px){
  .navbar.navbar-custom .container{ 
    min-height: var(--nav-h-desktop);
  }
}

/* Brand größer – mobil zentriert, desktop absolut mittig (dein bestehendes Verhalten) */
.navbar-brand{
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: var(--brand-size-mobile);
  line-height: 1.1;
  margin: 0 auto;
  position: static;
  transform: none;
}
@media (min-width: 992px){
  .navbar-brand{
    font-size: var(--brand-size-desktop);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
}

/* Links größer & mit mehr vertikalem Padding */
.nav-link{
  font-weight: 500;
  letter-spacing: .5px;
  font-size: var(--nav-link-size-mobile);
  padding: .9rem .55rem;      /* mehr Höhe */
  position: relative;
}
@media (min-width: 992px){
  .nav-link{
    font-size: var(--nav-link-size-desktop);
    padding: 1.05rem .7rem;   /* noch etwas größer am Desktop */
  }
}

/* Unterstreichungs-Akzent (bleibt dezent) */
.nav-link.active::after,
.nav-link:hover::after{
  content:"";
  position:absolute;
  left:50%; transform:translateX(-50%);
  bottom:-6px;                /* etwas weiter unten wegen größerer Höhe */
  width:28%; height:2px;
  background:#e63946; border-radius:2px;
}

/* Mehr Luft zwischen Links am Desktop */
@media (min-width: 992px){
  .navbar .nav{ gap: 1rem; }  /* statt gap-2 (~.5rem) -> ~1rem */
}

/* Toggler größer & besser klickbar */
.navbar-custom .navbar-toggler{
  padding: .55rem .75rem;
  border: 0;
  z-index: 1070;
}
.navbar-custom .navbar-toggler-icon{
  width: 2rem; height: 2rem;                      /* größer als vorher */
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17,17,17,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-size:100% 100%;
}

/* Offcanvas kleine Kosmetik (optional) */
.offcanvas .nav-link{ padding: .75rem 0; font-size: 1.1rem; }

/* Platz für fixed-top Header & saubere Anker-Sprünge */
body{ padding-top: var(--nav-h-mobile); }
@media (min-width: 992px){ body{ padding-top: var(--nav-h-desktop); } }
section[id]{ scroll-margin-top: calc(var(--nav-h-mobile) + 12px); }
@media (min-width: 992px){ section[id]{ scroll-margin-top: calc(var(--nav-h-desktop) + 12px); } }

/* ===== Größere Navbar (Größen-Variablen) ===== */
:root{
  --nav-h-mobile: 72px;   /* vorher ca. 64px */
  --nav-h-desktop: 96px;  /* vorher ca. 76px */
  --brand-size-mobile: 1.6rem;
  --brand-size-desktop: 2rem;
  --nav-link-size-mobile: 1.05rem;
  --nav-link-size-desktop: 1.1rem;
}

/* Grundlayout & Höhe */
.navbar.navbar-custom { 
  padding-top: .6rem;
  padding-bottom: .6rem;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(10px);
}
.navbar.navbar-custom .container{ 
  min-height: var(--nav-h-mobile);
}
@media (min-width: 992px){
  .navbar.navbar-custom .container{ 
    min-height: var(--nav-h-desktop);
  }
}

/* Brand größer – mobil zentriert, desktop absolut mittig (dein bestehendes Verhalten) */
.navbar-brand{
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: var(--brand-size-mobile);
  line-height: 1.1;
  margin: 0 auto;
  position: static;
  transform: none;
}
@media (min-width: 992px){
  .navbar-brand{
    font-size: var(--brand-size-desktop);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
}

/* Links größer & mit mehr vertikalem Padding */
.nav-link{
  font-weight: 500;
  letter-spacing: .5px;
  font-size: var(--nav-link-size-mobile);
  padding: .9rem .55rem;      /* mehr Höhe */
  position: relative;
}
@media (min-width: 992px){
  .nav-link{
    font-size: var(--nav-link-size-desktop);
    padding: 1.05rem .7rem;   /* noch etwas größer am Desktop */
  }
}

/* Unterstreichungs-Akzent (bleibt dezent) */
.nav-link.active::after,
.nav-link:hover::after{
  content:"";
  position:absolute;
  left:50%; transform:translateX(-50%);
  bottom:-6px;                /* etwas weiter unten wegen größerer Höhe */
  width:28%; height:2px;
  background:#e63946; border-radius:2px;
}

/* Mehr Luft zwischen Links am Desktop */
@media (min-width: 992px){
  .navbar .nav{ gap: 1rem; }  /* statt gap-2 (~.5rem) -> ~1rem */
}

/* Toggler größer & besser klickbar */
.navbar-custom .navbar-toggler{
  padding: .55rem .75rem;
  border: 0;
  z-index: 1070;
}
.navbar-custom .navbar-toggler-icon{
  width: 2rem; height: 2rem;                      /* größer als vorher */
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17,17,17,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-size:100% 100%;
}

/* Offcanvas kleine Kosmetik (optional) */
.offcanvas .nav-link{ padding: .75rem 0; font-size: 1.1rem; }

/* Platz für fixed-top Header & saubere Anker-Sprünge */
body{ padding-top: var(--nav-h-mobile); }
@media (min-width: 992px){ body{ padding-top: var(--nav-h-desktop); } }
section[id]{ scroll-margin-top: calc(var(--nav-h-mobile) + 12px); }
@media (min-width: 992px){ section[id]{ scroll-margin-top: calc(var(--nav-h-desktop) + 12px); } }
/* ==== Vollbreites Offcanvas unter der Navbar ==== */
/* Größen aus deinem Setup */
:root{
  --nav-h-mobile: 72px;     /* ggf. anpassen */
  --nav-h-desktop: 96px;    /* falls du auch am Desktop das Offcanvas nutzen würdest */
}

/* Offcanvas selbst: volle Breite, unter der Navbar beginnen */
#mobileNav.offcanvas{
  width: 100vw;
  max-width: 100vw;
  left: 0;                 /* nicht nur "end", sondern über ganze Seite */
  right: 0;
  border: 0;
  background: #fff;
  z-index: 1060;
}

/* Mobil: Start unter der Navbar + volle Resthöhe */
@media (max-width: 991.98px){
  #mobileNav.offcanvas{
    top: var(--nav-h-mobile);
    height: calc(100dvh - var(--nav-h-mobile));
    border-top: 1px solid #eee;   /* kleine Kante unter der Navbar */
  }
  /* Backdrop nur unterhalb der Navbar abdunkeln */
  .offcanvas-backdrop.show{
    top: var(--nav-h-mobile);
    height: calc(100dvh - var(--nav-h-mobile));
    opacity: .45;
  }
}

/* (Optional) falls du auch >lg den Burger erlaubst */
@media (min-width: 992px){
  #mobileNav.offcanvas{
    top: var(--nav-h-desktop);
    height: calc(100dvh - var(--nav-h-desktop));
  }
  .offcanvas-backdrop.show{
    top: var(--nav-h-desktop);
    height: calc(100dvh - var(--nav-h-desktop));
  }
}

/* Offcanvas-Inhalt etwas größer für Touch */
#mobileNav .nav-link{ padding: .9rem 0; font-size: 1.1rem; }
#mobileNav .offcanvas-header{ padding: 1rem 1.25rem; }
/* Brand: mobil zentriert, ab XL absolut mittig */
.navbar-brand{ margin: 0 auto; position: static; transform: none; }
@media (min-width: 1200px){
  .navbar-brand{ position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
}

/* Body-Offset & Anker bleiben, keine Änderung nötig, falls du Variablen nutzt */

/* Offcanvas: volle Breite unter der Navbar – Breakpoint auf XL umstellen */
@media (max-width: 1199.98px){
  #mobileNav.offcanvas{
    top: var(--nav-h-mobile);
    height: calc(100dvh - var(--nav-h-mobile));
  }
  .offcanvas-backdrop.show{
    top: var(--nav-h-mobile);
    height: calc(100dvh - var(--nav-h-mobile));
  }
}
@media (min-width: 1200px){
  #mobileNav.offcanvas{
    top: var(--nav-h-desktop);
    height: calc(100dvh - var(--nav-h-desktop));
  }
  .offcanvas-backdrop.show{
    top: var(--nav-h-desktop);
    height: calc(100dvh - var(--nav-h-desktop));
  }
}

/* Optional: Linkgrößen/Abstände schon im „Burger-Modus“ (unter 1200px) etwas größer lassen */
@media (max-width: 1199.98px){
  .offcanvas .nav-link{ padding: .95rem 0; font-size: 1.12rem; }
}