/* ============================================
   Hundeschule Moorfleet – Stylesheet
   Keine externen Fonts/Skripte -> schnell & DSGVO-unkritisch
   ============================================ */

:root {
  /* Farben */
  --color-bg: #faf6ef;
  --color-bg-alt: #f1e9db;
  --color-surface: #ffffff;
  --color-text: #2a2721;
  --color-text-muted: #5b564c;
  --color-primary: #3e5c46;
  --color-primary-dark: #2c4232;
  --color-primary-light: #e7eee7;
  --color-accent: #b5652d;
  --color-accent-dark: #8f4e21;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;
  --color-border: #e3d9c4;

  /* Typografie */
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Sonstiges */
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-s: 0 2px 10px rgba(42, 39, 33, 0.08);
  --shadow-m: 0 8px 30px rgba(42, 39, 33, 0.12);
  --max-width: 1140px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img, picture { max-width: 100%; height: auto; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
button { cursor: pointer; }

body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  hyphens: none;
}

h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }

p { color: var(--color-text); overflow-wrap: break-word; }
a { overflow-wrap: break-word; }
.lead { font-size: 1.15rem; color: var(--color-text-muted); }

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

section { padding: 64px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-primary { background: var(--color-primary); color: #fff; }
.section-primary h2, .section-primary h3 { color: #fff; }

.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: #fbe9d9;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-primary .eyebrow { background: rgba(255,255,255,0.15); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--color-primary-dark); }
.btn-outline:hover { background: var(--color-primary-light); }
.section-primary .btn-outline { color: #fff; }
.section-primary .btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero .btn-row .btn-lg { flex: 1 1 220px; justify-content: center; text-align: center; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  display: inline-block;
  padding: 10px 11px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.92rem;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { background: var(--color-primary-light); color: var(--color-primary-dark); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-primary-dark);
  border-radius: 3px;
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero-photo img {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 32%;
  width: 100%;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid > * { min-width: 0; }

.card {
  background: var(--color-surface);
  border-radius: var(--radius-m);
  padding: 30px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  box-shadow: var(--shadow-s);
}
.card-photo {
  background: var(--color-surface);
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card-photo:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.card-photo img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-photo img.obj-top { object-position: center 8%; }
.card-photo .card-body { padding: 20px 22px 24px; }
.card-photo h3 { margin-bottom: 8px; }
.card-photo p { color: var(--color-text-muted); font-size: 0.96rem; }
.card-link { color: var(--color-accent-dark); font-weight: 700; font-size: 0.92rem; margin-top: 12px; display: inline-block; }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--color-primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--color-primary-dark);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps > * { min-width: 0; }
.step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 26px 24px 28px;
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 26px 28px;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
  color: #f2a93b;
}
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.testimonial p.quote {
  font-size: 1.02rem;
  color: var(--color-text);
}
.testimonial .quote::before { content: "\201C"; }
.testimonial .quote::after { content: "\201D"; }
.testimonial-author {
  margin-top: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 0.92rem;
}
.testimonial-author span {
  display: block;
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-s);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--color-primary-dark);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a-inner { padding: 0 4px 22px; color: var(--color-text-muted); }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--color-primary-dark);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--color-border);
  background: #fff;
  font-size: 1rem;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-hint { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 4px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Contact options ---------- */
.contact-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-options > * { min-width: 0; }
.contact-option {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 26px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-option:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.contact-option .icon-badge { margin: 0 auto 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: #eef2ee;
  padding: 56px 0 30px;
  margin-top: 40px;
}
.site-footer a { color: #eef2ee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-grid > * { min-width: 0; }
.footer-grid h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-grid ul li { margin-bottom: 10px; font-size: 0.94rem; color: #d7ddd6; }
.footer-brand p { color: #cdd6cc; font-size: 0.92rem; margin-top: 12px; }
.footer-badges { display: flex; gap: 12px; margin-top: 18px; align-items: center; }
.footer-badges img { height: 64px; width: auto; background: #fff; border-radius: 8px; padding: 6px; }
.footer-badges span { font-size: 0.86rem; color: #cdd6cc; line-height: 1.3; max-width: 150px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.84rem;
  color: #b7c0b6;
}

/* ---------- Sticky WhatsApp button ---------- */
.sticky-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-whatsapp);
  color: #fff;
  text-decoration: none;
  padding: 13px 20px 13px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 0.15s ease;
}
.sticky-whatsapp:hover { transform: translateY(-2px); }
.sticky-whatsapp svg { width: 22px; height: 22px; flex-shrink: 0; }
.sticky-whatsapp .label { white-space: nowrap; }

/* ---------- Page header (Unterseiten) ---------- */
.page-header {
  padding: 46px 0 10px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--color-text-muted); text-decoration: underline; }

.callout {
  background: var(--color-primary-light);
  border: 1px solid #cddccb;
  border-radius: var(--radius-m);
  padding: 22px 26px;
}
.callout-accent {
  background: #fbeee0;
  border: 1px solid #efd3b4;
  border-radius: var(--radius-m);
  padding: 22px 26px;
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.1rem;
}
.price-tag small { font-weight: 500; font-size: 0.75rem; opacity: 0.85; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col > * { min-width: 0; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: var(--radius-l); box-shadow: var(--shadow-s); }

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--color-text-muted); }
.small { font-size: 0.86rem; }
.divider { height: 1px; background: var(--color-border); margin: 40px 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--color-primary-dark); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-photo { order: 1; }
  .hero-copy { order: 2; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 26px; }
  .two-col.reverse { direction: ltr; }
  .two-col .hero-photo-wrap { order: -1; }
  .contact-options { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* Nav-Umbruch bereits ab 1024px, da Menü + Buttons ab da eng werden */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-s);
  }
  .main-nav.open ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 2px; }
  .main-nav.open a { padding: 12px 10px; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
}

@media (max-width: 720px) {
  section { padding: 44px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-options { grid-template-columns: 1fr; }
  .sticky-whatsapp .label { display: none; }
  .sticky-whatsapp { padding: 14px; }
  .price-tag { font-size: 1rem; }
  .btn { white-space: normal; text-align: center; }
  .btn-lg { padding: 15px 22px; }
}
