/* ============================================
   FENG-GIRO — Spirituelle Finanzberatung
   Stylesheet
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --teal:       #0f3f3e;
  --teal-mid:   #1a5c5b;
  --teal-light: #2d7d7b;
  --gold:       #c9a24d;
  --gold-light: #e4c880;
  --gold-dim:   #9e7c35;
  --link:       #2d82b7;
  --parchment:  #f4f3ef;
  --parchment-dark: #ece9e1;
  --text-dark:  #1a1a17;
  --text-mid:   #3d3d36;
  --text-muted: #7a7a6e;
  --text-light: #d0d0cc;
  --ink:          #1c2b2a;

  --font-serif: 'Georgia', serif;
  --font-sans:  'OpenSans', sans-serif;

  --max-w: 860px;
  --section-pad: 5rem 1.5rem;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--parchment);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ---- Texture overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--teal);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; font-weight: 500; }

p  { margin-bottom: 1rem; }
a  { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dim); }

.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }
.muted { color: var(--text-muted); }
.gold  { color: var(--gold); }

/* ---- Gold divider ---- */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem auto;
  max-width: 220px;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: .15em;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.divider::after { background: linear-gradient(to left, transparent, var(--gold)); }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.8rem;
  display: block;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(244, 243, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 77, 0.2);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow .3s;
}
header.scrolled { box-shadow: 0 2px 20px rgba(15,63,62,.08); }

.header-logo {
  height: 38px;
  width: auto;
  display: block;
  transition: transform .25s ease;
}
.header-logo:hover { transform: scale(1.1); }
/* Fallback if no logo image */
.header-logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: .04em;
}
.header-logo-text span { color: var(--gold); }

nav { display: flex; gap: 2rem; align-items: center; }
nav a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color .2s;
}
nav a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: var(--gold) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  transition: background .2s, color .2s !important;
}
.nav-cta:hover { background: var(--teal-mid) !important; color: var(--gold-light) !important; }


/* Back-Link auf Unterseiten */
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--gold); }
.nav-back::before { content: '←'; font-size: 1rem; }

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(15,63,62,.06) 0%, transparent 70%),
    var(--parchment);
}

/* decorative circles */
#hero::before,
#hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(216, 176, 89, 0.22);
  pointer-events: none;
}
#hero::before {
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: breathe 8s ease-in-out infinite;
}
#hero::after {
  width: 850px; height: 850px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: breathe 8s ease-in-out infinite .5s;
}

@keyframes breathe {
  0%, 100% { opacity: .6; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;  transform: translate(-50%,-50%) scale(1.04); }
}

.hero-inner { position: relative; z-index: 2; max-width: 720px; margin: auto; }

.hero-logo-wrap { margin-bottom: 2.5rem; }
.hero-logo {
  height: clamp(140px, 16vw, 250px);
  width: auto;
  margin: auto;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(15,63,62,.12));
}

/* Ornament above headline */
.hero-ornament {
  display: block;
  font-size: 1.6rem;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: fadeDown .8s ease both;
}

#hero h1 {
  animation: fadeDown .8s ease .1s both;
  margin-bottom: 1.5rem;
}

.hero-subline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  animation: fadeDown .8s ease .2s both;
  line-height: 1.8;
}

.hero-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--parchment);
  text-align: right;
  line-height: 1.5;
}

.hero-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.4rem;
}

.cta-btn {
  display: inline-block;
  background: var(--teal);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border-radius: 2px;
  border: 1px solid var(--teal);
  transition: background .25s, color .25s, box-shadow .25s, transform .2s;
  animation: fadeDown .8s ease .3s both;
  cursor: pointer;
}
.cta-btn:hover {
  background: transparent;
  color: var(--teal);
  box-shadow: 0 6px 30px rgba(15,63,62,.12);
  transform: translateY(-2px);
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-dim);
  font-size: 0.65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  animation: fadeDown .8s ease .6s both;
}
.scroll-cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: drip 2s ease-in-out infinite;
}
@keyframes drip {
  0%, 100% { opacity: .4; transform: scaleY(.7); transform-origin: top; }
  50%       { opacity: 1;  transform: scaleY(1); }
}

