/* ==========================================================================
   Eva Bernhardt — Familiencoaching
   Design: Warm beige, white cards, petrol accent, system sans-serif
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: #3a3a3a;
  background: #f5f0eb;
}

/* --- Utilities --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a {
  color: #1A6B6E;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

h1, h2, h3 {
  color: #1A6B6E;
  font-weight: 300;
  line-height: 1.3;
}

h1 {
  font-size: 2.6rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: #1A6B6E;
  color: white;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: #15595B;
  opacity: 1;
  transform: translateY(-1px);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(245, 240, 235, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo img {
  height: 80px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 400;
  color: #555;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #1A6B6E;
  opacity: 1;
}

/* --- Burger-Button (nur Mobile sichtbar) --- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #555;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  padding: 50px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #1A6B6E;
  opacity: 0.7;
  margin-top: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero-lead {
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 460px;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* --- Kennst du das? --- */
.kennst-du-das {
  padding: 50px 0;
}

.kennst-du-das h2 {
  text-align: center;
  margin-bottom: 28px;
}

.quote-rotation {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  transition: opacity 0.4s ease, transform 0.3s ease;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.quote-rotation:active {
  cursor: grabbing;
}

.quote-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #e8e2dc;
}

.quote-content {
  padding: 32px 48px 28px;
}

.quote-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1A6B6E;
  opacity: 0.5;
  margin-bottom: 16px;
}

.quote-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  font-style: normal;
}

.quote-credit {
  margin-top: 20px;
  font-size: 11px;
  color: #bbb;
}

.quote-credit a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}

.quote-credit a:hover {
  color: #1A6B6E;
  opacity: 1;
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.quote-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1A6B6E;
  opacity: 0.15;
  cursor: pointer;
  transition: opacity 0.3s;
}

.quote-dot:hover {
  opacity: 0.4;
}

.quote-dot.active {
  opacity: 0.6;
}

/* --- Mein Angebot --- */
.mein-angebot {
  padding: 50px 0;
}

.mein-angebot h2 {
  text-align: center;
  margin-bottom: 32px;
}

.angebot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.angebot-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 32px;
}

.angebot-card h3 {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.angebot-subtitle {
  font-size: 0.9rem;
  color: #1A6B6E;
  opacity: 0.6;
  margin-bottom: 12px;
}

.angebot-quote {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.angebot-card ul {
  list-style: none;
  padding: 0;
}

.angebot-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.angebot-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1A6B6E;
  opacity: 0.4;
}

.angebot-card li:last-child {
  margin-bottom: 0;
}

/* --- Coaching-Ablauf --- */
.coaching-ablauf {
  padding: 50px 0;
}

.coaching-ablauf h2 {
  text-align: center;
}

.coaching-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: #555;
}

.ablauf-timeline {
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
  margin-bottom: 40px;
}

.ablauf-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.ablauf-step::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  width: calc(50% - 20px);
  height: 2px;
  background: #1A6B6E;
  opacity: 0.2;
}

.ablauf-step::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: calc(50% - 20px);
  height: 2px;
  background: #1A6B6E;
  opacity: 0.2;
}

.ablauf-step:first-child::before,
.ablauf-step:last-child::after {
  display: none;
}

.ablauf-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1A6B6E;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.ablauf-step h3 {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.ablauf-duration {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1A6B6E;
  opacity: 0.5;
  display: block;
  margin-bottom: 12px;
}

.ablauf-step p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #555;
}

.coaching-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.coaching-detail-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 32px;
}

.coaching-detail-card h3 {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.coaching-detail-card ul {
  list-style: none;
  padding: 0;
}

.coaching-detail-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.coaching-detail-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1A6B6E;
  opacity: 0.4;
}

.coaching-detail-card li:last-child {
  margin-bottom: 0;
}

/* --- Über mich --- */
.ueber-mich {
  padding: 50px 0;
}

.ueber-mich-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.ueber-mich-image img {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.ueber-mich-text p {
  margin-bottom: 16px;
}

.ueber-mich-text p:first-of-type {
  font-size: 1.1rem;
}

/* --- Kontakt --- */
.kontakt {
  padding: 50px 0;
}

.kontakt-inner {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  overflow: hidden;
}

.kontakt-text {
  padding: 48px;
}

.kontakt-text p {
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.kontakt-details {
  margin-bottom: 32px;
}

.kontakt-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.kontakt-item:last-child {
  border-bottom: none;
}

.kontakt-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1A6B6E;
  opacity: 0.5;
  min-width: 80px;
}

.kontakt-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Footer --- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #999;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: #999;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #1A6B6E;
  opacity: 1;
}

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-page {
  padding: 60px 0 80px;
}

.legal-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 48px;
  max-width: 720px;
}

.legal-card h1 {
  margin-bottom: 32px;
}

.legal-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-card p {
  margin-bottom: 12px;
}

.legal-card ul {
  margin: 0 0 12px 20px;
}

.legal-card li {
  margin-bottom: 4px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .header-inner {
    flex-direction: row;
    gap: 0;
  }

  .burger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 240, 235, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 16px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-lead {
    max-width: 100%;
  }

  .hero-image {
    order: -1;
  }

  .angebot-grid {
    grid-template-columns: 1fr;
  }

  .ablauf-timeline {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .ablauf-step {
    max-width: 100%;
    padding: 0;
  }

  .ablauf-step::before,
  .ablauf-step::after {
    display: none;
  }

  .ablauf-step + .ablauf-step {
    margin-top: 8px;
  }

  .coaching-details {
    grid-template-columns: 1fr;
  }

  .ueber-mich-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ueber-mich-image {
    max-width: 400px;
  }

  .kontakt-inner {
    grid-template-columns: 1fr;
  }

  .kontakt-image {
    max-height: 300px;
    overflow: hidden;
  }

  .logo img {
    height: 80px;
  }

  .kontakt-text {
    padding: 32px;
  }

  .quote-content {
    padding: 24px 28px 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }
}
