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

:root {
  --brown:       #0D2218;
  --terra:       #2A6040;
  --terra-light: #4E9068;
  --cream:       #EDF4EF;
  --cream-alt:   #D5E8DB;
  --warm-white:  #FFFFFF;
  --dark:        #071209;
  --muted:       #3D5C48;
  --radius:      16px;
  --shadow:      0 4px 24px rgba(13,34,24,0.12);
  --shadow-lg:   0 16px 48px rgba(13,34,24,0.22);
  --t:           0.28s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
em { font-style: italic; color: var(--terra); }

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}

.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-top: 0.5rem; color: var(--brown); }
.section-intro { color: var(--muted); font-size: 0.97rem; margin-top: 0.75rem; max-width: 640px; line-height: 1.75; }

/* ===== BUTTONS ===== */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--brown);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid rgba(13,34,24,0.35);
  transition: all var(--t);
}
.btn-outline:visited { color: var(--brown); background: transparent; }
.btn-outline:hover { border-color: var(--terra); color: var(--terra); }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--warm-white);
  border-bottom: 1px solid rgba(13,34,24,0.08);
  padding: 18px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; flex-direction: row; align-items: center; gap: 0.75rem; }
.logo-img { height: 86px; width: auto; max-width: 260px; display: block; flex-shrink: 0; }
.logo div { display: flex; flex-direction: column; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--brown); }
.logo-sub { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.04em; }

.topbar-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.topbar-since { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.topbar-phone { font-size: 1.1rem; font-weight: 700; color: var(--terra); letter-spacing: 0.02em; }
.topbar-phone:visited { color: var(--terra); }
.topbar-phone:hover { color: var(--brown); }

/* ===== NAVIGATIONSBALKEN ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brown);
  box-shadow: 0 2px 8px rgba(13,34,24,0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.nav { display: flex; align-items: center; }
.nav a { color: rgba(255,255,255,0.88); font-weight: 500; font-size: 0.9rem; padding: 16px 20px; display: block; border-bottom: 3px solid transparent; transition: background var(--t), border-color var(--t); }
.nav a:visited { color: rgba(255,255,255,0.88); }
.nav a:first-child { background: var(--terra); color: #fff; }
.nav a:first-child:visited { color: #fff; }
.nav a:hover { background: rgba(255,255,255,0.1); color: #fff; border-bottom-color: var(--terra-light); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 16px 0; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: rgba(255,255,255,0.9); border-radius: 2px; }

/* ===== HERO FOTO ===== */
.hero-foto-wrap {
  width: 100%;
  overflow: hidden;
}
.hero-foto-wrap img {
  width: 100%;
  height: 416px;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

/* ===== HERO TEXT UNTER FOTO ===== */
.hero-text-block {
  background: var(--cream);
  padding: 48px 0 56px;
  text-align: center;
}
.hero-text-block h1 { color: var(--brown); font-size: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 1.25rem; }
.hero-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.85; max-width: 680px; margin-left: auto; margin-right: auto; font-style: italic; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ===== FAKTEN BALKEN ===== */
.fakten-bar {
  background: var(--brown);
  padding: 44px 0;
}
.fakten-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.fakten-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 40px;
  text-align: center;
}
.fakten-icon { font-size: 1.6rem; line-height: 1; margin-bottom: 2px; }
.fakten-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--terra-light);
  line-height: 1;
}
.fakten-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); font-weight: 500; letter-spacing: 0.03em; }
.fakten-divider { width: 1px; height: 56px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* ===== PFLEGE-FOTO SECTION ===== */
.pflegefoto {
  background: var(--cream-alt);
  padding: 90px 0;
}
.pflegefoto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.pflegefoto-text .label { margin-bottom: 0.75rem; }
.pflegefoto-text h2 { color: var(--brown); margin: 0.5rem 0 1.5rem; }
.pflegefoto-text p { color: var(--muted); font-size: 1rem; line-height: 1.85; margin-bottom: 2rem; }
.pflegefoto-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* ===== LEISTUNGEN ===== */
.leistungen { padding: 100px 0; background: var(--cream); }
.leistungen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.leistung-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border-top: 3px solid var(--terra-light);
  transition: transform var(--t), box-shadow var(--t), border-top-color var(--t);
}
.leistung-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-top-color: var(--terra); }
.leistung-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--cream-alt); line-height: 1; margin-bottom: 1.25rem; transition: color var(--t); }
.leistung-card:hover .leistung-num { color: var(--terra-light); }
.leistung-card h3 { color: var(--brown); margin-bottom: 0.6rem; }
.leistung-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ===== ÜBER UNS ===== */
.about { padding: 100px 0; background: var(--cream-alt); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.about-img-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.about-img-wrap img { width: 100%; border-radius: 20px; object-fit: cover; max-height: 336px; box-shadow: var(--shadow); }
.about-photo { width: 70% !important; height: auto !important; max-height: none !important; object-fit: unset !important; }
.about-logo { width: auto !important; max-width: 260px !important; max-height: none !important; height: auto !important; object-fit: contain !important; box-shadow: none !important; border-radius: 0 !important; }

.about-text h2 { color: var(--brown); margin: 0.5rem 0 1.5rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; line-height: 1.8; }
.about-text strong { color: var(--dark); }

.credentials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.credentials span { background: var(--warm-white); color: var(--brown); padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(13,34,24,0.12); }

.about-text blockquote { margin-top: 2rem; padding: 1.5rem 1.75rem; background: var(--warm-white); border-left: 3px solid var(--terra); border-radius: 0 12px 12px 0; font-style: italic; color: var(--dark); font-size: 0.95rem; line-height: 1.85; box-shadow: var(--shadow); }
.about-text blockquote cite { display: block; margin-top: 0.75rem; font-style: normal; font-size: 0.8rem; font-weight: 600; color: var(--terra); letter-spacing: 0.03em; }

/* ===== ABLAUF ===== */
.ablauf { padding: 100px 0; background: var(--cream); }
.ablauf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.ablauf-card { background: var(--warm-white); border-radius: var(--radius); padding: 2rem 1.75rem; border: 1px solid rgba(13,34,24,0.07); transition: box-shadow var(--t), border-color var(--t); }
.ablauf-card:hover { box-shadow: var(--shadow); border-color: var(--terra-light); }
.ablauf-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--terra-light); line-height: 1; margin-bottom: 0.9rem; }
.ablauf-card h3 { color: var(--brown); font-size: 0.98rem; margin-bottom: 0.4rem; }
.ablauf-card p { color: var(--muted); font-size: 0.86rem; line-height: 1.7; }

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--cream-alt); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; align-items: start; }

