/* ============================================================
   Seele & Haut – Stylesheet
   Erdige Töne, modernes Design, mobile-first
   ============================================================ */

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

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg:           #FAF8F5;
  --bg-alt:       #F0E9DF;
  --bg-card:      #FFFFFF;
  --primary:      #8E6B55;
  --primary-dark: #6B4F3C;
  --primary-light:#C4A48A;
  --accent:       #B89870;
  --text:         #2A1A0E;
  --text-mid:     #5A3E2B;
  --text-light:   #8A6B52;
  --border:       #DDD0C0;
  --shadow-sm:    0 2px 10px rgba(42,26,14,.07);
  --shadow-md:    0 6px 24px rgba(42,26,14,.11);
  --shadow-lg:    0 12px 40px rgba(42,26,14,.15);
  --radius:       10px;
  --radius-sm:    6px;
  --max-w:        1080px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition:   0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 300; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

.text-lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-light);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }
section.alt { background: var(--bg-alt); }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Navigation ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,245,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--primary-dark);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--primary); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-mid);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
  background: rgba(142,107,85,.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-mid);
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ── Hero Section (Vollbild-Foto) ──────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #2A1A0E;  /* Fallback wenn Bild nicht lädt */
}

/* Hintergrundfoto */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  display: block;
}

/* Gradient-Overlay: links dunkel (Text lesbar), rechts durchsichtig */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(30,16,6,.55) 0%,
      rgba(30,16,6,.38) 35%,
      rgba(30,16,6,.15) 65%,
      rgba(30,16,6,.03) 100%),
    linear-gradient(to top,
      rgba(30,16,6,.30) 0%,
      transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text { position: relative; }

.hero-greeting {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.25rem;
  display: block;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 300;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,.85);
  border-left: 3px solid var(--primary-light);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  line-height: 1.65;
}

.hero-contact {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,.75);
}
.hero-contact strong {
  display: block;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
.hero-contact a { color: var(--primary-light); font-weight: 700; }
.hero-contact a:hover { color: #fff; }

/* Marken-Logo im Hero */
.hero-brand-logo {
  position: absolute;
  left: 50%;
  top: 16%;
  transform: translate(-50%, -50%);
  width: 460px;
  max-width: 36%;
  z-index: 2;
  opacity: 0.88;
  pointer-events: none;
}

/* Rechte Spalte: Visitenkarte */
.hero-card {
  background: rgba(20,10,4,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  color: rgba(255,255,255,.9);
  max-width: 380px;
  margin-left: auto;
}

.hero-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.25rem;
}

.hero-card .hero-card-title {
  font-size: 0.82rem;
  color: var(--primary-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: block;
}

.hero-card ul {
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-card li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: 0.9rem;
  color: rgba(255,255,255,.95);
}
.hero-card li:last-child { border-bottom: none; }

/* ── Content Sections ──────────────────────────────────────── */
.content-section { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Card ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body { padding: 1.5rem; }
.card-meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  display: block;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.card-excerpt {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.card-link::after { content: ' →'; }
.card-link:hover { color: var(--primary-dark); }

/* ── Grid Layouts ──────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* ── Button ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(142,107,85,.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Prose (blog content) ──────────────────────────────────── */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose h2 { font-size: 1.75rem; }
.prose h3 { font-size: 1.35rem; }

.prose p { margin-bottom: 1.3rem; }

.prose ul, .prose ol {
  margin: 0 0 1.3rem 1.5rem;
}
.prose li { margin-bottom: 0.4rem; }

.prose blockquote {
  border-left: 3px solid var(--primary-light);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-mid);
  background: rgba(196,164,138,.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ── Blog post page ────────────────────────────────────────── */
.post-hero {
  background: linear-gradient(135deg, #F5EDE0 0%, #EBD9C4 100%);
  padding: 4rem 0 0;
}

.post-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.post-header .breadcrumb {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.post-header .breadcrumb a { color: var(--primary); }
.post-header .breadcrumb a:hover { text-decoration: underline; }

.post-date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  display: block;
}

.post-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--primary-dark);
  max-width: 680px;
  line-height: 1.15;
}

.post-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 2rem;
}

.post-content {
  padding: 3.5rem 0 5rem;
}

.post-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 2rem;
}

.post-footer a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}
.post-footer a:hover { color: var(--primary-dark); }

/* ── Blog Overview ─────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, #F5EDE0 0%, #EBD9C4 100%);
  padding: 4rem 0;
  text-align: center;
}

.blog-hero h1 { color: var(--primary-dark); margin-bottom: 0.75rem; }
.blog-hero p { color: var(--text-mid); font-size: 1.05rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.blog-loading {
  text-align: center;
  padding: 4rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ── About Page ────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 100px;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
}

.cv-list { list-style: none; }
.cv-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.5;
}
.cv-list li:last-child { border-bottom: none; }
.cv-year {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  padding-top: 0.1rem;
  white-space: nowrap;
}

.memberships {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-light);
}
.memberships h4 { margin-bottom: 0.75rem; color: var(--primary-dark); }
.memberships ul { list-style: none; }
.memberships li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--text-mid);
  padding-left: 1rem;
  position: relative;
}
.memberships li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #F5EDE0 0%, #EBD9C4 100%);
  padding: 4rem 0;
}
.page-hero h1 { color: var(--primary-dark); }
.page-hero p { color: var(--text-mid); margin-top: 0.75rem; max-width: 540px; }

/* ── Info Cards (Behandlungsansatz) ───────────────────────── */
.info-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary-light);
}
.info-card h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.info-card p { font-size: 0.95rem; color: var(--text-mid); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 3rem 0;
  font-size: 0.875rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(255,255,255,.9);
  font-weight: 300;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-nav a:hover { color: rgba(255,255,255,.95); }

.footer-copy { opacity: .5; font-size: 0.8rem; }

.footer-asterisk {
  font-size: 0.72rem;
  opacity: .45;
  max-width: 560px;
  line-height: 1.5;
}

/* ── Utility ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-3 { margin-bottom: 2rem; }

.highlight-box {
  background: linear-gradient(135deg, rgba(196,164,138,.15) 0%, rgba(184,152,112,.1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
}

/* ── Impressum / Datenschutz ───────────────────────────────── */
.legal-content { padding: 4rem 0; }
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}
.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { min-height: 70vh; }
  .hero-bg { object-position: center 40%; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding: 11rem 1.5rem 4rem; }
  .hero-card { max-width: 100%; margin-left: 0; }
  .hero-brand-logo { top: 9%; max-width: 72%; width: 360px; }
  .hero::after {
    background:
      linear-gradient(to bottom,
        rgba(30,16,6,.30) 0%,
        rgba(30,16,6,.50) 50%,
        rgba(30,16,6,.65) 100%);
  }
  .grid-3, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { position: static; }
  .about-portrait img { max-width: 260px; margin: 0 auto; }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(250,248,245,.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 0.95rem;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-toggle { display: flex; }
  .site-header { position: sticky; }

  section, .content-section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0 3rem; }

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

  .cv-list li { grid-template-columns: 1fr; gap: 0.25rem; }
  .cv-year { margin-bottom: 0.1rem; }

  .post-featured-img { max-height: 280px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .nav-inner { padding: 0 1rem; }
}
