/* =========================================================
   Chiaras Mobile Tierbetreuung – Stylesheet
   Farbwelt & Stil nach Design-Vorlage:
   warmes Creme/Beige, Altrosa, Salbeigrün, sanftes Gelb,
   elegante Serife + verspielte Schreibschrift, weiche Formen
   ========================================================= */

:root {
  /* Farben */
  --cream:        #faf6f0;
  --cream-2:      #f3ece2;
  --blush:        #f6e7e6;
  --blush-soft:   #f7dde2;
  --pink:         #e3899c;
  --pink-deep:    #d4708a;
  --pink-soft:    #f1c9d3;
  --sage:         #c2c9b2;
  --sage-deep:    #8f967b;
  --yellow:       #f4dc97;
  --yellow-soft:  #f9ecc4;
  --gray-circle:  #dcd8d0;
  --ink:          #4d4a44;   /* Überschriften */
  --body:         #6c675f;   /* Fließtext */
  --line:         #e7ded3;

  /* Typografie */
  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --script: 'Great Vibes', cursive;
  --sans:   'Poppins', 'Segoe UI', system-ui, sans-serif;

  --maxw: 1140px;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(120, 100, 90, .12);
  --shadow-sm: 0 6px 20px rgba(120, 100, 90, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--body);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--pink-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .4em;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.script { font-family: var(--script); color: var(--pink); font-weight: 400; }

/* ---- Abschnitts-Titel mit Pfoten-Trenner ---- */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head .script { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.paw-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; color: var(--sage-deep); margin: 14px 0 0;
}
.paw-divider::before, .paw-divider::after {
  content: ""; height: 1px; width: 70px; background: var(--line);
}
.paw-divider svg { width: 22px; height: 22px; opacity: .8; }

section { padding: 84px 0; }
section.alt { background: var(--cream-2); }

/* =========================================================
   Kopf / Navigation
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center;
  gap: 16px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand .logo-mark { width: 42px; height: 42px; color: var(--ink); flex: none; }
.brand .brand-text { font-family: var(--serif); line-height: 1; }
.brand .brand-text b { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 600; letter-spacing: .5px; }
.brand .brand-text span { font-family: var(--script); color: var(--pink); font-size: 1.35rem; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 12px; color: var(--body); font-size: .92rem;
  font-weight: 500; border-radius: 10px; transition: .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--pink-deep); background: var(--blush); text-decoration: none; }

/* bunte Segment-Leiste unter der Navigation (wie in der Vorlage) */
.nav-bar {
  display: flex; height: 6px;
}
.nav-bar span { flex: 1; }
.nav-bar span:nth-child(1) { background: var(--sage); flex: 1.4; }
.nav-bar span:nth-child(2) { background: var(--yellow-soft); }
.nav-bar span:nth-child(3) { background: var(--cream); }
.nav-bar span:nth-child(4) { background: var(--pink-soft); }
.nav-bar span:nth-child(5) { background: var(--yellow); }
.nav-bar span:nth-child(6) { background: var(--cream-2); flex: 1.4; }

/* Sprach-Umschalter */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: var(--blush); color: var(--pink-deep); border: 1px solid var(--pink-soft);
  border-radius: 999px; padding: 7px 14px; font-family: var(--sans);
  font-weight: 600; font-size: .82rem; letter-spacing: .3px; transition: .2s; flex: none;
}
.lang-toggle:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
.lang-toggle svg { width: 16px; height: 16px; }

/* Mobile-Menü */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: 0; overflow: hidden; background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 520px; }
.hero-left {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 56px 40px; gap: 18px;
}
.hero-portrait {
  width: 200px; height: 200px; border-radius: 50%; object-fit: cover;
  border: 6px solid #fff; box-shadow: var(--shadow);
}
.hero-logo { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-logo .logo-mark { width: 64px; height: 64px; color: var(--ink); }
.hero-logo h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: 1px; margin: 6px 0 0; line-height: 1;
}
.hero-logo .script { font-size: clamp(2.6rem, 6vw, 4rem); line-height: .9; }
.hero-tagline { color: var(--sage-deep); font-style: italic; font-family: var(--serif); font-size: 1.25rem; }

.hero-right {
  position: relative;
  background: url("../bilder/hero-chiara-kaninchen.jpg") center 28% / cover no-repeat;
}
.hero-right::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--cream) 0%, rgba(250,246,240,.35) 22%, transparent 48%);
}

