/* ============================================
   Janina Tabea Ritter – Psychologische Beratung
   ============================================ */

/* ---------- Lokale Schriften (DSGVO-freundlich) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans.woff2") format("woff2");
}

:root {
  --bg: #fafafa;
  --text: #4a3f4a;
  --text-muted: #726572;
  --text-soft: #8a7d8a;
  --accent: #b9a2b9;
  --accent-dark: #a98ba9;
  --accent-soft: #d9c9d9;
  --card-pink: #f5eef3;
  --card-gray: #f2f1f3;
  --white: #ffffff;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Scroll-Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* ---------- Typografie ---------- */
.kicker {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
}

h1 { font-size: clamp(38px, 5vw, 56px); }
h2 { font-size: clamp(34px, 4vw, 48px); }
h3 { font-size: 24px; }

.italic { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(185, 162, 185, 0.45);
}
.btn-outline {
  background: var(--white);
  color: var(--text-muted);
  border: 1px solid #e5e0e5;
}
.btn-outline:hover { border-color: var(--accent); color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 24px;
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
.site-header.scrolled {
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(74, 63, 74, 0.06);
}
.site-header .logo img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: 50%;
  margin: 12px 0 -14px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header nav a.navlink {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.site-header nav a.navlink:hover { color: var(--text); }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #eee9ee;
}
#hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
#hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250, 250, 250, 0.5), rgba(250, 250, 250, 0.65), rgb(250, 250, 250));
}
#hero .hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 120px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.portrait {
  width: clamp(280px, 26vw, 384px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(74, 63, 74, 0.1), 0 4px 6px -4px rgba(74, 63, 74, 0.1);
  flex-shrink: 0;
}
.hero-text .kicker { margin-bottom: 12px; }
.hero-text p.lead {
  margin: 18px 0 30px;
  max-width: 460px;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #3d353d;
  color: #f5f2f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}
.socials a:hover { background: var(--accent); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Über mich / Qualifikationen ---------- */
#ueber-mich {
  position: relative;
  padding: 110px 0 130px;
  overflow: hidden;
}
#ueber-mich .section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#ueber-mich .section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%) sepia(15%) hue-rotate(220deg) saturate(1.5);
  opacity: 0.5;
}
#ueber-mich .section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 250, 0.55);
}
#ueber-mich .container { position: relative; z-index: 1; }

.section-head { text-align: center; margin-bottom: 64px; }
.section-head .sub {
  margin-top: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}
.qual-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(74, 63, 74, 0.06);
}
.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #efe7ee;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.icon-circle svg { width: 20px; height: 20px; }
.qual-card h3 { margin-bottom: 14px; }
.qual-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Angebot / Themen ---------- */
#angebot { padding: 110px 0 130px; }

.themen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.thema-card {
  border-radius: 20px;
  padding: 36px 30px 42px;
  background: var(--card-pink);
}
.thema-card.gray { background: var(--card-gray); }
.thema-card h3 { margin-bottom: 18px; }
.thema-card ul { list-style: none; }
.thema-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.thema-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.kosten-card {
  background: var(--accent);
  color: var(--bg);
  border-radius: 20px;
  padding: 36px 30px 42px;
  display: flex;
  flex-direction: column;
}
.kosten-card .kicker { color: rgba(250, 250, 250, 0.8); }
.kosten-card .price {
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
}
.kosten-card .per { font-size: 14px; color: rgba(250, 250, 250, 0.85); }
.kosten-card .btn {
  margin-top: auto;
  background: rgba(250, 250, 250, 0.92);
  color: var(--text-muted);
  justify-content: center;
}
.kosten-card .btn:hover { background: var(--white); color: var(--text); }

/* ---------- Kontakt / Erstgespräch ---------- */
#kontakt {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
#kontakt .section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#kontakt .section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
#kontakt .section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 250, 0.55);
}
#kontakt .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.kontakt-text p {
  margin-top: 22px;
  color: var(--text-muted);
  max-width: 440px;
}

.form-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 8px 40px rgba(74, 63, 74, 0.08);
}
.form-card label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.form-card input,
.form-card textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd6dd;
  background: transparent;
  padding: 8px 2px 12px;
  margin-bottom: 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  resize: vertical;
}
.form-card input::placeholder,
.form-card textarea::placeholder { color: #b3a8b3; }
.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.form-card .btn { width: 100%; justify-content: center; }
.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 16px;
}

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e9e4e9;
}
.footer-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-brand .brand-row img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
}
.footer-brand .brand-row span {
  font-family: var(--font-serif);
  font-size: 26px;
}
.footer-brand p { font-size: 14.5px; color: var(--text-muted); }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 14.5px; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 13px;
  color: var(--text-soft);
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Rechtsseiten ---------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 24px 100px;
}
.legal-page .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.legal-page .back:hover { color: var(--text); }
.legal-page h1 { margin-bottom: 40px; }
.legal-page h2 {
  font-size: 26px;
  margin: 40px 0 14px;
}
.legal-page p { color: var(--text-muted); margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  #hero .hero-inner { flex-direction: column; text-align: center; padding-top: 130px; }
  .hero-text p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .socials { justify-content: center; }
  #kontakt .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
/* ---------- Mobiles Menü (Burger) ---------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 49;
  background: rgba(250, 250, 250, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee9ee;
  padding: 12px 24px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 4px;
  font-size: 16px;
  color: var(--text-muted);
  border-bottom: 1px solid #f0ecf0;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.btn {
  margin-top: 10px;
  justify-content: center;
  color: var(--bg);
}

@media (max-width: 768px) {
  .site-header nav a.navlink,
  .site-header nav a.btn { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Rechtsseiten: Feinschliff für eRecht24-Texte ---------- */
.legal-page h3 { font-size: 21px; margin: 28px 0 10px; }
.legal-page h4 { font-family: var(--font-sans); font-size: 15px; font-weight: 600; margin: 20px 0 8px; }
.legal-page h5 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; margin: 16px 0 8px; }
.legal-page ul { color: var(--text-muted); margin: 0 0 14px 22px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a:not(.back) { color: var(--accent-dark); text-decoration: underline; word-break: break-word; }
