/* ─── VARIABLEN ───────────────────────────────────────────────────────────────── */
:root {
  --cream:        #f3f1ec;
  --warm-white:   #faf9f6;
  --charcoal:     #232830;
  --warm-gray:    #6b7280;
  --blue:         #2a5f8f;       /* Hauptblau */
  --blue-mid:     #3a7abf;       /* Mittleres Blau */
  --blue-light:   #d0e4f5;       /* Helles Blau für Hover/Bg */
  --blue-pale:    #eaf3fb;       /* Sehr helles Blau */
  --accent:       #1e4d7a;       /* Dunkleres Akzentblau */
  --accent-warm:  #8b6f47;       /* Warmes Braun für Akzente */
  --border:       #d0d8e0;
  --border-light: #e8eef4;
  --red:          #b33030;
  --green:        #2e7d42;
  --shadow-sm:    0 1px 4px rgba(42,95,143,0.10);
  --shadow-md:    0 4px 20px rgba(42,95,143,0.13);
}

/* ─── RESET & BASE ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  font-weight: 300;
  line-height: 1.75;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ─── HEADER ──────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--charcoal);
  border-bottom: 2px solid var(--blue);
  padding: 0 5vw;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 400; letter-spacing: 0.04em;
  color: #fff;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }
.logo span { color: var(--blue-mid); font-style: italic; }

.main-nav { display: flex; gap: 1.8rem; align-items: center; }
.main-nav a {
  font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase;
  font-weight: 400; color: rgba(255,255,255,0.65);
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover  { color: #fff; border-color: var(--blue-mid); }
.main-nav a.active { color: #fff; border-color: var(--blue-mid); }

.menu-toggle {
  display: none; background: none; border: none;
  padding: 8px; flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 24px; height: 1.5px; background: rgba(255,255,255,0.8);
  transition: transform 0.25s, opacity 0.25s;
}

/* ─── HERO ────────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a2d45 100%);
  padding: 72px 5vw 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; min-height: 480px;
}
.hero-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300; line-height: 1.15; color: #fff; margin-bottom: 1.4rem;
}
.hero-text h1 em { color: var(--blue-mid); font-style: italic; }
.hero-text p {
  color: rgba(255,255,255,0.68); font-size: 1rem;
  line-height: 1.9; max-width: 440px; margin-bottom: 2.2rem;
}
.btn-primary {
  display: inline-block; padding: 12px 34px;
  background: var(--blue); color: #fff; border: 1px solid var(--blue);
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 400; transition: background 0.25s, border-color 0.25s;
}
.btn-primary:hover { background: var(--blue-mid); border-color: var(--blue-mid); }
.btn-outline {
  display: inline-block; padding: 10px 28px;
  border: 1px solid var(--blue-mid); color: var(--blue);
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 400; transition: all 0.25s; background: transparent;
}
.btn-outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.hero-visual {
  position: relative;
  background: linear-gradient(135deg, rgba(42,95,143,0.3) 0%, rgba(30,77,122,0.5) 100%);
  border: 1px solid rgba(58,122,191,0.3);
  height: 380px; display: flex; align-items: center; justify-content: center;
}
.hero-visual::before {
  content: ''; position: absolute; inset: 16px;
  border: 1px solid rgba(58,122,191,0.2); pointer-events: none;
}
.hero-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 9rem; font-weight: 300; color: rgba(58,122,191,0.25);
  font-style: italic; user-select: none; line-height: 1;
}

/* ─── ZITAT-BANNER ────────────────────────────────────────────────────────────── */
.quote-banner {
  background: var(--blue);
  padding: 48px 5vw; text-align: center;
}
.quote-banner blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto; line-height: 1.6;
}
.quote-banner cite {
  display: block; font-size: 0.75rem; font-family: 'Jost', sans-serif;
  font-style: normal; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-light); margin-top: 1.2rem;
}