/* dekorative Blobs */
.blob { position: absolute; z-index: 0; pointer-events: none; }
.blob.b1 { top: -60px; left: -60px; width: 280px; color: var(--sage); opacity: .35; }
.blob.b2 { bottom: -70px; left: -40px; width: 240px; color: var(--blush-soft); opacity: .8; }
.hero-left > *:not(.blob) { position: relative; z-index: 1; }

/* =========================================================
   Werte-Kacheln (Icons)
   ========================================================= */
.features { background: var(--cream); padding: 60px 0; }
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.feature .ic {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; color: var(--ink);
}
.feature .ic svg { width: 44px; height: 44px; }
.feature:nth-child(1) .ic { background: var(--gray-circle); }
.feature:nth-child(2) .ic { background: var(--pink-soft); }
.feature:nth-child(3) .ic { background: var(--yellow); }
.feature:nth-child(4) .ic { background: var(--gray-circle); }
.feature p { margin: 0; font-weight: 500; color: var(--ink); }

/* =========================================================
   Intro / Kontaktkarte mit QR
   ========================================================= */
.intro { background: var(--cream-2); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.intro h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.intro .script { display: block; font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1; margin-bottom: 6px; }
.intro p { font-size: 1.08rem; max-width: 40ch; }
.intro .paw-divider { justify-content: flex-start; margin: 8px 0 22px; }

.contact-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
}
.contact-lines { display: flex; flex-direction: column; gap: 16px; }
.contact-lines a { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 500; }
.contact-lines a:hover { text-decoration: none; color: var(--pink-deep); }
.contact-lines .ic {
  width: 46px; height: 46px; border-radius: 50%; background: var(--pink);
  color: #fff; display: grid; place-items: center; flex: none;
}
.contact-lines .ic svg { width: 22px; height: 22px; }
.qr { text-align: center; }
.qr img, .qr canvas { width: 150px; height: 150px; border-radius: 12px; background: #fff; }
.qr small { display: block; margin-top: 6px; color: var(--sage-deep); }

/* =========================================================
   Über mich
   ========================================================= */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-photo { position: relative; }
.about-photo img {
  border-radius: var(--radius); box-shadow: var(--shadow); width: 100%;
  aspect-ratio: 4/5; object-fit: cover;
}
.about-text p { margin-bottom: 1.1em; }
.about-text .lead { font-size: 1.15rem; color: var(--ink); }

/* Galerie "Einblicke" */
.about-gallery { margin-top: 56px; }
.about-gallery .gallery-head { text-align: center; margin-bottom: 26px; }
.about-gallery .gallery-head .script { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure {
  margin: 0; border-radius: 16px; overflow: hidden; position: relative;
  aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); cursor: pointer;
}
.gallery-grid figure:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%;
  transition: transform .45s ease;
}
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(77,74,68,.78));
  color: #fff; font-size: .9rem; font-weight: 500;
  padding: 26px 14px 12px; opacity: 0; transition: opacity .3s;
}
.gallery-grid figure:hover figcaption { opacity: 1; }

/* =========================================================
   Leistungen
   ========================================================= */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card .ph { height: 260px; overflow: hidden; background: var(--cream-2); }
.service-card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.service-card .body { padding: 24px 26px 28px; }
.service-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.55rem; }
.service-card h3 .ic {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blush);
  color: var(--pink-deep); display: grid; place-items: center; flex: none;
}
.service-card h3 .ic svg { width: 22px; height: 22px; }
.service-note {
  margin-top: 30px; background: var(--blush); border-radius: var(--radius);
  padding: 22px 28px; display: flex; gap: 16px; align-items: flex-start; color: var(--ink);
}
.service-note svg { width: 28px; height: 28px; color: var(--pink); flex: none; margin-top: 2px; }

/* =========================================================
   Preisliste
   ========================================================= */
.price-block { margin-bottom: 40px; }
.price-block h3 { font-size: 1.7rem; margin-bottom: 18px; }
.price-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.price-table th, .price-table td { padding: 15px 22px; text-align: left; }
.price-table thead th {
  background: var(--sage); color: #fff; font-family: var(--sans);
  font-weight: 600; font-size: .95rem; letter-spacing: .3px;
}
.price-table tbody tr { border-top: 1px solid var(--line); }
.price-table tbody tr:nth-child(even) { background: var(--cream); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--ink); }
.price-notes { list-style: none; padding: 0; margin: 16px 0 0; }
.price-notes li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .98rem; }
.price-notes li::before { content: "✿"; position: absolute; left: 0; color: var(--pink); }

.area-box {
  margin-top: 16px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 30px 32px;
}
.area-box h3 { font-size: 1.6rem; }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.area-tags span {
  background: var(--blush); color: var(--ink); padding: 7px 16px;
  border-radius: 999px; font-size: .92rem; font-weight: 500;
}
.area-box .hint { color: var(--sage-deep); font-style: italic; }

