/* ============================================
   Psychotherapeutische Praxis Lisa Skupin
   CSS — Mobile-first, responsive
   ============================================ */

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

:root {
  /* Warme Erde palette */
  --bg-cream: #F7F3EE;
  --bg-beige: #E8DDD3;
  --white: #FFFFFF;
  --accent-gold: #C9B99A;
  --accent-gold-hover: #B8A585;
  --text-secondary: #8B7D6B;
  --text-primary: #5C4F3D;
  --nav-bg: #5C4F3D;
  --nav-text: #F7F3EE;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 60px 20px;
  --container-width: 960px;
  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-gold-hover);
  text-decoration: none;
}

a:hover {
  color: var(--text-primary);
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.3;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75em;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

/* --- Section Base --- */
.section {
  padding: var(--section-padding);
}

.section--alt {
  background-color: var(--bg-beige);
}

.section__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
}

.nav__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  color: var(--nav-text);
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
  margin-right: 2rem;
}

.nav__logo:hover {
  color: var(--nav-text);
}

.nav__links {
  display: none;
  list-style: none;
  gap: 1.25rem;
}

.nav__links a {
  color: var(--nav-text);
  font-size: 0.8rem;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.nav__links a:hover,
.nav__links a.active {
  border-bottom-color: var(--accent-gold);
  color: var(--nav-text);
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nav-text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--nav-bg);
  z-index: 999;
  padding: 2rem;
}

.nav__mobile.open {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav__mobile a {
  color: var(--nav-text);
  font-size: 1.1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}

.nav__mobile a:hover {
  color: var(--accent-gold);
}

/* --- Hero --- */
.hero {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--bg-cream), var(--bg-beige));
  text-align: center;
}

.hero__portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero__title {
  font-size: 1.5rem;
  margin-bottom: 0.25em;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero__text {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent-gold);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-gold-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn--outline:hover {
  background: var(--accent-gold);
  color: var(--white);
}

/* --- Tags (Behandlungsspektrum) --- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1rem 0;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--bg-beige);
  border-radius: 24px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--bg-beige);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 1rem;
}

/* --- Two-column layout --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

/* --- Image with rounded corners --- */
.img-rounded {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* --- Lists --- */
.list-styled {
  list-style: none;
  padding: 0;
}

.list-styled li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}

.list-styled li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--bg-beige);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.form-message {
  padding: 12px;
  border-radius: 6px;
  margin-top: 1rem;
  display: none;
}

.form-message--success {
  background: #e8f5e9;
  color: #2e7d32;
  display: block;
}

.form-message--error {
  background: #fbe9e7;
  color: #c62828;
  display: block;
}

/* --- Google Maps --- */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-top: 1rem;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* --- Footer --- */
.footer {
  background: var(--nav-bg);
  color: var(--bg-beige);
  padding: 2rem 20px;
  text-align: center;
  font-size: 0.85rem;
}

.footer a {
  color: var(--accent-gold);
}

.footer a:hover {
  color: var(--nav-text);
}

.footer__links {
  margin-top: 0.75rem;
}

.footer__links a {
  margin: 0 0.75rem;
}

/* --- Vita Timeline --- */
.vita-item {
  padding: 0.75rem 0 0.75rem 1.5rem;
  border-left: 2px solid var(--bg-beige);
  position: relative;
}

.vita-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 1.1rem;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
}

.vita-item strong {
  display: block;
  color: var(--text-primary);
}

.vita-item span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Aktuelles Cards --- */
.news-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--bg-beige);
  border-left: 4px solid var(--accent-gold);
  margin-bottom: 1rem;
}

.news-card h3 {
  margin-bottom: 0.5rem;
}

/* --- Responsive: Tablet (768px+) --- */
@media (min-width: 768px) {
  :root {
    --section-padding: 80px 20px;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero__portrait {
    width: 220px;
    height: 220px;
  }

  .hero__title { font-size: 2rem; }

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

/* --- Responsive: Desktop (1024px+) --- */
@media (min-width: 1024px) {
  :root {
    --section-padding: 100px 20px;
    --container-width: 1060px;
  }

  h1 { font-size: 2.75rem; }

  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  .hero__portrait {
    width: 250px;
    height: 250px;
  }
}
