/* ============================================================
   Spezialpraxis Neuro- & Biofeedback – Kathrin Häberer
   Stylesheet | style.css
   ============================================================ */

:root {
  --green: #7db63a;
  --green-dark: #5d8e28;
  --green-light: #e8f4d6;
  --pink: #c683b7;
  --pink-light: #f5e8f2;
  --pink-dark: #a5619a;
  --page-bg: #f4f4f4;
  --grey-mid: #e0e0e0;
  --grey-dark: #555;
  --text: #333;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --radius: 10px;
}

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

body {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.75;
}

/* ── TOPBAR ── */
.topbar {
  background: #2a2a2a;
  color: #bbb;
  font-size: 13px;
  padding: 7px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.header-brand { display:none;}
.topbar a { color: #bbb; text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: var(--pink); }
.topbar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-item { display: flex; gap: 6px; align-items: center; }
.topbar-item span:first-child { color: var(--green); font-size: 12px; }

/* ── HEADER / NAV ── */
#site-header {
  background: #3a3a3a;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.brand-text { display: flex; flex-direction: column; }
.brand-text .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--pink);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.brand-text .brand-sub {
  font-size: 0.78rem;
  color: #aaa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: #2e2e2e;
  padding: 0 20px;
}
nav a {
  color: #ccc;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 17px;
  transition: color 0.2s;
  position: relative;
}
nav a::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--pink);
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  transition: left 0.25s, right 0.25s;
  border-radius: 2px 2px 0 0;
}
nav a:hover,
nav a.active { color: var(--pink); }
nav a:hover::after,
nav a.active::after { left: 10%; right: 10%; }

/* Hamburger */
.ham-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px 0;
  background: none;
  border: none;
}
.ham-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: #ddd;
  border-radius: 2px;
  transition: 0.3s;
}
#nav-toggle { display: none; }

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #2a3a1a 0%, #3d5a25 40%, #5a3a50 100%);
  color: white;
  padding: 80px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 10px;
}
.hero h1 span { color: var(--pink); }
.hero .sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 13px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-pink { background: var(--pink); }
.btn-pink:hover { background: var(--pink-dark); }

/* ── SECTIONS ── */
.section-full { padding: 60px 20px; background: var(--page-bg); }
.section-full.white-bg { background: var(--white); }
.section-green { background: var(--green-light); padding: 60px 20px; }
.section-pink { background: var(--pink-light); padding: 60px 20px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.section-title.pink { color: var(--pink-dark); }

.section-subtitle {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 6px;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 12px 0 30px;
}
.divider.pink { background: var(--pink); }

/* ── TWO COLUMN ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── 6-CARD GRID ── */
.cards-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.card-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.card-body h3.pink { color: var(--pink-dark); }
.card-body p { font-size: 0.9rem; color: var(--grey-dark); line-height: 1.65; flex: 1; }
.card-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.card-tag.pink { background: var(--pink-light); color: var(--pink-dark); }
.card-btn-wrap { margin-top: 14px; }

/* ── INFO BOXES ── */
.info-box {
  background: var(--white);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.info-box.pink { border-left-color: var(--pink); }
.info-box p { font-size: 1rem; color: var(--text); }

/* ── QUOTE ── */
blockquote {
  border-left: 4px solid var(--pink);
  padding: 16px 24px;
  margin: 24px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--pink-dark);
  font-style: italic;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
blockquote cite {
  display: block;
  font-size: 0.85rem;
  font-family: 'Lato', sans-serif;
  font-style: normal;
  color: var(--grey-dark);
  margin-top: 6px;
}

/* ── THERAPY SECTIONS ── */
.therapy-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 40px;
}
.therapy-header {
  padding: 24px 32px 18px;
  border-bottom: 2px solid #f0f0f0;
}
.therapy-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  color: var(--green-dark);
}
.therapy-header h2.pink { color: var(--pink-dark); }
.therapy-body {
  display: grid;
  grid-template-columns: 300px 1fr;
}
.therapy-img {
  background: #f4f4f4;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px;
  border-right: 1px solid #f0f0f0;
}
.therapy-img img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.therapy-text { padding: 28px 32px; }
.therapy-text p { margin-bottom: 14px; font-size: 0.97rem; line-height: 1.8; }
.therapy-text p:last-child { margin-bottom: 0; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--white);
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 18px;
}
.contact-line { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-dark);
}
.contact-line a { color: var(--green-dark); text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }

.form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--pink-dark);
  margin-bottom: 22px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--grey-mid);
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: #fafafa;
  transition: border-color 0.2s;
  outline: none;
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--green); background: #fff; }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-weight: 700;
  margin-top: 16px;
  text-align: center;
}

/* ── PRAXIS NOTE ── */
.praxis-note {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 30px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}

/* ── PRIVATLEISTUNG BOX ── */
.privat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);
}

/* ── KREBS PAGE ── */
.krebs-hero {
  background: linear-gradient(135deg, #3a2040 0%, #5a3060 60%, #2a3a2a 100%);
  padding: 70px 20px;
  text-align: center;
  color: #fff;
}
.krebs-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}
.krebs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.krebs-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.krebs-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--pink-dark);
  margin-bottom: 12px;
}
.krebs-card p { font-size: 0.97rem; line-height: 1.8; }

/* ── HIGHLIGHT STRIP ── */
.highlight-strip {
  background: var(--green);
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 0.97rem;
  font-weight: 700;
}
.highlight-strip a { color: #fff; text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: #1e2820;
  color: #bbb;
  padding: 56px 20px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto 40px;
}
.footer-col h4 {
  color: var(--green);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col p { font-size: 0.9rem; line-height: 1.8; }
.footer-col .portrait {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--green);
  margin-bottom: 12px;
  display: block;
}
.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #bbb; text-decoration: none; font-size: 0.93rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--pink); }
.footer-contact-line { display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.9rem; align-items: flex-start; }
.footer-contact-line span:first-child { color: var(--green); width: 18px; flex-shrink: 0; }
.footer-contact-line a { color: #bbb; text-decoration: none; }
.footer-contact-line a:hover { color: var(--pink); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #777;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #999; text-decoration: none; }
.footer-bottom a:hover { color: var(--pink); }

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--radius);
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}
.modal-box h2 {
  font-family: 'Playfair Display', serif;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.modal-box p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 12px; }
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  background: none;
  border: none;
  line-height: 1;
}
.modal-close:hover { color: var(--pink); }

/* ── UTILITIES ── */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
strong.green { color: var(--green-dark); font-weight: 700; }
strong.pink { color: var(--pink-dark); font-weight: 700; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .cards-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .two-col.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 700px) {
  .ham-btn { display: flex; }
  .topbar { font-size: 11px; padding: 6px 14px; }
  nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }
  nav a { padding: 13px 20px; border-bottom: 1px solid #3a3a3a; }
  nav a::after { display: none; }
  #nav-toggle:checked ~ nav { display: flex; }
  .therapy-body { grid-template-columns: 1fr; }
  .therapy-img { border-right: none; border-bottom: 1px solid #f0f0f0; padding: 20px; }
  .therapy-img img { max-height: 220px; object-fit: contain; }
  .krebs-grid { grid-template-columns: 1fr; }
  .header-brand {
  background: #3a3a3a;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
}

@media (max-width: 560px) {
  .cards-6 { grid-template-columns: 1fr; }
}
