/* ============================================
   1. CSS Variables
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600&family=Inter:wght@300;400;500&display=swap');

:root {
  /* Background */
  --color-bg: #faf8f6;

  /* Text */
  --color-text: #2a2a2a;
  --color-text-light: #555555;
  --color-text-muted: #999999;

  /* Accent — turquoise */
  --color-accent: #89cbcc;
  --color-accent-dark: #6ab3b4;
  --color-accent-soft: rgba(137,203,204,0.06);
  --color-accent-border: rgba(137,203,204,0.3);

  /* Sage (cool neutral, complements petrol) */
  --color-sage: #c4d0cc;

  /* Petrol — deeper turquoise for contrast accents */
  --color-petrol: #3d7b7d;
  --color-petrol-soft: rgba(61,123,125,0.06);
  --color-petrol-border: rgba(61,123,125,0.35);

  /* Divider */
  --color-divider: #3d7b7d;

  /* Vacation banner (petrol-tinted notice) */
  --color-vacation-bg: #eff6f6;
  --color-vacation-border: #a9cdce;
  --color-vacation-text: #3d7b7d;

  /* Layout */
  --max-width: 800px;
  --section-padding: 6rem 2rem;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: underline;
}

/* ============================================
   3. Typography
   ============================================ */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.3;
}

/* ============================================
   4. Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.hero__mountains {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__lake {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__circle--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -80px;
  border: 1px solid var(--color-accent-border);
}

.hero__circle--2 {
  width: 250px;
  height: 250px;
  bottom: 120px;
  left: -60px;
  border: 1px solid var(--color-petrol-border);
}

.hero__circle--3 {
  width: 150px;
  height: 150px;
  top: 25%;
  left: 15%;
  background: var(--color-accent-soft);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 2rem;
}

.hero__name {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 0.4rem;
}

.hero__practice {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-petrol);
}

.hero__contact {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 300;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero__contact[hidden] {
  display: none;
}

.hero__contact-sep {
  color: var(--color-text-muted);
}

.hero__contact a {
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(137,203,204,0.3);
  transition: color 0.3s, border-color 0.3s;
}

.hero__contact a:hover {
  color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  text-decoration: none;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #bbb;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #ccc, transparent);
}

/* ============================================
   5. Content Sections
   ============================================ */
.section {
  padding: var(--section-padding);
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.section--full {
  max-width: none;
  background: linear-gradient(170deg, rgba(196,208,204,0.2), rgba(196,208,204,0.08));
  overflow: hidden;
}

.section--full-reverse {
  background: linear-gradient(170deg, rgba(196,208,204,0.08), rgba(196,208,204,0.2));
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-petrol);
  margin-bottom: 1.5rem;
}

.section__heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.section__divider {
  width: 40px;
  height: 1px;
  background: var(--color-divider);
  margin-bottom: 2rem;
}

/* ============================================
   6. Vacation Banner
   ============================================ */
.vacation-banner {
  background: var(--color-vacation-bg);
  border-bottom: 1px solid var(--color-vacation-border);
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--color-vacation-text);
}

.vacation-banner__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.vacation-banner__dates {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.vacation-banner__message {
  font-size: 0.9rem;
  font-weight: 300;
}

.vacation-banner[hidden] {
  display: none;
}

/* ============================================
   7. Leistungen
   ============================================ */
.leistungen-content ul {
  list-style: none;
  padding: 0;
}

.leistungen-content li {
  padding: 0.8rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 1rem;
  color: var(--color-text-light);
  font-weight: 300;
}

.leistungen-content li:last-child {
  border-bottom: none;
}

.leistungen-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.leistungen-content p {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-light);
  font-weight: 300;
}

.leistungen-content strong {
  font-weight: 500;
  color: var(--color-text);
}

/* ============================================
   8. Ordinationszeiten
   ============================================ */
.section__mountain-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hours-day,
.hours-time {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.95rem;
}

.hours-day {
  font-weight: 400;
  color: var(--color-text);
}

.hours-time {
  color: var(--color-text-light);
  font-weight: 300;
  text-align: right;
}

.hours-day:nth-last-child(2),
.hours-time:last-child {
  border-bottom: none;
}