.faq-item { background: var(--warm-white); border-radius: 12px; overflow: hidden; margin-bottom: 0.75rem; border: 1px solid rgba(13,34,24,0.06); }
.faq-item summary { padding: 1.2rem 1.5rem; font-weight: 600; font-size: 0.9rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--brown); transition: background var(--t); gap: 1rem; }
.faq-item summary:hover { background: var(--cream); }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--terra); font-weight: 300; flex-shrink: 0; transition: transform var(--t); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.5rem 1.2rem; color: var(--muted); font-size: 0.88rem; line-height: 1.8; }

/* ===== BEWERTUNGEN ===== */
.bewertungen { padding: 100px 0; background: var(--warm-white); }
.bewertungen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.bewertung-card { background: var(--cream); border: 1px solid var(--cream-alt); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; transition: box-shadow var(--t), transform var(--t); }
.bewertung-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.bewertung-card p { font-size: 0.9rem; color: var(--dark); line-height: 1.75; font-style: italic; flex-grow: 1; }
.bewertung-name { font-size: 0.78rem; font-weight: 600; color: var(--terra); text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== KONTAKT ===== */
.kontakt { padding: 100px 0; background: var(--brown); }
.kontakt-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.kontakt-text h2 { color: var(--warm-white); margin: 0.5rem 0 1.5rem; line-height: 1.1; }
.kontakt-text p { color: rgba(255,255,255,0.55); font-size: 1rem; }

.kontakt-details { display: flex; flex-direction: column; gap: 1rem; }
.kontakt-item { display: flex; align-items: center; gap: 1.25rem; padding: 1.4rem 1.5rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); transition: background var(--t), border-color var(--t); color: var(--warm-white); }
.kontakt-item:visited { color: var(--warm-white); }
.kontakt-item:hover { background: rgba(255,255,255,0.11); border-color: rgba(42,96,64,0.5); color: var(--warm-white); }

.kontakt-icon { width: 44px; height: 44px; background: rgba(42,96,64,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--terra-light); }
.kontakt-icon svg { width: 18px; height: 18px; }
.kontakt-item strong { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.kontakt-item span { font-size: 0.93rem; }

/* ===== FOOTER ===== */
.footer { background: #040D06; color: rgba(255,255,255,0.45); padding: 44px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.07); flex-wrap: wrap; gap: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: 5px; }
.footer-brand .logo-text { font-size: 1.05rem; color: var(--warm-white); }
.footer-brand span { font-size: 0.8rem; }
.footer-links { display: flex; gap: 1.75rem; align-items: center; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.83rem; transition: color var(--t); }
.footer-links a:hover { color: var(--warm-white); }
.footer-bottom { text-align: center; padding: 1.25rem 24px; font-size: 0.76rem; }

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
  .ablauf-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 3rem; }
  .hero-grid { gap: 2.5rem; }
  .fakten-item { padding: 0 22px; }
  .pflegefoto-inner { gap: 3rem; }
  .kontakt-inner { gap: 3rem; }
  .logo-img { height: 72px; }
  .bewertungen-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== RESPONSIVE: MOBIL ===== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .logo-img { height: 74px !important; width: auto !important; max-width: 220px !important; }
  .logo-text { font-size: 1.3rem; }
  .topbar-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
  .topbar-contact { align-items: center; }

  .nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--brown); flex-direction: column; justify-content: center; align-items: center; gap: 0; z-index: 99; }
  .nav.open { display: flex; }
  .nav a { color: rgba(255,255,255,0.85) !important; font-size: 1.2rem; border-bottom: none; padding: 14px 40px; width: 100%; text-align: center; }
  .nav-toggle { display: flex; z-index: 101; position: relative; }
  .nav-container { padding: 0 20px; }

  .hero-foto-wrap { max-height: 280px; }
  .hero-foto-wrap img { height: 280px; }
  .hero-text-block { padding: 36px 0 44px; }
  .hero-actions { flex-direction: column; }
  .btn-outline { text-align: center; }

  .fakten-grid { gap: 1.5rem; }
  .fakten-divider { display: none; }
  .fakten-item { flex: 1 1 calc(50% - 1rem); padding: 0; }

  .pflegefoto-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pflegefoto-img { order: -1; }

  .leistungen, .about, .ablauf, .faq, .bewertungen, .kontakt { padding: 64px 0; }
  .leistungen-grid, .ablauf-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .bewertungen-grid { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-wrap::before { display: none; }
  .about-photo { width: 85% !important; }
  .about-logo { max-width: 180px !important; }

  .kontakt-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { flex-direction: column; }
}