.cta-banner {
  margin-top: 40px; text-align: center; background: var(--yellow-soft);
  border-radius: var(--radius); padding: 36px 28px;
}
.cta-banner p { font-size: 1.15rem; color: var(--ink); margin: 0 0 18px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--pink); color: #fff; border: 0; font-family: var(--sans);
  font-weight: 600; font-size: 1rem; padding: 14px 30px; border-radius: 999px;
  transition: .2s; text-decoration: none; box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--pink-deep); text-decoration: none; transform: translateY(-2px); color: #fff; }
.btn svg { width: 20px; height: 20px; }
.btn.ghost { background: #fff; color: var(--pink-deep); }
.btn.whatsapp { background: #25d366; }
.btn.whatsapp:hover { background: #1da851; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   Informationen
   ========================================================= */
.info-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.info-item {
  background: #fff; border-left: 5px solid var(--pink); border-radius: 16px;
  padding: 22px 26px; box-shadow: var(--shadow-sm); font-size: 1.1rem; color: var(--ink);
}
.info-final { text-align: center; margin-top: 30px; }
.info-final .script { font-size: clamp(2rem, 5vw, 3rem); }

/* =========================================================
   Kontakt
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 7px; font-weight: 500; color: var(--ink); }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--cream);
  transition: border-color .2s; resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--pink); }
.form-note { font-size: .85rem; color: var(--sage-deep); margin-top: 8px; }
.form-status { margin-top: 16px; font-weight: 500; }

.contact-side { display: flex; flex-direction: column; gap: 22px; }
.contact-side .card {
  background: var(--blush); border-radius: var(--radius); padding: 28px;
}
.contact-side h3 { font-size: 1.5rem; }
.contact-side .contact-lines a { color: var(--ink); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: #e9e3da; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--serif); font-size: 1.3rem; margin: 0 0 14px; }
.site-footer a { color: #e9e3da; }
.site-footer a:hover { color: var(--pink-soft); }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-brand .script { color: var(--pink-soft); font-size: 2rem; }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: grid; place-items: center;
}
.socials a:hover { background: var(--pink); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 22px;
  text-align: center; font-size: .88rem; color: #bdb5ab;
}

/* =========================================================
   Rechtsseiten (Impressum / Datenschutz)
   ========================================================= */
.legal { padding: 70px 0; }
.legal-card {
  max-width: 820px; margin: 0 auto; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 50px 56px;
}
.legal-card h1 { font-size: 2.4rem; margin-bottom: 24px; }
.legal-card h2 { font-size: 1.4rem; margin-top: 32px; }
.legal-card p { margin: 0 0 12px; }
.legal-card ul { margin: 0 0 16px; padding-left: 22px; }
.legal-card .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; }
.legal-card address { font-style: normal; line-height: 1.9; }

/* =========================================================
   Lightbox (Galerie-Großansicht)
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(45, 41, 36, .93); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 4vh 5vw;
}
.lightbox.open { display: flex; animation: lbFade .25s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { margin: 0; max-width: 100%; text-align: center; }
.lb-stage img {
  max-width: min(92vw, 1000px); max-height: 80vh; width: auto; height: auto;
  border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); object-fit: contain;
}
.lb-stage figcaption {
  color: #fff; font-family: var(--serif); font-size: 1.3rem; margin-top: 16px;
}
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.14); color: #fff;
  border: 0; cursor: pointer; border-radius: 50%; display: grid; place-items: center;
  transition: background .2s; line-height: 1;
}
.lb-close:hover, .lb-nav:hover { background: var(--pink); }
.lb-close { top: 22px; right: 26px; width: 48px; height: 48px; font-size: 2rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.4rem; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { min-height: 340px; order: -1; }
  .hero-right::before { background: linear-gradient(0deg, var(--cream) 0%, transparent 40%); }
  .intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 60px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 10px; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid figcaption { opacity: 1; }
  .lb-nav { width: 44px; height: 44px; font-size: 2rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 14px; right: 14px; }
  .lb-stage figcaption { font-size: 1.1rem; }
  .contact-card { grid-template-columns: 1fr; text-align: center; }
  .contact-lines { width: fit-content; max-width: 100%; margin-inline: auto; }
  .contact-lines a { text-align: left; }
  .legal-card { padding: 34px 24px; }
  .price-table th, .price-table td { padding: 12px 14px; font-size: .92rem; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-portrait { width: 150px; height: 150px; }
}
