/* ─────────────────────────────────────────────────────────────────────────
   Hundezentrum-MaDogs — visual system shared with the Sozialhunde page
   - Editorial layout, Playfair Display headlines, Oswald all-caps labels
   - Gold-brown accent (#89704B), deep dark sections (#1a1f1e), warm light bg
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --accent:      #89704B;
  --accent-dark: #6d5a3c;
  --accent-pale: #f5f0e8;
  --text:        #1e2025;
  --muted:       #5a5d66;
  --bg:          #ffffff;
  --bg-alt:      #f7f6f3;
  --deep:        #1a1f1e;
  --hairline:    rgba(137,112,75,0.15);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --caps:  "Oswald", "Arial Narrow", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── SECTION LABEL (eyebrow with hairline) ── */
.section-label {
  font-family: var(--caps);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: 0.25;
}
.section-label.center {
  justify-content: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.section-label.center::before {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: 0.25;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  font-family: var(--caps);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep);
  background: var(--accent);
  padding: 1rem 2.4rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #a0834f; transform: translateY(-1px); color: var(--deep); }

.btn-ghost {
  display: inline-block;
  font-family: var(--caps);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  background: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

.btn-link {
  display: inline-block;
  font-family: var(--caps);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
  transition: color 0.2s, border-color 0.2s;
}
.btn-link:hover { color: var(--accent); border-color: var(--accent-dark); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.2;
}
.nav-brand span:not(.nav-brand-text) {
  display: block;
  font-size: 0.7rem;
  font-family: var(--caps);
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 0.15rem;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--caps);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.nav-cta {
  font-family: var(--caps);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 0.55rem 1.4rem;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 4px; right: 4px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s, top 0.25s;
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 64px;
}
.hero-left {
  background: var(--deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5vw 5rem 6vw;
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(137,112,75,0.04) 40px,
    rgba(137,112,75,0.04) 41px
  );
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--caps);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--accent);
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  position: relative;
  margin-bottom: 2rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 460px;
  position: relative;
  margin-bottom: 3rem;
}
.hero-cert {
  font-family: var(--caps);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border-left: 2px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1rem;
  margin-top: 2.5rem;
  line-height: 1.6;
  position: relative;
}
.hero-actions { display: flex; align-items: center; gap: 2rem; position: relative; flex-wrap: wrap; }

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--deep);
}
.hero-right video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-badge {
  position: absolute;
  bottom: 2.5rem; left: -2rem;
  background: var(--accent);
  color: #fff;
  padding: 1.25rem 1.75rem 1.25rem 3.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  z-index: 2;
}
.hero-badge cite {
  display: block;
  font-family: var(--caps);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.6rem;
}