/* ============================================
   INTRO / KURZVORSTELLUNG
   ============================================ */
#intro {
  padding: var(--section-pad);
  background: var(--teal);
  color: var(--parchment);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#intro::before {
  content: '✦';
  position: absolute;
  font-size: 18rem;
  color: rgba(201,162,77,.04);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  line-height: 1;
}

#intro .section-label { color: var(--gold); }
#intro h2 { color: var(--parchment); margin-bottom: 1.5rem; }
#intro p {
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(244,243,239,.85);
  line-height: 1.9;
}
#intro p + p { margin-top: .8rem; }

/* ============================================
   ABOUT
   ============================================ */
#about {
  padding: var(--section-pad);
  max-width: var(--max-w);
  margin: auto;
  text-align: center;
}
#about h2 { margin-bottom: 1.2rem; }
#about .about-text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-mid);
  line-height: 2;
  max-width: 680px;
  margin: 0 auto;
}
#about .about-text p + p { margin-top: 1rem; }

/* Decorative quote bar */
.quote-bar {
  margin: 3rem auto;
  padding: 2rem 2.5rem;
  border-left: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  max-width: 560px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--teal);
  line-height: 1.7;
  position: relative;
}
.quote-bar::before {
  content: '❝';
  position: absolute;
  top: -0.5rem; left: 1.5rem;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}

/* ============================================
   LEISTUNGEN
   ============================================ */
#leistungen {
  padding: var(--section-pad);
  background: var(--parchment-dark);
  position: relative;
}
#leistungen .section-inner {
  max-width: var(--max-w);
  margin: auto;
}
#leistungen .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
#leistungen .intro-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-mid);
  max-width: 560px;
  margin: 1rem auto 0;
  line-height: 1.9;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--parchment);
  border: 1px solid rgba(201,162,77,.25);
  padding: 2.2rem 2rem;
  position: relative;
  transition: box-shadow .3s, transform .3s;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height .4s ease;
}
.card:hover { box-shadow: 0 10px 40px rgba(15,63,62,.1); transform: translateY(-4px); }
.card:hover::after { height: 100%; }

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  display: block;
}
.card h3 { margin-bottom: 0.3rem; }
.card .card-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-dim);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: block;
}
.card p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 0.8rem; }
.card ul {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-mid);
}
.card ul li {
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
}
.card ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 0.45rem;
}

/* ============================================
   LEISTUNGEN – Feature Card + Sub-Grid
   In style.css einfügen, bestehende
   .leistungen-grid / .card Regeln ergänzen
   ============================================ */

/* Oberes Feature-Grid: 1 Spalte */
.leistungen-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Feature-Card: volle Breite */
.card-feature {
  padding: 0;
  overflow: hidden;
}

.card-feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}

.card-feature-text {
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-feature-text .card-icon {
  font-size: 1.6rem;
  line-height: 1;
}

/* Kleines Label über dem Titel */
.card-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim, #9e7c35);
}

.card-feature-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--teal);
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}

.card-feature-text .card-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-feature-text p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0.2rem 0 0;
}

.card-feature-text ul {
  margin: 0.2rem 0 0 1.1rem;
  padding: 0;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* CTA-Button in der Feature-Card */
.btn-feature {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,63,62,0.25);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  align-self: flex-start;
}

