@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #72928a;
  --color-secondary: #efe7df;
  --color-accent: #d1a058;
  --color-bg1: #e7d9cb;
  --color-bg2: #fff9f1;
  --color-text: #000000;
  --color-text-light: #5a5a5a;
  --font-heading: 'Noto Serif', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Offset für fixiertes Header-Menü (~115px) bei Anker-Links */
[id] {
  scroll-margin-top: 120px;
}

@media (max-width: 900px) {
  [id] { scroll-margin-top: 75px; }
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg2);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: #b8893d;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: #fff;
}

section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

/* Butterfly font via local @font-face - placeholder until font file is added */
@font-face {
  font-family: 'Butterfly';
  src: local('Butterfly');
  font-display: swap;
}

.font-deco {
  font-family: 'Butterfly', cursive;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg1);
  border-top: 2px solid var(--color-primary);
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-text);
}

#cookie-banner.hidden {
  display: none;
}

#cookie-banner p {
  flex: 1;
  min-width: 200px;
}

#cookie-banner button {
  padding: 0.6rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
}

/* Testimonial Banner */
.testimonial-banner-wrapper {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.banner-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll 50s linear infinite;
  width: max-content;
}

.banner-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .banner-track {
    animation-duration: 200s;
  }
}

.testimonial-card {
  flex-shrink: 0;
  width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  background: #fff;
}

.testimonial-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 240px;
  }
}

/* Instagram Grid */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .instagram-grid .ig-card:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 600px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .instagram-grid .ig-card:nth-child(n+3) {
    display: none;
  }
}

.ig-card {
  aspect-ratio: 1;
  background: var(--color-bg1);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
  transition: opacity 0.2s;
}

.ig-card:hover {
  opacity: 0.85;
}

/* Instagram Widget Footer-Overlap */
.ig-overlap-wrapper {
  position: relative;
  z-index: 2;
  margin-bottom: -160px;
}

@media (max-width: 900px) {
  .ig-overlap-wrapper {
    padding: 0 1rem;
  }
}

/* Solution tiles */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }
}

.solution-tile {
  background: var(--color-secondary);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: left;
}

.solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-bg1);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.solution-tile h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #000000;
}

/* About preview */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  display: block;
}

.about-signature {
  height: 220px;
  width: auto;
  display: block;
  /* Negativer Margin kompensiert den transparenten Leerraum im Bild */
  margin-top: -55px;
  margin-bottom: -55px;
}

/* Freebie section */
.freebie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .freebie-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.freebie-mockup {
  background: var(--color-bg1);
  border-radius: 12px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-align: center;
  padding: 1rem;
}

.freebie-list {
  list-style: none;
  margin: 0;
}

.freebie-list li {
  padding: 0.75rem 0;
  padding-left: 2.25rem;
  position: relative;
  font-size: 1.175rem;
  line-height: 1.6;
}

.freebie-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 700;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #ede8e2;
}

/* Foto füllt den gesamten Hero-Hintergrund vollflächig */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  display: block;
  z-index: 0;
}

/* Wrapper für den Text-Inhalt */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  /* oberer Abstand für den transparenten Header */
  padding: 9rem 1.5rem 5rem;
}

/* Text auf der linken Seite – nutzt den hellen Bereich des Fotos */
.hero-content {
  max-width: 48%;
}

.hero h1 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  color: #000000;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.hero-subline {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 2rem;
  font-style: italic;
  line-height: 1.7;
}

/* ── Name/Wort Unterstreichung (Highlight-Stil, hinter Buchstaben) ── */
.name-underline {
  position: relative;
  isolation: isolate;
}

.name-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 62%;
  height: 16px;
  background: #d1a058;
  z-index: -1;
}

/* Mobile/Desktop utility classes */
.mobile-br  { display: none; }
.mobile-only { display: none; }
.desktop-only { display: inline; }

@media (max-width: 900px) {
  .mobile-br   { display: inline; }
  .mobile-only { display: inline; }
  .desktop-only { display: none; }
}

/* ── Hero Mobile ── */
@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding-bottom: 0;
    position: relative;
  }

  /* Overlay bleibt fest unten – unabhängig vom Textblock */
  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(237,232,226,0.85) 40%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  }

  .hero-photo {
    object-position: 55% top;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    padding: 0.5rem 1.5rem 3.5rem;
    background: none;
    margin-bottom: 12vh;
  }

  .hero-content {
    max-width: 100%;
  }
}

/* Problem section */
.problem-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.problem-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 1.75rem;
}

.problem-list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
  margin: 0 0 2rem 0;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: transparent;
  border: none;
  padding: 0;
  line-height: 1.65;
  font-size: 1rem;
  color: var(--color-text);
}

/* Teal-grüner Kreis mit Blitz */
.problem-list li::before {
  content: '↯';
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

/* Vision section */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.vision-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.vision-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.vision-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 0;
}

.vision-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.65;
}

.vision-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

/* Single testimonial */
.single-testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.single-testimonial img {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.single-testimonial-placeholder {
  background: var(--color-secondary);
  border-radius: 12px;
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Quote Testimonial Section (Abschnitt 7 & 9) */
.quote-card {
  position: relative;
  overflow: visible;
  background: #ffffff;
  border-radius: 8px;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.quote-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.quote-open,
.quote-close {
  position: absolute;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12rem;
  line-height: 1;
  color: #72928a;
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
  z-index: 3;
}

.quote-open {
  top: -4rem;
  left: -4rem;
}

.quote-close {
  bottom: -7rem;
  right: -4rem;
}

/* Certificate section */
.cert-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.cert-item {
  background: transparent;
  flex: 1 1 0;
  text-align: center;
  padding: 0 1rem;
}

.cert-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .cert-row {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .cert-item {
    flex: 0 0 calc(50% - 0.5rem);
    padding: 0 0.5rem;
  }
}

/* Section labels */
.section-label {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Text center utility */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }

/* Nav */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.2;
}

.site-logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--color-bg2);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 200;
    font-size: 1.1rem;
  }
  .nav-links.open { display: flex; }
}

/* Footer */
.site-footer {
  background: var(--color-bg1);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  list-style: none;
}

.footer-links a {
  color: var(--color-text-light);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-primary);
}

/* Divider */
.divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 1rem auto 2rem;
}

.divider.left {
  margin-left: 0;
}
