/* =============================================================
   Yvonne Crössmann – Gesang & Stimmcoaching
   Design: nordisch-elegant, warm, musikalisch
   ============================================================= */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #FAF8F5;
  --text:         #2C2C2C;
  --text-muted:   #6B6560;
  --accent:       #8A9A7B;
  --accent-hover: #6B7D5E;
  --sand:         #D4C5B2;
  --sand-light:   #EDE5D8;
  --white:        #FFFFFF;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --max-w:  1000px;
  --prose-w: 700px;

  --radius: 8px;
  --shadow: 0 2px 12px rgba(44, 44, 44, 0.08);
  --shadow-hover: 0 4px 20px rgba(44, 44, 44, 0.14);

  --section-gap: 100px;
  --nav-h: 72px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
}

/* ── Section spacing ───────────────────────────────────────── */
.section {
  padding-block: var(--section-gap);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: var(--text);
}

/* ── Typography helpers ─────────────────────────────────────── */
.text-center { text-align: center; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-full { width: 100%; text-align: center; }

/* ── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-light);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(44, 44, 44, 0.10);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  line-height: 1.2;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.site-logo:hover .logo-name { color: var(--accent); }

/* Nav links */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 0.4rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 4px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 2px;
  left: 0.7rem;
  right: 0.7rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--accent); }
.main-nav a.active::after,
.main-nav a:hover::after { transform: scaleX(1); }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e0d4 0%, #d4c9b8 40%, #c5bfb0 100%);
}
.hero-image-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(138, 154, 123, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, #ede5d8 0%, #d8cfc3 50%, #ccc4b5 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 5rem;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Intro ─────────────────────────────────────────────────── */
.intro-text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-style: italic;
  line-height: 1.75;
  max-width: var(--prose-w);
  margin-inline: auto;
  color: var(--text);
}

/* ── Service cards ─────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.card-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.card-link::after { content: ' →'; }
.card-link:hover { color: var(--accent-hover); }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials-section {
  background: var(--sand-light);
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: var(--prose-w);
  margin-inline: auto;
}
.testimonial {
  position: relative;
  padding: 2rem 1.75rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -0.6rem;
  left: 1.25rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.6;
}
.testimonial p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text);
}
.testimonial footer {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ── Area section ──────────────────────────────────────────── */
.area-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: var(--prose-w);
  margin-inline: auto;
}

/* ── CTA section ───────────────────────────────────────────── */
.cta-section {
  background: var(--accent);
  padding-block: 80px;
}
.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-sub {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-size: 1rem;
}
.cta-section .btn-primary {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}
.cta-section .btn-primary:hover {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--accent-hover);
}

/* ── Page hero ─────────────────────────────────────────────── */
.page-hero {
  padding-block: 3.5rem 2.5rem;
  border-bottom: 1px solid var(--sand-light);
  background: var(--white);
}
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text);
}

/* ── Prose (markdown rendered content) ─────────────────────── */
.prose {
  max-width: var(--prose-w);
}
.prose p,
.prose li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
}
.prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--sand);
}
.prose h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.prose li { margin-bottom: 0.4rem; }
.prose strong { font-weight: 600; color: var(--text); }
.prose em { font-style: italic; }
.prose a { color: var(--accent); }
.prose a:hover { color: var(--accent-hover); text-decoration: underline; }
.prose hr {
  border: none;
  border-top: 1px solid var(--sand);
  margin-block: 2.5rem;
}

/* Blockquotes (testimonials page) */
.prose blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1.75rem 1.5rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.prose blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.6;
}
.prose blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.prose blockquote + p {
  text-align: right;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

/* Tables (pricing & repertoire) */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.prose thead tr {
  background: var(--sand);
}
.prose th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: var(--text);
}
.prose td {
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--sand-light);
  color: var(--text);
}
.prose tbody tr:nth-child(even) {
  background: #faf8f5;
}
.prose tbody tr:hover {
  background: rgba(138, 154, 123, 0.07);
}

/* ── Contact page ──────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.contact-details {
  margin-block: 1.75rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-details p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
}
.contact-details p:last-child { margin-bottom: 0; }
.contact-area {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--sand);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138, 154, 123, 0.18);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-privacy label { font-size: 0.875rem; color: var(--text-muted); }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--accent);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(250, 248, 245, 0.75);
  padding-block: 3.5rem;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}
.site-footer .logo-name { color: var(--bg); }
.site-footer .logo-sub  { color: rgba(250, 248, 245, 0.5); }
.footer-tagline {
  font-size: 0.875rem;
  max-width: 500px;
  line-height: 1.6;
}
.footer-contact {
  font-size: 0.9rem;
}
.footer-contact a {
  color: var(--sand);
  text-decoration: none;
}
.footer-contact a:hover { color: var(--bg); }
.footer-nav {
  display: flex;
  gap: 1.5rem;
}
.footer-nav a {
  font-size: 0.8rem;
  color: rgba(250, 248, 245, 0.55);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--bg); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(250, 248, 245, 0.35);
  margin-top: 0.25rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
  }

  /* Nav mobile */
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--sand);
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(44, 44, 44, 0.12);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav a {
    padding: 0.8rem 0.5rem;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--sand-light);
  }
  .main-nav a::after { display: none; }

  /* Hero */
  .hero-content { padding-block: 4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  /* Cards: 2-col on tablet, 1-col on small */
  .cards { grid-template-columns: 1fr; }

  /* Testimonials: 1-col */
  .testimonials { grid-template-columns: 1fr; }

  /* Contact layout: stack */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 480px) and (max-width: 768px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .logo-name { font-size: 1.1rem; }
}