.btn-feature:hover {
  color: var(--gold-dim, #9e7c35);
  border-color: var(--gold-dim, #9e7c35);
}

/* Bild-Seite der Feature-Card */
.card-feature-image {
  position: relative;
  overflow: hidden;
  background: var(--parchment-dark, #ece9e1);
}

.card-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-feature:hover .card-feature-image img {
  transform: scale(1.03);
}

/* Placeholder wenn noch kein Bild vorhanden */
.card-feature-image:not(:has(img[src])),
.card-feature-image img[src=""],
.card-feature-image img:not([src]) {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Drei Sub-Cards in einer Reihe */
.leistungen-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ============================================
   LEISTUNGEN – Feature Card + Sub-Grid
   In style.css einfügen, bestehende
   .leistungen-grid / .card Regeln ergänzen
   ============================================ */

/* Oberes Feature-Grid: 1 Spalte */
.leistungen-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Feature-Card: volle Breite */
.card-feature {
  padding: 0;
  overflow: hidden;
}

.card-feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}

.card-feature-text {
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-feature-text .card-icon {
  font-size: 1.6rem;
  line-height: 1;
}

/* Kleines Label über dem Titel */
.card-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim, #9e7c35);
}

.card-feature-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--teal);
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}

.card-feature-text .card-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-feature-text p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0.2rem 0 0;
}

.card-feature-text ul {
  margin: 0.2rem 0 0 1.1rem;
  padding: 0;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* CTA-Button in der Feature-Card */
.btn-feature {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,63,62,0.25);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  align-self: flex-start;
}

.btn-feature:hover {
  color: var(--gold-dim, #9e7c35);
  border-color: var(--gold-dim, #9e7c35);
}

/* Bild-Seite der Feature-Card */
.card-feature-image {
  position: relative;
  overflow: hidden;
  background: var(--parchment-dark, #ece9e1);
}

.card-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-feature:hover .card-feature-image img {
  transform: scale(1.03);
}

/* Placeholder wenn noch kein Bild vorhanden */
.card-feature-image:not(:has(img[src])),
.card-feature-image img[src=""],
.card-feature-image img:not([src]) {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Drei Sub-Cards in einer Reihe */
.leistungen-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Card mit Banner-Bild oben */
.card-with-banner {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-banner {
  width: 100%;
  height: 0;
  padding-bottom: 33%;   /* ca. 1/3 der Gesamthöhe bei typischem Inhalt */
  position: relative;
  overflow: hidden;
  background: var(--parchment-dark, #ece9e1);
  flex-shrink: 0;
}

.card-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-with-banner:hover .card-banner img {
  transform: scale(1.04);
}

/* Platzhalter-Darstellung wenn kein Bild vorhanden */
.card-banner::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted, #7a7a6e);
  opacity: 0.5;
  pointer-events: none;
}

.card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 820px) {
  .card-feature-content {
    grid-template-columns: 1fr;
  }
  .card-feature-image {
    height: 220px;
    order: -1; /* Bild oben auf Mobile */
  }
}

@media (max-width: 640px) {
  .leistungen-sub-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 820px) {
  .card-feature-content {
    grid-template-columns: 1fr;
  }
  .card-feature-image {
    height: 220px;
    order: -1; /* Bild oben auf Mobile */
  }
}

@media (max-width: 640px) {
  .leistungen-sub-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FAQ
   ============================================ */
#faq {
  padding: var(--section-pad);
  max-width: var(--max-w);
  margin: auto;
}
#faq .section-header { text-align: center; margin-bottom: 3rem; }

.faq-list { max-width: 680px; margin: auto; }

.faq-item {
  border-bottom: 1px solid rgba(201,162,77,.2);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--teal);
  user-select: none;
  transition: color .2s;
}
.faq-question:hover { color: var(--gold-dim); }
.faq-arrow {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform .35s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-answer p {
  padding: 0 0 1.3rem;
  color: var(--text-mid);
  font-size: 0.92rem;
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 200px; }

/* ============================================
   CTA SECTION
   ============================================ */
#cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(201,162,77,.2);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
#cta-section h2 { color: var(--parchment); margin-bottom: 1rem; }
#cta-section p {
  color: rgba(244,243,239,.75);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2rem;
}
.cta-btn-light {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: background .25s, color .25s;
  cursor: pointer;
}
.cta-btn-light:hover { background: var(--gold); color: var(--teal); }

/* ============================================
   KONTAKT SECTION
   ============================================ */

/* ---- Kontakt-Button bei Leistungen ---- */

.card-contact-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

.card-contact-btn {
  width: 100%;
  margin-top: 1.2rem;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold-dim);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.card-contact-btn:hover {
  background: var(--gold);
  color: var(--teal);
}

/* ---- Kontaktformular ---- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--parchment);
  border: 1px solid rgba(201,162,77,.3);
  border-radius: 2px;
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,77,.1);
}
.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}
.form-check input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.form-check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cf-feedback {
  font-size: 0.88rem;
  margin-bottom: 1rem;
  min-height: 1.2rem;
  font-style: italic;
}
.cf-feedback.success { color: var(--teal-mid); }
.cf-feedback.error   { color: #b94a4a; }

/* Captcha */
.captcha-box {
  background: var(--parchment-dark);
  border: 1px solid rgba(201,162,77,.2);
  border-radius: 6px;
  padding: 1.2rem 1.2rem 1rem;
  margin-bottom: 1.1rem;
}
.captcha-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}
.captcha-question {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin: 0 0 .8rem;
}
.captcha-radios {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
}
.captcha-radios label {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-dark);
  cursor: pointer;
}
.captcha-radios input[type="radio"] {
  accent-color: var(--gold);
}
.captcha-input {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--parchment);
  border: 1px solid rgba(201,162,77,.3);
  border-radius: 2px;
  padding: 0.55rem 0.9rem;
  width: 6rem;
  text-align: center;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.captcha-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,77,.1);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #0a2a29;
  color: rgba(244,243,239,.5);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.8;
}