/* ============================================
   9. Über mich
   ============================================ */
#uebermich-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-light);
  font-weight: 300;
  max-width: 600px;
}

#uebermich-content strong {
  font-weight: 500;
  color: var(--color-text);
}

/* ============================================
   10. Kontakt
   ============================================ */
.kontakt-grid {
  display: grid;
  gap: 1.5rem;
}

.kontakt-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.kontakt-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-petrol);
}

.kontakt-value {
  font-size: 1rem;
  color: var(--color-text-light);
  font-weight: 300;
}

.kontakt-value a {
  color: var(--color-accent-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(137,203,204,0.3);
  transition: border-color 0.3s;
}

.kontakt-value a:hover {
  border-color: var(--color-accent-dark);
}

.kontakt-map {
  display: block;
  margin-top: 1rem;
}

.kontakt-map img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
}

.kontakt-map-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-accent-dark);
  border-bottom: 1px solid rgba(137,203,204,0.3);
  transition: border-color 0.3s;
}

.kontakt-map-link:hover {
  border-color: var(--color-accent-dark);
  text-decoration: none;
}

/* ============================================
   11. Footer
   ============================================ */
.site-footer {
  text-align: center;
  padding: 3rem 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.site-footer a {
  color: var(--color-text-muted);
  text-decoration: none;
  margin: 0 0.5rem;
}

.site-footer a:hover {
  color: var(--color-accent-dark);
}

/* ============================================
   12. Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal .section__label {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal .section__heading {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.reveal .section__divider {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.16s,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.16s;
}

.reveal.revealed .section__label,
.reveal.revealed .section__heading,
.reveal.revealed .section__divider {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   13. Admin Panel (preserved from original)
   ============================================ */
.admin-login {
  max-width: 360px;
  margin: 4rem auto;
  text-align: center;
}

.admin-login__title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.admin-dashboard {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.admin-section {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.admin-section__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-accent-dark);
  border-bottom: 2px solid rgba(137,203,204,0.2);
  padding-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(137,203,204,0.2);
}

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

.form-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.toggle {
  position: relative;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background-color: #ccc;
  border-radius: 28px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle input:checked + .toggle-slider {
  background-color: var(--color-accent);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.toggle-label {
  font-weight: 500;
}

.vacation-fields {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.vacation-fields[hidden] {
  display: none;
}

.hours-editor-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: center;
}

.hours-editor-row input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.hours-editor-row input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(137,203,204,0.2);
}

.btn-remove-row {
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: #999;
  font-size: 1rem;
  line-height: 1;
}

.btn-remove-row:hover {
  color: #e74c3c;
  border-color: #e74c3c;
}

.btn-add-row {
  background: none;
  border: 1px dashed var(--color-accent);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: var(--color-accent-dark);
  font-size: 0.9rem;
  width: 100%;
  margin-top: 0.25rem;
}

.btn-add-row:hover {
  background: rgba(137,203,204,0.1);
}

.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.feedback {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.feedback--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.feedback--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.feedback[hidden] {
  display: none;
}

/* ============================================
   14. Responsive
   ============================================ */
@media (max-width: 600px) {
  :root {
    --section-padding: 4rem 1.25rem;
  }

  .hero {
    padding: 1.25rem;
  }

  .hero__logo {
    max-width: 140px;
  }

  .hero__name {
    font-size: 2.4rem;
  }

  .section__heading {
    font-size: 1.5rem;
  }

  .hero__circle--1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -40px;
  }

  .hero__circle--2 {
    width: 125px;
    height: 125px;
    bottom: 80px;
    left: -30px;
  }

  .hero__circle--3 {
    width: 75px;
    height: 75px;
  }

  .hero__mountains {
    width: 250%;
    left: -75%;
  }

  .section__mountain-accent {
    width: 100%;
    height: 45%;
    top: auto;
    right: 0;
    bottom: 0;
  }

  .hero__contact {
    flex-direction: column;
    gap: 0.3rem;
  }

  .hero__contact-sep {
    display: none;
  }

  .hours-editor-row {
    flex-wrap: wrap;
  }

  .hours-editor-row input {
    min-width: 0;
  }
}
