/* ============================================================
   HPP Müller – Praxis für heilkundliche Psychotherapie
   Stylesheet · Keine externen Ressourcen (DSGVO-konform)
   ============================================================ */

:root {
  --orange:        #FD9800;
  --orange-dark:   #e08700;
  --navy:          #0F172A;
  --navy-mid:      #1e3a5f;
  --text:          #374151;
  --text-light:    #6B7280;
  --bg:            #ffffff;
  --bg-subtle:     #F8F9FA;
  --border:        #E5E7EB;
  --radius:        6px;
  --max-w:         900px;
  --font:          system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.5rem; }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.35rem); margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.3rem; }

/* --- Layout ---------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 3rem 0; }
hr.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* --- Header / Navigation --------------------------------- */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  position: relative;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  line-height: 1.25;
}
.site-logo:hover { text-decoration: none; }
.site-logo img   { height: 48px; width: auto; display: block; }
.site-logo .name  { font-weight: 700; font-size: 1rem; }
.site-logo .role  { font-size: 0.7rem; color: rgba(255,255,255,0.55); font-weight: 400; }

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
}

nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  display: block;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
nav a:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }
nav a.active { background: var(--orange); color: #fff; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0.4rem 0.55rem;
  color: #fff;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.25s;
}

/* --- Hero ------------------------------------------------- */
.hero {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.hero h1 { color: #fff; margin-bottom: 0.4rem; }
.hero .subtitle {
  font-size: 1rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}
.hero .tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 660px;
  margin: 0 auto 2rem;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.18s, opacity 0.18s;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn-primary  { background: var(--orange); color: #fff; }
.btn-outline  { border: 2px solid rgba(255,255,255,0.5); color: #fff; margin-left: 0.75rem; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* --- Page header (Unterseiten) ---------------------------- */
.page-header {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 1.75rem;
}
.page-header h1 { margin-bottom: 0; }
.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--orange); text-decoration: none; }
.breadcrumb span::before { content: ' › '; }

/* --- Cards ------------------------------------------------ */
.card {
  background: var(--bg-subtle);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--orange);
}

/* --- Step numbers ----------------------------------------- */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.25rem;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.5rem;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.steps li h3 { margin-bottom: 0.5rem; }

/* --- Info / Hinweis Boxes --------------------------------- */
.info-box {
  background: #FFF8EE;
  border: 1px solid #FBBF24;
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.info-box strong { color: var(--navy); }

/* --- Preis-Tabelle ---------------------------------------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
}
.price-table tr { border-bottom: 1px solid var(--border); }
.price-table tr:last-child { border-bottom: none; }
.price-table td { padding: 0.75rem 0.5rem; vertical-align: top; }
.price-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* --- Zwei-Spalten-Raster ---------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* --- Vorteilsliste ---------------------------------------- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* --- Qualifikation-Badges --------------------------------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.badge {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- Kontakt-Box (Hero-Footer) ---------------------------- */
.contact-strip {
  background: var(--orange);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}
.contact-strip h2 { color: #fff; margin-bottom: 0.5rem; }
.contact-strip p  { color: rgba(255,255,255,0.88); margin-bottom: 1.25rem; }
.contact-strip a.tel {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.contact-strip a.mail {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

/* --- Landschaftsbild -------------------------------------- */
.landscape-banner {
  width: 100%;
  max-height: 280px;
  overflow: hidden;
}
.landscape-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* --- Willkommen-Grid (Startseite) ------------------------- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.welcome-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  display: block;
}

@media (max-width: 720px) {
  .welcome-grid {
    grid-template-columns: 1fr;
  }
  .welcome-photo {
    max-width: 220px;
  }
}

/* --- Logo-Badges (Startseite) ----------------------------- */
.logo-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.logo-badges img {
  height: auto;
  max-height: 80px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.logo-badges img:hover { opacity: 1; }

/* --- YouTube-Embed ---------------------------------------- */
.yt-iframe-wrap {
  aspect-ratio: 16 / 9;
  position: relative;
}
.yt-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Impressum -------------------------------------------- */
.legal h2 { font-size: 1.2rem; margin-top: 2rem; margin-bottom: 0.5rem; }
.legal p, .legal address { font-style: normal; margin-bottom: 0.6rem; line-height: 1.65; }

/* --- Footer ----------------------------------------------- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 2.5rem 0 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-inner h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}
.footer-inner p,
.footer-inner a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 0.3rem;
  line-height: 1.5;
}
.footer-inner a:hover { color: var(--orange); text-decoration: none; }
.footer-bottom {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 1.5rem;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0.1rem; }
  nav a { padding: 0.6rem 0.9rem; font-size: 0.95rem; }

  .grid-2 { grid-template-columns: 1fr; }
  .btn-outline { margin-left: 0; margin-top: 0.5rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  section { padding: 2rem 0; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero .tagline { font-size: 0.95rem; }
}