footer p + p { margin-top: .5rem; }
.disclaimer {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(201,162,77,.25);
  font-style: italic;
  font-size: 0.75rem;
  color: rgba(244,243,239,.55);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

footer a {
  color: var(--text-light);
  font-weight: 400;
  text-decoration: none;
}

footer a:hover {color: var(--gold);}

.footer-social { margin-top: .3rem; }

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(244,243,239,.55);
  transition: color .3s ease, transform .3s ease;
}

.footer-instagram:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.footer-instagram:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer-instagram:active {
  transform: translateY(0);
}

.footer-instagram svg {
  flex-shrink: 0;
}

.footer-instagram span {
  font-size: 0.8rem;
  letter-spacing: .02em;
}

/* ============================================
   Legal Modals (Impressum & Datenschutz)
   ============================================ */

.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    overflow-y: auto;
    padding: 20px;
}

.legal-modal.active {
    display: block;
}

.legal-content {
    background: white;
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.legal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.legal-close:hover {
    color: var(--teal);
}

.legal-content h2 {
    color: var(--teal);
    margin-bottom: 30px;
    font-size: 2em;
}

.legal-content h3 {
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
        margin: 20px auto;
    }
    
    .legal-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   PARALLAX BANNER
   ============================================ */
.parallax-banner {
  position: relative;
  height: 420px;
  background-image: url('../img/banner_large.jpg');
  /*background-image: url('https://images.unsplash.com/photo-1504701954957-2010ec3bcec1?w=1600&q=80');*/
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 63, 62, 0.55) 0%,
    rgba(15, 63, 62, 0.72) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.parallax-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--parchment);
  text-align: center;
  max-width: 600px;
  line-height: 1.7;
  letter-spacing: .01em;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s ease, transform .9s ease;
}
.parallax-banner.visible .parallax-quote {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .parallax-banner {
    background-attachment: scroll;
    background-position: center 30%;
  }
}

/* ============================================
   PRODUCT SECTION
   ============================================ */

