/* =========================
   Basis / Theme
========================= */
:root{
  --bg: #ffffff;
  --text: #111111;
  --muted: #5c5c5c;

  /* Lila wie im Screenshot (anpassbar) */
  --accent: #c071bc;
  --accent-strong: #a95fbc;

  --card-bg: #ffffff;
  --border: #e9e9ee;

  --shadow: 0 10px 25px rgba(0,0,0,.08);
  --radius: 14px;

  --container: 1100px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html:focus-within { scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

.container{
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Skip link für Barrierefreiheit */
.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus{ left: 0; }


/* =========================
   Hero (optional)
========================= */
.hero{
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 220px at 50% 0%, color-mix(in srgb, var(--accent) 18%, #fff), transparent 60%),
    linear-gradient(#fff, #fff);
}

.hero-inner{
  padding: 2.5rem 0 2rem;
}

.hero-content{
  max-width: 720px;
}

.hero h1{
  margin: 0 0 .75rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.hero p{
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* =========================
   Section / Titel
========================= */
.section{
  padding: 3rem 0 4rem;
}

.section-title{
  text-align: center;
  margin: 0 0 2rem;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  letter-spacing: .8px;
  font-weight: 900;
}

/* =========================
   Cards Layout (wie Screenshot)
========================= */
.cards{
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;


  justify-items: center;
}

@media (min-width: 760px){
  .cards{
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }
}

.card{
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;


  width: 100%;
  max-width: 400px;
}

.card-img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.card-body{
  padding: 1.1rem 1.1rem 1.3rem;
  text-align: center;
}

.card-title{
  margin: .25rem 0 .6rem;
  font-weight: 900;
  letter-spacing: .6px;
}

.card-text{
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .98rem;
}

/* =========================
   Card Hover Effekt
========================= */
.card{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card-img{
  transition: transform .25s ease;
}

.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,.14);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.card:hover .card-img{
  transform: scale(1.03);
}

/* Tastatur-Fokus (Barrierefreiheit) */
.card:focus-within{
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,.14);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}


/* =========================
   Buttons (lila wie Screenshot)
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.05rem;
  border-radius: 999px;
  font-weight: 800;
  background: var(--accent);
  color: #000;
  border: 2px solid transparent;
  transition: transform .06s ease, background .15s ease, border-color .15s ease;
  margin: 0 auto;
}

.btn:hover{ background: var(--accent-strong); }
.btn:active{ transform: translateY(1px); }
.btn:focus-visible{
  outline: none;
  border-color: #000;
}

.btn-small{
  padding: .65rem 1.25rem;
  min-width: 120px;
}

.btn-ghost{
  background: transparent;
  border-color: color-mix(in srgb, var(--accent) 55%, #fff);
  color: var(--text);
}
.btn-ghost:hover{
  background: color-mix(in srgb, var(--accent) 16%, #fff);
}

.card .btn{
  margin: 0 auto;
}

/* =========================
   Über mich Preview Section
========================= */
.about-preview{
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.about-grid{
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
}

.about-image{
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
}
.about-image img{
  border-radius: 14px;
}

.about-content{
  width: 100%;
  max-width: 520px;
  text-align: left;
}

.about-title{
  margin: 0 0 .75rem;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 900;
  letter-spacing: .3px;
}

.about-text{
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Desktop Layout */
@media (min-width: 860px){
  .about-grid{
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
  }

  .about-content{
    max-width: none;
  }

  .about-image{
    max-width: none;
  }
}

.about-btn{
  margin-top: 1.5rem;
  display: flex;
  justify-content: center; 
}


/* =========================
   Partnerseiten Bereich
========================= */
.partner-section{
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.partner-inner{
  text-align: center;
}

.partner-title{
  margin: 0 0 2.25rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: .8px;
}

.partner-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.partner-img{
  width: min(260px, 85%);
  height: auto;
  display: block;
  object-fit: contain;
}

/* Button mittig */
.partner-btn{
  margin: 0 auto;
}


/* =========================
   Über mich – Split Layout (2 Bilder + Text geteilt)
========================= */
.about-split-grid{
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}

/* Bilder-Container kleiner + mittig */
.about-img1,
.about-img2{
  width: 100%;
  max-width: 420px;      /* <- Größe einstellen */
  justify-self: center;  /* mittig im Grid */
}

/* Bilder allgemein */
.about-split-grid img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;

  border: 0;
  border-radius: 18px;      /* runde Ecken */
  box-shadow: var(--shadow);
}

/* Desktop: 2 Spalten, 2 Reihen */
@media (min-width: 900px){
  .about-split-grid{
    grid-template-columns: 1fr 1.2fr;
    grid-template-areas:
      "img1  text1"
      "text2 img2";
    align-items: start;
  }

  .about-img1{ grid-area: img1; }
  .about-text1{ grid-area: text1; }
  .about-text2{ grid-area: text2; }
  .about-img2{ grid-area: img2; }
}

/* =========================
   Text mittig ausrichten
========================= */
.about-text1,
.about-text2{
  text-align: center;
}

/* Absätze optisch schöner (nicht zu breit) */
.about-text1 .about-page-text,
.about-text2 .about-page-text{
  max-width: 560px;
  margin: 0 auto 1rem;
}

/* Text Styles */
.about-page-title{
  margin: 0 0 1rem;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.about-page-text{
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 1rem;
}

/* =========================
   Buttons
========================= */
.about-page-actions{
  margin-top: 1.5rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center; /* Buttons mittig */
}

/* =========================
   Zertifikat Fix (komplett sichtbar)
========================= */
.cert-img{
  object-fit: contain !important;
  background: #fff;
  padding: 10px;
}

/* =========================
   Service Seite – Layout Bausteine
   (in stylesheet.css ergänzen)
========================= */
.service-grid{
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px){
  .service-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-grid-3{
  grid-template-columns: 1fr;
}

@media (min-width: 900px){
  .service-grid-3{
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.service-title{
  margin: 0 0 .75rem;
  font-weight: 900;
  letter-spacing: .3px;
}

.service-sub{
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.service-subtitle{
  margin: 0 0 .5rem;
  font-weight: 900;
  font-size: 1rem;
}

.service-list{
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-note{
  margin: 1rem 0 0;
  color: var(--muted);
  text-align: center;
}

.service-note-inline{
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.muted{
  color: var(--muted);
}

.price-table-wrap{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.price-table{
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td{
  padding: .9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--border);
}

.price-table thead th{
  border-top: 0;
  font-weight: 900;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
}

.price-table tbody th{
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 700px){
  /* Mobile: Tabelle als Cards pro Zeile */
  .price-table,
  .price-table thead{
    display: none;
  }

  /* Alternative Anzeige (nur wenn du sie willst):
     Wenn du eine mobile "Preis-Cards" Variante möchtest, sag Bescheid,
     dann baue ich dir die dazu passende HTML-Struktur. */
}

.service-cta{
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

/* =========================
   Service – Zusatzbereiche (Thalasso / Extra)
========================= */
.split-feature{
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.split-feature-grid{
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px){
  .split-feature-grid{
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.split-box{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

/* wenn es nur ein Block ist (Extra-Leistungen) */
.single-box{
  max-width: 900px;
  margin: 0 auto;
}

/* Preis-Liste links */
.price-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .9rem;
}

.price-list li{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.price-list li:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}

.price-list span{
  font-weight: 700;
}

.price-list strong{
  font-weight: 900;
  color: var(--text);
}


/* =========================
   Legal Pages (Impressum/Datenschutz)
========================= */
.legal-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.legal-title{
  margin: 0 0 1.25rem;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 900;
}

.legal-grid{
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.legal-block h3{
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .2px;
}

.legal-block p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-block a{
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-actions{
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 900px){
  .legal-grid{
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================
   Galerie – Masonry/Pinterest Style (ohne JS)
========================= */
.masonry{
  column-count: 1;
  column-gap: 1.25rem;
}

@media (min-width: 650px){
  .masonry{ column-count: 2; }
}

@media (min-width: 980px){
  .masonry{ column-count: 3; }
}

.masonry-item{
  break-inside: avoid;
  margin: 0 0 1.25rem;
}

.masonry-link{
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.masonry-link:hover{
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0,0,0,.14);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.masonry-link img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.masonry-link figcaption{
  padding: .85rem 1rem;
  color: var(--muted);
  font-weight: 700;
  text-align: left;
}

/* Galerie: Button statt Link */
.masonry-btn{
  width: 100%;
  display: block;
  text-align: left;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;

  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.masonry-btn:hover{
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0,0,0,.14);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.masonry-btn img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.masonry-btn figcaption{
  padding: .85rem 1rem;
  color: var(--muted);
  font-weight: 700;
}

/* =========================
   Lightbox
========================= */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.is-open{
  display: block;
}

.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

.lightbox-content{
  position: relative;
  width: min(92vw, 980px);
  margin: 5vh auto;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
}

.lightbox-img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 75vh;
  background: #000;
}

.lightbox-caption{
  margin: 0;
  padding: 1rem 1.2rem 1.2rem;
  color: var(--muted);
  font-weight: 700;
}

.lightbox-close{
  position: absolute;
  top: .6rem;
  right: .8rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;

  background: color-mix(in srgb, var(--accent) 35%, #fff);
  color: #000;
}
.lightbox-close:hover{
  background: var(--accent);
}


/* =========================
   Kontakt – Bereich im Screenshot-Stil
   (in stylesheet.css ergänzen)
========================= */
.contact-hero{
  background: color-mix(in srgb, var(--accent) 35%, #fff);
  padding: 4rem 0 5rem;
}

.contact-hero-inner{
  max-width: 980px;
}

.contact-hero-title{
  text-align: center;
  margin: 0 0 1.75rem;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-panel{
  background: transparent;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-panel-head{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-pin{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #2f49ff;
}

.contact-pin-icon{
  width: 22px;
  height: 22px;
  fill: #fff;
}

.contact-panel-kicker{
  margin: 0;
  font-weight: 900;
}

.contact-panel-body{
  color: var(--text);
}

.contact-line{
  margin: .35rem 0;
  color: color-mix(in srgb, var(--text) 80%, #000);
}

.contact-link{
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 60%, #000);
}

.contact-link:hover{
  border-bottom-color: var(--accent-strong);
}

.contact-spacer{
  height: 1rem;
}

.contact-actions{
  margin-top: 1.75rem;
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* =========================
   Index: GoFundMe Box + 3 Bilder + Text
========================= */
.donation-box{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  max-width: 980px;
  margin: 0 auto 2rem;
}

.donation-title{
  margin: 0 0 .6rem;
  font-weight: 900;
  letter-spacing: .4px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
}

.donation-text{
  margin: 0 auto 1.2rem;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.donation-actions{
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 3 Bilder + Text */
.intro-grid{
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
  max-width: 980px;
  margin: 0 auto 2.25rem;
}

@media (min-width: 900px){
  .intro-grid{
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* =========================
   Index: Spendenbereich (Bild links, Text rechts)
========================= */
.donation-feature{
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
  align-items: center;

  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;

  max-width: 1100px;
  margin: 0 auto 2.5rem;
}

@media (min-width: 900px){
  .donation-feature{
    grid-template-columns: 1.1fr .9fr; /* Bild etwas größer */
    padding: 1.9rem;
  }
}

.donation-image img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

@media (max-width: 520px){
  .donation-image img{
    height: 220px;
  }
}

.donation-info{
  text-align: left;
}

.donation-title{
  margin: 0 0 .7rem;
  font-weight: 900;
  letter-spacing: .4px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.donation-text{
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 50ch;
}

.donation-actions{
  display: flex;
  gap: .75rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Mobile: Button mittig (optional schöner) */
@media (max-width: 700px){
  .donation-info{
    text-align: center;
  }
  .donation-text{
    margin-left: auto;
    margin-right: auto;
  }
  .donation-actions{
    justify-content: center;
  }
}
