/*
  Carsten Stahl – Gassi-Service
  Design: Inspired by vintage German Sachplakat posters & autumn park walks
  Palette: Warm amber/golden tones, muted forest green, terracotta accents
  Typography: Georgia-based serif for warmth + system sans for clarity
*/

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  font-family: 'Georgia', 'Palatino Linotype', 'Book Antiqua', serif;
  color: hsl(20, 25%, 15%);
  background: hsl(38, 40%, 96%);
  line-height: 1.7;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: hsl(150, 30%, 30%);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

a:hover {
  color: hsl(10, 60%, 50%);
}

img, svg {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ============================================
   Typography scale (ratio 1.3)
   ============================================ */
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }

h1, h2, h3, h4 {
  font-family: 'Georgia', 'Palatino Linotype', 'Book Antiqua', serif;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(20, 25%, 12%);
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: hsl(32, 55%, 50%);
  margin-top: 0.6rem;
  border-radius: 1px;
}

.section-title--left::after {
  margin-left: 0;
}

.section-intro {
  color: hsl(20, 18%, 40%);
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.section:not(.ueber) .section-title,
.section:not(.ueber) .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section:not(.ueber) .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Navigation
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: hsla(38, 40%, 96%, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid hsl(35, 30%, 88%);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.8rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: hsl(20, 25%, 15%);
  text-decoration: none;
}

.nav-logo:hover {
  color: hsl(32, 55%, 45%);
}

.nav-paw {
  color: hsl(32, 55%, 50%);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: hsl(20, 18%, 35%);
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: hsl(32, 55%, 50%);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: hsl(20, 25%, 15%);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: hsl(20, 25%, 25%);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  max-width: 480px;
}

.hero-badge {
  display: inline-block;
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(150, 30%, 30%);
  background: hsl(150, 25%, 90%);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
  border-left: 3px solid hsl(150, 25%, 40%);
}

h1 {
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  color: hsl(20, 15%, 38%);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-illustration {
  flex: 0 0 auto;
  width: 280px;
}

.hero-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(2px 4px 0 hsl(35, 30%, 88%));
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: hsl(32, 55%, 50%);
  color: hsl(38, 40%, 98%);
  border-color: hsl(32, 55%, 50%);
  box-shadow:
    1px 1px 0 hsl(32, 55%, 42%),
    2px 2px 0 hsl(32, 55%, 38%);
}

.btn-primary:hover {
  background: hsl(32, 55%, 45%);
  color: hsl(38, 40%, 98%);
  box-shadow:
    1px 1px 0 hsl(32, 55%, 38%),
    2px 2px 0 hsl(32, 55%, 34%),
    3px 3px 0 hsl(32, 55%, 30%);
}

.btn-outline {
  background: transparent;
  color: hsl(20, 25%, 20%);
  border-color: hsl(20, 20%, 70%);
}

.btn-outline:hover {
  border-color: hsl(32, 55%, 50%);
  color: hsl(32, 55%, 45%);
}

/* ============================================
   Features / Leistungen
   ============================================ */
.leistungen {
  background: hsl(35, 35%, 93%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  background: hsl(38, 40%, 97%);
  padding: 2rem 1.8rem;
  border-radius: 3px;
  border: 1px solid hsl(35, 30%, 89%);
  border-bottom: 3px solid hsl(32, 55%, 50%);
  transition: border-bottom-color 0.2s;
}

.feature-card:hover {
  border-bottom-color: hsl(150, 25%, 35%);
}

.feature-icon {
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: hsl(20, 25%, 18%);
}

.feature-card p {
  color: hsl(20, 15%, 40%);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================
   Pricing / Preise
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 680px;
  margin: 0 auto;
}

.price-card {
  background: hsl(38, 40%, 97%);
  border: 1px solid hsl(35, 30%, 88%);
  border-radius: 3px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.15s;
}

.price-card:hover {
  transform: translateY(-2px);
}

.price-card--featured {
  border-color: hsl(32, 55%, 50%);
  border-width: 2px;
  box-shadow:
    2px 2px 0 hsl(32, 55%, 85%),
    4px 4px 0 hsl(32, 55%, 90%);
}

.price-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(32, 55%, 50%);
  color: hsl(38, 40%, 98%);
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 1px;
}

.price-label {
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(20, 15%, 45%);
  margin-bottom: 0.8rem;
}

.price-amount {
  margin-bottom: 0.3rem;
}

.price-num {
  font-size: 3rem;
  font-weight: 700;
  color: hsl(20, 25%, 12%);
  line-height: 1;
}

.price-eur {
  font-size: 1.4rem;
  color: hsl(20, 15%, 40%);
}

.price-duration {
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  color: hsl(20, 15%, 50%);
  margin-bottom: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid hsl(35, 30%, 89%);
}

.price-features {
  text-align: left;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.4rem 0;
  font-size: 0.92rem;
  color: hsl(20, 15%, 35%);
  padding-left: 1.3rem;
  position: relative;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: hsl(150, 30%, 38%);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
  text-align: center;
}

/* ============================================
   About / Über uns
   ============================================ */
.ueber {
  background: hsl(35, 35%, 93%);
}

.about-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.about-visual {
  flex: 0 0 200px;
}

.about-placeholder {
  border: 2px dashed hsl(35, 30%, 82%);
  border-radius: 4px;
  overflow: hidden;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1rem;
  color: hsl(20, 15%, 30%);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text .section-title {
  margin-bottom: 1.2rem;
}

/* ============================================
   Hours / Öffnungszeiten
   ============================================ */
.hours-table {
  max-width: 440px;
  margin: 0 auto 1.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid hsl(35, 30%, 89%);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 600;
  color: hsl(20, 25%, 18%);
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
}

.hours-time {
  color: hsl(20, 15%, 38%);
  font-size: 0.95rem;
}

.hours-note {
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  color: hsl(20, 15%, 50%);
  max-width: 440px;
  margin: 0 auto;
}

/* ============================================
   Contact / Kontakt
   ============================================ */
.kontakt {
  background: hsl(35, 35%, 93%);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 0 1 260px;
}

.contact-icon {
  color: hsl(32, 55%, 50%);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-item strong {
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(20, 18%, 40%);
}

.contact-item a {
  font-size: 0.95rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: hsl(25, 22%, 16%);
  color: hsl(35, 20%, 70%);
  padding: 2.5rem 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid hsl(25, 15%, 24%);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: hsl(35, 25%, 80%);
}

.footer-paw {
  color: hsl(32, 55%, 50%);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  color: hsl(35, 20%, 60%);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: hsl(32, 55%, 60%);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.2rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: hsl(25, 15%, 45%);
  text-align: center;
}

/* ============================================
   Legal Sections (Impressum & Datenschutz)
   ============================================ */
.legal-section {
  padding: 5rem 0;
  background: hsl(38, 40%, 97%);
  border-top: 3px solid hsl(32, 55%, 50%);
}

.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-header h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.legal-back {
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.88rem;
}

.legal-section h3 {
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.05rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: hsl(20, 25%, 20%);
}

.legal-section h4 {
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  color: hsl(20, 20%, 30%);
}

.legal-section p {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: hsl(20, 15%, 30%);
  max-width: 640px;
}

.legal-section ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-section li {
  list-style: disc;
  font-size: 0.95rem;
  color: hsl(20, 15%, 30%);
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.legal-section em {
  color: hsl(20, 15%, 55%);
  font-size: 0.88rem;
}

.legal-top-btn {
  margin-top: 2.5rem;
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 3.8rem;
    left: 0;
    right: 0;
    background: hsl(38, 40%, 96%);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid hsl(35, 30%, 88%);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid hsl(35, 30%, 90%);
  }

  .nav-links a::after {
    display: none;
  }

  body.nav-open .nav-links {
    transform: translateY(0);
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 5rem;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-illustration {
    width: 180px;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  /* About */
  .about-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text .section-title {
    text-align: center;
  }

  .about-text .section-title::after {
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  /* Legal header */
  .legal-header {
    flex-direction: column;
  }

  /* Section padding */
  .section {
    padding: 3.5rem 0;
  }

  /* Contact */
  .contact-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 400px) {
  body {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hours-row {
    flex-direction: column;
    gap: 0.2rem;
  }
}

/* ============================================
   Decorative Paw Trail (subtle background)
   ============================================ */
.leistungen::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.leistungen {
  position: relative;
  overflow: hidden;
}

/* ============================================
   Focus styles for accessibility
   ============================================ */
a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid hsl(32, 55%, 50%);
  outline-offset: 3px;
}

/* ============================================
   Print styles
   ============================================ */
@media print {
  .site-nav,
  .hero-illustration,
  .nav-toggle {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .section {
    padding: 2rem 0;
  }

  body {
    background: white;
    color: black;
  }
}