.pt-section {
  background: #fff;
  padding: 5rem 2rem;
}
.pt-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pt-head {
  text-align: center;
  margin-bottom: 3rem;
}
.pt-head .pt-ornament {
  display: block;
  color: var(--gold, #c9a24d);
  font-size: .9rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.pt-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: normal;
  color: var(--teal, #0f3f3e);
  margin-bottom: .6rem;
}
.pt-head p {
  color: #6b7b79;
  font-size: .95rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}
 
.pt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
 
.pt-card {
  border: 1px solid rgba(201,162,77,.2);
  border-radius: 3px;
  padding: 1.5rem 1.4rem;
  transition: box-shadow .2s, transform .2s;
  background: var(--parch, #f4f3ef);
}
.pt-card:hover {
  box-shadow: 0 6px 24px rgba(15,63,62,.1);
  transform: translateY(-2px);
}
.pt-card-icon { font-size: 1.8rem; margin-bottom: .7rem; display: block; }
.pt-card h3 {
  font-size: .95rem;
  color: var(--teal, #0f3f3e);
  margin-bottom: .3rem;
  font-weight: bold;
}
.pt-card .pt-tagline {
  font-size: .75rem;
  color: var(--gold, #c9a24d);
  font-style: italic;
  margin-bottom: .6rem;
}
.pt-card p {
  font-size: .82rem;
  color: #4a5a58;
  line-height: 1.6;
  margin-bottom: .9rem;
}
.pt-card .pt-price {
  font-weight: bold;
  color: var(--teal, #0f3f3e);
  font-size: 1rem;
}

/* Bildbereich für pt-card */
.pt-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 2px 2px 0 0;
  margin: -1.5rem -1.4rem 1rem;   /* negiert das Card-Padding oben/seitlich */
  width: calc(100% + 2.8rem);     /* füllt Kartenbreite inkl. Padding */
}
.pt-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.pt-card:hover .pt-card-img img {
  transform: scale(1.05);
}
.pt-card-icon { display: none; }
 
.pt-cta-wrap {
  text-align: center;
}
.pt-cta {
  display: inline-block;
  background: var(--teal, #0f3f3e);
  color: #fff;
  text-decoration: none;
  padding: .85rem 2.4rem;
  font-size: .9rem;
  font-family: inherit;
  border-radius: 2px;
  letter-spacing: .04em;
  transition: background .2s;
}
.pt-cta:hover { background: #0d3331; }
.pt-cta span { color: var(--gold, #c9a24d); }
 
@media (max-width: 600px) {
  .pt-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .pt-grid { grid-template-columns: 1fr; }
}

/* ============================================
   MOOD GALLERY
   ============================================ */
#gallery {
  padding: 0;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 320px;
  gap: 4px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--teal);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease, filter .7s ease;
  filter: saturate(.75) brightness(.9);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1.5rem 1rem;
  background: linear-gradient(to top, rgba(15,63,62,.75) 0%, transparent 100%);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--parchment);
  letter-spacing: .06em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}
.gallery-item:hover::after { transform: scaleX(1); }

/* Variante für höheres Galerie-Element (aktuell gleiche Höhe wie Geschwister) */
.gallery-item--tall { grid-row: span 1; }

/* ============================================
   Burger Button
   ============================================ */

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--teal);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .3s ease, opacity .3s ease;
}

/* Burger → X */
.burger.open span:nth-child(1) { transform: translateY(8.25px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8.25px) rotate(-45deg); }


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
  :root { --section-pad: 3.5rem 1.2rem; }
  header {  padding: 0.6rem 1rem; 
            overflow: visible;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            background: rgba(244, 243, 239, 1);
          }

  /*nav { gap: 1rem; }
  nav a:not(.nav-cta) { display: none; }*/

  .leistungen-grid { grid-template-columns: 1fr; }
  .quote-bar { padding: 1.5rem 1.5rem; }
    .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .parallax-banner {
    height: 300px;
    background-attachment: scroll;
  }

  .burger { display: flex; }

  .nav-cta {
    background: none;
    color: var(--teal) !important;
    padding: 0;
    border-radius: 0;
    font-size: 1.1rem;
    letter-spacing: .15em;
  }

  .nav-cta:hover {
    background: none !important;
    color: var(--gold-dim) !important;
  }

  nav {
    display: none;
    position: fixed;
    top: 57px; 
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--parchment);
    backdrop-filter: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 950;
  }

  nav.open { 
    display: flex; 
  }

  nav a {
    font-size: 1.1rem;
    letter-spacing: .15em;
    color: var(--text-mid);
  }
  nav a:not(.nav-cta) { display: block; }
}


  