/* ── FEELINGS / MARQUEE STRIP ── */
.feelings-strip {
  background: var(--accent);
  overflow: hidden;
  padding: 0;
}
.feelings-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.feelings-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: rgba(255,255,255,0.92);
  padding: 1.1rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.feelings-item strong { font-style: normal; font-weight: 700; color: #fff; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── ABOUT (split) ── */
.about-section { padding: 7rem 6vw; background: var(--bg); }
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.about-image-wrap::after {
  content: 'seit 2013';
  position: absolute;
  bottom: 1.5rem; left: -1.5rem;
  font-family: var(--caps);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 0.6rem 1.1rem;
}
.about-headline {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 2rem;
}
.about-headline em { font-style: italic; color: var(--accent); }
.about-body p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1rem;
}
.about-body p:last-of-type { margin-bottom: 2rem; }

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--bg-alt);
  padding: 5rem 6vw;
  text-align: center;
}
.contact-strip .section-label { justify-content: center; max-width: 460px; margin: 0 auto 1.25rem; }
.contact-strip .section-label::before {
  content: ''; display: block; flex: 1; height: 1px; background: var(--accent); opacity: 0.25;
}
.contact-headline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.contact-hours {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.contact-hours strong { color: var(--text); font-weight: 600; }
.contact-phone {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}
.contact-phone a { color: var(--text); }
.contact-phone a:hover { color: var(--accent); }
.contact-tagline {
  font-family: var(--caps);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1rem;
}

/* ── QUOTE BANNERS ── */
.quote-full {
  padding: 6rem 6vw;
  text-align: center;
}
.quote-full.gold { background: var(--accent); color: #fff; }
.quote-full.dark { background: var(--deep); color: var(--accent); }
.quote-full blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.45;
  max-width: 820px;
  margin: 0 auto 1.5rem;
}
.quote-full.dark blockquote { color: #f0e8d8; }
.quote-full cite {
  font-family: var(--caps);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: normal;
}
.quote-full.gold cite { color: rgba(255,255,255,0.7); }
.quote-full.dark cite { color: rgba(137,112,75,0.85); }

/* ── SERVICES (numbered editorial grid) ── */
.services { padding: 7rem 6vw; background: var(--bg); }
.services-head {
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.services-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  max-width: 700px;
  margin-bottom: 0.5rem;
}
.services-headline em { font-style: italic; color: var(--accent); }
.services-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
}
.service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }
.service-card:hover { background: var(--accent-pale); color: var(--text); }
.service-card .service-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img { transform: scale(1.04); }
.service-card .service-body {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-num {
  font-family: var(--caps);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.service-label {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
.service-arrow {
  font-family: var(--caps);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* ── GALLERY (Impressionen) ── */
.gallery { padding: 7rem 0; background: var(--bg-alt); overflow: hidden; }
.gallery-head { padding: 0 6vw; margin-bottom: 4rem; text-align: center; }
.gallery-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}
.gallery-head h2 em { font-style: italic; color: var(--accent); }
.gallery-head p {
  font-family: var(--caps);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.75rem;
}
.gallery-track-wrap {
  position: relative;
  padding: 0 6vw 2rem;
}
.gallery-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-img-card {
  flex: 0 0 clamp(220px, 22vw, 320px);
  scroll-snap-align: start;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--deep);
}
.gallery-img-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-img-card:hover img { transform: scale(1.05); }
.gallery-description {
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  padding: 0 6vw;
}
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.gallery-controls button {
  width: 44px; height: 44px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: var(--caps);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.gallery-controls button:hover { background: var(--accent); color: #fff; }

/* ── NEWS / VIDEO SECTION ── */
.news-section {
  padding: 7rem 6vw;
  background: var(--bg);
}
.news-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.news-headline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}
.news-headline em { font-style: italic; color: var(--accent); }
.news-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 2rem;
}
.news-image-wrap { position: relative; }
.news-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.news-image-wrap::after {
  content: 'News & Veranstaltungen';
  position: absolute;
  top: 1.25rem; left: -1.25rem;
  font-family: var(--caps);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 0.5rem 1rem;
}

/* ── LOCATIONS (dark section, mirror of "transform-section") ── */
.locations {
  background: var(--deep);
  padding: 8rem 6vw;
  position: relative;
  overflow: hidden;
}
.locations::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(137,112,75,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.locations-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.locations .section-label { color: var(--accent); }
.locations .section-label::after { background: var(--accent); opacity: 0.4; }
.locations-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4rem;
  max-width: 700px;
}
.locations-headline em { color: var(--accent); font-style: italic; }
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.location-card {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-right: 2.5rem;
  padding-left: 0;
}
.location-card:first-child { padding-left: 0; }
.location-card:not(:first-child) { padding-left: 2.5rem; }
.location-card:last-child { border-right: none; }
.location-card .location-tag {
  font-family: var(--caps);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.location-card .location-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.location-card .location-address {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}
.location-card .location-note {
  font-style: italic;
  font-family: var(--serif);
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ── FOOTER ── */
.footer {
  background: var(--deep);
  padding: 4rem 6vw 2.5rem;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-brand span {
  display: block;
  font-family: var(--caps);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 0.4rem;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 320px;
  margin-top: 0.5rem;
}
.footer-col h5 {
  font-family: var(--caps);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul li,
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── CONSENT BANNER ── */
.consent {
  position: fixed;
  z-index: 200;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  background: var(--deep);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(137,112,75,0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  padding: 1.5rem 1.75rem;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.consent.visible { display: grid; }
.consent.in { opacity: 1; transform: none; }
.consent-body { min-width: 0; }
.consent-eyebrow {
  font-family: var(--caps);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.consent-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent);
}
.consent-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.consent-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
.consent-text a {
  color: var(--accent);
  border-bottom: 1px solid rgba(137,112,75,0.4);
}
.consent-text a:hover { color: #fff; border-bottom-color: #fff; }
.consent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
  flex-shrink: 0;
}
.consent-actions .btn-primary {
  background: var(--accent);
  color: var(--deep);
  padding: 0.85rem 2rem;
  text-align: center;
  white-space: nowrap;
}
.consent-actions .btn-primary:hover { background: #a0834f; }
.consent-decline {
  font-family: var(--caps);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.consent-decline:hover { color: #fff; border-color: rgba(255,255,255,0.45); }
@media (max-width: 720px) {
  .consent {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .consent-actions { flex-direction: row; }
  .consent-actions .btn-primary { flex: 1; }
  .consent-decline { flex: 1; }
}

/* ══════════════════════════════════════════════════════════════
   NAV — LOGO VARIANT
   ══════════════════════════════════════════════════════════════ */
.nav-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.2;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
}
.nav-brand-text span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--caps);
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* ══════════════════════════════════════════════════════════════
   HERO — LOGO (Wasserzeichen hinter dem Text)
   ══════════════════════════════════════════════════════════════ */
.hero-logo-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.hero-logo {
  width: 85%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.06;
  user-select: none;
}
.hero-left-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════════════════════════════════════════
   PAGE HERO — LOGO WATERMARK (Unterseiten)
   ══════════════════════════════════════════════════════════════ */
.page-hero-inner { position: relative; }

.page-hero-logo-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.page-hero-logo {
  width: 85%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.06;
  user-select: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════════════════════════════════════════
   PAGE HERO (Über uns, Services)
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  padding-top: 64px;
  min-height: 72vh;
  background: var(--deep);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.page-hero--split {
  min-height: 80vh;
}
.page-hero-inner {
  padding: 6rem 5vw 5rem 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(137,112,75,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
}
.page-hero-headline em { color: var(--accent); font-style: italic; }
.page-hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.page-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.page-hero-links .btn-ghost {
  font-size: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

/* Image half of page-hero */
.page-hero-img-wrap {
  position: relative;
  overflow: hidden;
}
.page-hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--deep) 0%, transparent 60%);
}

/* Split-image hero (services) */
.page-hero-split-left {
  background: var(--deep);
  display: flex;
  align-items: center;
  z-index: 2;
  position: relative;
}
.page-hero-split-right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.page-hero-split-img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.page-hero-split-img--top { filter: brightness(0.75); }
.page-hero-split-img--bottom { filter: brightness(0.65); }

/* ══════════════════════════════════════════════════════════════
   TEAM SECTION (Über uns)
   ══════════════════════════════════════════════════════════════ */
.team-section {
  padding: 7rem 6vw;
  background: var(--bg);
}
.team-section--alt {
  background: var(--bg-alt);
}
.team-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.team-inner--left {
  grid-template-columns: 1.3fr 1fr;
}
.team-inner--right {
  grid-template-columns: 1fr 1.3fr;
}
.team-photo-wrap {
  position: relative;
}
.team-photo-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.team-photo-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--caps);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
}
.team-name {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.team-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.team-cred-item {
  font-family: var(--caps);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-pale);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--hairline);
}
.team-bio p {
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.team-bio p:last-child { margin-bottom: 2rem; }

/* Qualifications timeline */
.qualifications-list { margin-top: 1.5rem; }
.qual-timeline {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.qual-timeline li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.qual-timeline li:last-child { border-bottom: none; }
.qual-year {
  font-family: var(--caps);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.qual-text {
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════════════════
   CERTIFICATIONS SECTION (Über uns)
   ══════════════════════════════════════════════════════════════ */
.cert-section {
  background: var(--deep);
  padding: 7rem 6vw;
  position: relative;
  overflow: hidden;
}
.cert-section::before {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(137,112,75,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cert-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.cert-section .section-label { color: var(--accent); }
.cert-section .section-label::after { background: var(--accent); opacity: 0.4; }
.cert-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3.5rem;
  max-width: 600px;
}
.cert-headline em { color: var(--accent); font-style: italic; }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cert-card {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.cert-card:last-child { border-right: none; }
.cert-card:not(:first-child) { padding-left: 2.5rem; }
.cert-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.4rem;
  line-height: 1;
}
.cert-label {
  font-family: var(--caps);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}
.cert-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

/* ══════════════════════════════════════════════════════════════
   RAINBOW BRIDGE (Über uns)
   ══════════════════════════════════════════════════════════════ */
.rainbow-section {
  background: var(--bg-alt);
  padding: 7rem 6vw;
  text-align: center;
}
.rainbow-inner { max-width: 720px; margin: 0 auto; }
.rainbow-section .section-label {
  justify-content: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.rainbow-section .section-label::before {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: 0.25;
}
.rainbow-headline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.rainbow-headline em { color: var(--accent); font-style: italic; }
.rainbow-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 3rem;
}
.rainbow-poem {
  border-top: 1px solid var(--hairline);
  padding-top: 2.5rem;
}
.rainbow-poem blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 1rem;
}
.rainbow-poem cite {
  font-family: var(--caps);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
}

/* ── Rainbow Bridge Slideshow ── */
.rainbow-gallery-wrap {
  width: 100%;
  overflow: hidden;
  margin-top: 3.5rem;
}
.rainbow-gallery-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: rainbow-scroll 42s linear infinite;
}
.rainbow-gallery-track:hover { animation-play-state: paused; }
@keyframes rainbow-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.rainbow-img-card {
  width: clamp(180px, 20vw, 280px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--deep);
  filter: grayscale(25%);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.rainbow-img-card:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}
.rainbow-img-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .rainbow-gallery-track { animation: none; overflow-x: auto; }
}

/* ══════════════════════════════════════════════════════════════
   PHILOSOPHY SECTION (Services)
   ══════════════════════════════════════════════════════════════ */
.philosophy-section {
  background: var(--bg-alt);
  padding: 6rem 6vw;
}
.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
.philosophy-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.55;
  color: var(--text);
  margin: 1.5rem 0 1.25rem;
}
.philosophy-text em { color: var(--accent); font-style: normal; font-weight: 700; }
.philosophy-cite {
  font-family: var(--caps);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
}
.philosophy-pillars {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 4rem;
}
.pillar {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0 1rem;
  align-items: start;
}
.pillar-icon {
  color: var(--accent);
  font-size: 0.8rem;
  padding-top: 0.15rem;
}
.pillar-label {
  font-family: var(--caps);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.pillar p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  grid-column: 2;
}

/* ══════════════════════════════════════════════════════════════
   SERVICE DETAIL SECTIONS (Services)
   ══════════════════════════════════════════════════════════════ */
.svc-detail {
  padding: 7rem 6vw;
  background: var(--bg);
  scroll-margin-top: 80px;
}
.svc-detail--alt { background: var(--bg-alt); }
.svc-detail-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.svc-detail-inner--reverse {
  grid-template-columns: 1.2fr 1fr;
}
.svc-detail-inner--reverse .svc-detail-img-col { order: 2; }
.svc-detail-inner--reverse .svc-detail-text { order: 1; }
.svc-detail-img-col { position: relative; }
.svc-detail-img-col img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.svc-detail-num-badge {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 56px; height: 56px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.svc-detail-headline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.svc-detail-target {
  font-family: var(--caps);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
  border-left: 2px solid var(--accent);
  padding: 0.2rem 0 0.2rem 0.75rem;
  display: inline-block;
}
.svc-detail-body p {
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.svc-list {
  margin: 0.75rem 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.svc-list li {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
  list-style-type: none;
  padding-left: 1rem;
  position: relative;
}
.svc-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.svc-detail-sub {
  background: var(--accent-pale);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.svc-detail-sub strong {
  display: block;
  font-family: var(--caps);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.svc-detail-sub p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}
.svc-detail-info {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  padding: 0.75rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 1.75rem;
}
.svc-detail-info strong { color: var(--text); font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { border-right: 1px solid var(--hairline) !important; }
  .service-card:nth-child(2n) { border-right: none !important; }
  .service-card:nth-last-child(-n+2) { border-bottom: none; }
  .service-card:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--hairline); }

  .cert-grid { grid-template-columns: 1fr; border-top: none; }
  .cert-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0 !important;
  }
  .cert-card:last-child { border-bottom: none; }

  .philosophy-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .philosophy-pillars { padding-top: 0; flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .pillar { flex: 1 1 200px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { min-height: 60vw; }
  .hero-left { padding: 5rem 1.5rem 4rem; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .news-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .locations-grid { grid-template-columns: 1fr; border-top: none; }
  .location-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0 !important;
  }
  .location-card:last-child { border-bottom: none; }

  /* Page hero responsive */
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-img-wrap { min-height: 40vw; order: -1; }
  .page-hero-inner { padding: 4rem 1.5rem 3rem; }
  .page-hero--split { grid-template-columns: 1fr; }
  .page-hero-split-left { padding: 4rem 1.5rem 3rem; }
  .page-hero-split-right { min-height: 45vw; }
  .page-hero-split-img--top,
  .page-hero-split-img--bottom { flex: 1 0 50%; }

  /* Team responsive */
  .team-inner,
  .team-inner--left,
  .team-inner--right { grid-template-columns: 1fr; gap: 3rem; }
  .team-inner--reverse .svc-detail-img-col { order: 0; }
  .team-photo-badge { right: 0; }

  /* Svc detail responsive */
  .svc-detail-inner,
  .svc-detail-inner--reverse { grid-template-columns: 1fr; gap: 3rem; }
  .svc-detail-inner--reverse .svc-detail-img-col { order: 0; }
  .svc-detail-inner--reverse .svc-detail-text { order: 0; }
  .svc-detail-num-badge { left: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    border-bottom: 1px solid var(--hairline);
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .nav-cta { display: none; }

  /* Quote-Badge auf Mobilgeräten: nach 7 s sanft ausblenden */
  @keyframes hero-badge-out {
    0%, 78% { opacity: 1; }
    100%    { opacity: 0; }
  }
  .hero-badge {
    animation: hero-badge-out 9s ease-in forwards;
    pointer-events: none;
  }
}
@media (max-width: 600px) {
  .nav { padding: 0 1.25rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .services { padding: 4.5rem 1.5rem; }
  .about-section { padding: 4.5rem 1.5rem; }
  .news-section { padding: 4.5rem 1.5rem; }
  .locations { padding: 5rem 1.5rem; }
  .quote-full { padding: 4rem 1.5rem; }
  .contact-strip { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; }
  .service-card { border-bottom: 1px solid var(--hairline); }
  .service-card:last-child { border-bottom: none; }
  .gallery { padding: 4.5rem 0; }
  .gallery-head, .gallery-description { padding: 0 1.5rem; }
  .gallery-track-wrap { padding: 0 1.5rem 1rem; }
  .hero-badge { left: 1rem; right: 1rem; max-width: none; padding-left: 1.5rem; bottom: 1rem; }
  .about-image-wrap::after { left: 0; }
  .news-image-wrap::after { left: 0; }
}
