/* public/css/style.css */

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  --sage:       #7a9e8e;
  --sage-light: #b8d4c8;
  --sage-pale:  #e8f2ee;
  --stone:      #5a5a5a;
  --stone-light:#6b6b6b;
  --cream:      #f7f4ef;
  --warm-white: #fdfcfa;
  --ink:        #2c2c2c;
  --gold:       #b8956a;
  --gold-pale:  #f5ede0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;

  --radius: 4px;
  --shadow: 0 2px 24px rgba(90,90,80,0.08);
  --shadow-card: 0 4px 32px rgba(90,90,80,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ─── Barrierefreiheit ───────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 0.5rem; top: -3rem;
  background: var(--stone);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  color: white;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.25;
  color: var(--stone);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

/* ─── Layout helpers ─────────────────────────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--wide { max-width: 1100px; }

/* ─── Header / Nav ───────────────────────────────────────────── */
.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--sage-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(90,90,80,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.site-logo:hover img {
  transform: scale(1.15);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--stone);
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone-light);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--sage);
  border-bottom-color: var(--sage);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--stone);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--sage-pale) 0%, var(--gold-pale) 100%);
  padding: 5rem 1.5rem 4rem;
}
.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
}
.hero-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--stone);
  line-height: 1.5;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
  margin-bottom: 1rem;
}
.hero-quote-author {
  font-size: 0.9rem;
  color: var(--stone-light);
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}
.hero-intro {
  font-size: 1.1rem;
  color: var(--stone);
  margin-bottom: 1rem;
}
.hero-text { color: var(--stone-light); margin-bottom: 1.5rem; }
.hero-cta {
  font-style: italic;
  color: var(--sage);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.hero-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
}
.hero-image-wrap {
  position: relative;
}
.hero-image-wrap img {
  width: 100%;
  border-radius: 2px;
  box-shadow: var(--shadow-card);
  object-fit: cover;
  aspect-ratio: 3/4;
}
/* Signature element: subtle corner ornament */
.hero-image-wrap::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  width: 60px; height: 60px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}
.hero-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--sage);
  border-right: 2px solid var(--sage);
}

/* ─── Sections ───────────────────────────────────────────────── */
.section {
  padding: 4rem 1.5rem;
}
.section--alt { background: var(--warm-white); }
.section--dark {
  background: var(--stone);
  color: #e8e4dc;
}
.section--dark h2 { color: var(--sage-light); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.section-title { margin-bottom: 1.5rem; }
.section-text { max-width: 680px; color: var(--stone-light); }

/* ─── Angebote Cards ─────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--cream);
  border: 1px solid var(--sage-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.card h3 { color: var(--sage); margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; color: var(--stone-light); }

/* ─── Termine ────────────────────────────────────────────────── */
.termine-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.termin-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--cream);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.termin-datum {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--sage);
  line-height: 1.4;
}
.termin-uhrzeit {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}
.termin-titel {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--stone);
  margin-bottom: 0.25rem;
}
.termin-beschreibung { font-size: 1rem; color: var(--stone-light); }
.termin-ort {
  font-size: 0.9rem;
  color: var(--stone-light);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.no-termine {
  color: var(--stone-light);
  font-style: italic;
  padding: 1.5rem 0;
}

/* ─── Content page layout ────────────────────────────────────── */
.content-page {
  padding: 4rem 1.5rem;
}
.content-page-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.content-page-inner.no-image {
  grid-template-columns: 1fr;
}
.content-page-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.content-page-text h1 { margin-bottom: 1.5rem; }
.content-page-text p { margin-bottom: 1rem; color: var(--stone-light); }

/* ─── Kontakt / Formular ─────────────────────────────────────── */
.contact-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--stone-light);
}
.contact-detail-icon { font-size: 1.2rem; margin-top: 0.1rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sage-light);
  border-radius: var(--radius);
  background: var(--warm-white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122,158,142,0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--sage);
  color: white;
}
.btn-primary:hover { background: #6a8e7e; color: white; transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: white;
}
.btn-gold:hover { background: #a8855a; color: white; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.alert-success { background: var(--sage-pale); color: #3a6b5a; border: 1px solid var(--sage-light); }
.alert-error   { background: #fde8e8; color: #8b2020; border: 1px solid #f5c6c6; }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--stone);
  color: #b0a898;
  padding: 2.5rem 1.5rem;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: #b0a898; }
.footer-links a:hover { color: var(--sage-light); }

/* ─── Page title banner ──────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--sage-pale), var(--gold-pale));
  padding: 3rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--sage-light);
}
.page-banner h1 { color: var(--stone); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { order: -1; max-width: 280px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .content-page-inner { grid-template-columns: 1fr; }
  .content-page-image { order: -1; }
  .termin-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--warm-white); padding: 1rem 1.5rem; border-bottom: 1px solid var(--sage-light); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ─── Über mich Blöcke ───────────────────────────────────── */
.ueber-text {
  color: var(--stone-light);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.ueber-zitat {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--stone);
  line-height: 1.65;
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--gold-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.ueber-zitat cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

.ueber-ausbildungen {
  margin-top: 2rem;
}
.ueber-ausbildungen h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--sage-light);
}
.ausbildung-liste {
  list-style: none;
  padding: 0;
}
.ausbildung-liste li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-bottom: 1px solid #f0ede8;
  color: var(--stone-light);
  font-size: 0.95rem;
  position: relative;
}
.ausbildung-liste li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.6rem;
}
.ausbildung-liste li:last-child { border-bottom: none; }

/* ─── Termin mit Bild ────────────────────────────────────── */
.termin-bild {
  margin-bottom: 0.75rem;
}
.termin-bild img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.termin-content { width: 100%; }

/* ─── Impressum / Legal ──────────────────────────────────── */
.legal-block {
  margin-bottom: 1.75rem;
}
.legal-block h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.legal-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--stone-light);
}
.legal-block a { color: var(--sage); }

/* ─── Angebote-Preview auf Startseite ───────────────────── */
.angebote-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.angebot-card {
  background: var(--warm-white);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.angebot-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.angebot-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--stone); }
.angebot-card p { font-family: var(--font-display); font-size: 0.95rem; font-style: italic; color: var(--stone-light); line-height: 1.7; margin: 0; }
@media (max-width: 768px) {
  .angebote-preview { grid-template-columns: 1fr; }
}