/* ─── VORSCHAU-RASTER (Startseite) ───────────────────────────────────────────── */
.preview-section { padding: 56px 5vw; }
.preview-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 300;
  color: var(--accent); margin-bottom: 1.5rem;
  padding-bottom: 0.8rem; border-bottom: 1px solid var(--border-light);
}
.preview-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 3px;
}
.preview-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--cream); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.preview-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.preview-card:hover img { transform: scale(1.06); }
.preview-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,45,69,0.82) 100%);
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: flex-end; padding: 16px;
  opacity: 0; transition: opacity 0.35s;
}
.preview-card:hover .preview-overlay { opacity: 1; }
.preview-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 400; color: #fff; margin-bottom: 2px;
}
.preview-overlay span {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-light);
}
.placeholder-art {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.5rem; color: var(--warm-gray);
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 0.95rem;
  text-align: center; padding: 2rem;
}
.preview-more { text-align: center; margin-top: 2.5rem; }

/* ─── SECTION-HEADER ──────────────────────────────────────────────────────────── */
.section-header {
  background: var(--charcoal);
  padding: 48px 5vw 40px;
  display: flex; align-items: flex-end; gap: 1.5rem;
  border-bottom: 2px solid var(--blue);
}
.section-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem; font-weight: 300; color: rgba(42,95,143,0.35);
  line-height: 1; flex-shrink: 0;
}
.section-header h1, .section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; color: #fff;
}
.section-header p { color: rgba(255,255,255,0.55); font-size: 0.92rem; margin-top: 0.3rem; }

/* ─── BIOGRAFIE ───────────────────────────────────────────────────────────────── */
.bio-layout {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 56px; padding: 56px 5vw; max-width: 1100px;
}
.bio-aside {
  border-right: 1px solid var(--border-light);
  padding-right: 48px;
}
.bio-aside h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 400; color: var(--blue);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
.timeline { }
.timeline li {
  display: flex; gap: 1rem; padding: 7px 0;
  border-bottom: 1px dotted var(--border-light); font-size: 0.88rem;
}
.timeline li strong { min-width: 36px; color: var(--blue); font-weight: 500; }
.timeline li span { color: var(--warm-gray); }
.bio-main h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400; color: var(--charcoal);
  margin: 2rem 0 0.8rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
.bio-main p { color: var(--warm-gray); font-size: 0.95rem; margin-bottom: 1.1rem; line-height: 1.85; }
.exh-list li {
  display: flex; gap: 1.5rem; padding: 8px 0;
  border-bottom: 1px dotted var(--border-light); font-size: 0.9rem; color: var(--warm-gray);
}
.exh-list li strong { min-width: 36px; color: var(--charcoal); font-weight: 500; }

/* ─── GALERIE ─────────────────────────────────────────────────────────────────── */
.gallery-bar {
  padding: 28px 5vw 0;
  display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center;
  border-bottom: 1px solid var(--border-light);
  background: #fff;
}
.cat-btn {
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 18px; border: 1px solid var(--border); margin-bottom: 12px;
  background: transparent; color: var(--warm-gray);
  transition: all 0.2s; font-family: 'Jost', sans-serif; font-weight: 400;
}
.cat-btn:hover { border-color: var(--blue-mid); color: var(--blue); }
.cat-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 3px; padding: 24px 5vw 56px; background: var(--warm-white);
}
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,45,69,0.85));
  padding: 40px 14px 14px;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.98rem; font-weight: 400; color: #fff; margin-bottom: 2px;
}
.gallery-item-overlay small {
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-light);
}
.gallery-empty {
  grid-column: 1/-1; padding: 80px; text-align: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
  font-style: italic; color: var(--warm-gray);
}

/* ─── LIGHTBOX ────────────────────────────────────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(15,24,36,0.95); z-index: 9999;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-wrap { display: flex; flex-direction: column; align-items: center; max-width: 90vw; }
.lightbox-wrap img {
  max-width: 85vw; max-height: 72vh; object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lightbox-info { color: #fff; text-align: center; margin-top: 1.2rem; }
.lightbox-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 400;
}
.lightbox-info p { font-size: 0.82rem; color: var(--blue-light); margin-top: 0.25rem; }
.lb-desc { font-size: 0.88rem !important; color: rgba(255,255,255,0.6) !important; margin-top: 0.4rem !important; }
.lightbox-close {
  position: fixed; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; width: 40px; height: 40px; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; border-radius: 0;
}
.lightbox-close:hover { background: var(--blue); }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; width: 48px; height: 80px; font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-prev:hover, .lb-next:hover { background: var(--blue); }

/* ─── KONTAKT ─────────────────────────────────────────────────────────────────── */
.kontakt-layout { padding: 56px 5vw; display: grid; grid-template-columns: 280px 1fr; gap: 60px; }
.kontakt-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400; color: var(--blue); margin-bottom: 1rem;
}
.kontakt-info p, .kontakt-info a { color: var(--warm-gray); font-size: 0.92rem; }
.kontakt-info a:hover { color: var(--blue); }
.info-block { margin-bottom: 1.5rem; }
.info-label {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-mid); margin-bottom: 0.2rem; font-weight: 400;
}

/* Formular */
.contact-form h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; color: var(--charcoal);
  margin-bottom: 1.5rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-light);
}
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 0.45rem; font-weight: 400;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border);
  background: #fff; font-family: 'Jost', sans-serif;
  font-size: 0.92rem; color: var(--charcoal);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(42,95,143,0.12);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.78rem; color: var(--warm-gray); margin-top: 0.75rem; }
.form-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* Nachrichten */
.msg { padding: 12px 16px; font-size: 0.88rem; border-radius: 0; margin-bottom: 1.2rem; }
.msg-success { background: #e8f4ec; color: #1e5e2e; border: 1px solid #a8d4b4; }
.msg-error   { background: #fdf0f0; color: #8b2020; border: 1px solid #e8b4b4; }
.msg-info    { background: var(--blue-pale); color: var(--accent); border: 1px solid var(--blue-light); }

/* ─── TEXT-SEITEN (Impressum, Datenschutz) ───────────────────────────────────── */
.text-page { padding: 56px 5vw; max-width: 780px; }
.text-page h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 400; color: var(--charcoal);
  margin: 2rem 0 0.7rem; padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-light);
}
.text-page p { color: var(--warm-gray); font-size: 0.92rem; margin-bottom: 0.8rem; line-height: 1.85; }
.text-page a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  border-top: 2px solid var(--blue);
  padding: 36px 5vw;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: rgba(255,255,255,0.8); font-style: italic;
}
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); transition: color 0.2s;
}
.footer-nav a:hover { color: var(--blue-light); }
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,0.3); }

/* ─── OBFUSCIERTER E-MAIL-LINK ────────────────────────────────────────────────── */
.obf-mail { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.obf-mail:hover { color: var(--blue-mid); }

/* ─── ADMIN-HINWEIS (kleines Symbol) ─────────────────────────────────────────── */
.admin-link {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  background: var(--charcoal); color: rgba(255,255,255,0.5);
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 14px; border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
}
.admin-link:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 48px 5vw 40px; gap: 32px; min-height: auto; }
  .hero-visual { height: 240px; }
  .bio-layout { grid-template-columns: 1fr; gap: 32px; }
  .bio-aside { border-right: none; border-bottom: 1px solid var(--border-light); padding-right: 0; padding-bottom: 2rem; }
  .kontakt-layout { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}
@media (max-width: 640px) {
  .site-header { padding: 0 4vw; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--charcoal); flex-direction: column; padding: 1.5rem 4vw;
    gap: 0; border-bottom: 2px solid var(--blue); z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; }
  .menu-toggle { display: flex; }
  .section-num { display: none; }
}

/* ─── HERO-BILD ───────────────────────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(58,122,191,0.25);
  height: 380px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(42,95,143,0.15) 0%, rgba(30,77,122,0.25) 100%);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.hero-visual:hover .hero-img {
  transform: scale(1.03);
}

/* ─── BIOGRAFIE PORTRÄT ───────────────────────────────────────────────────────── */
.bio-portrait {
  margin-bottom: 1.8rem;
  text-align: center;
}
.bio-portrait-img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--blue-light);
  box-shadow: var(--shadow-md);
  display: inline-block;
}

@media (max-width: 900px) {
  .hero-visual { height: 260px; }
  .bio-portrait { text-align: left; }
  .bio-portrait-img { width: 120px; height: 150px; }
}
