/* ============================================================
   C(h)or Musica Rostock – Stylesheet
   Chorfarbe: Lagune-Blau
   ============================================================ */

:root {
  --lagune:        #0f7d8c;
  --lagune-dark:   #0a5a66;
  --lagune-darker: #073e47;
  --lagune-light:  #e4f2f4;
  --lagune-50:     #f3f9fa;

  --text:      #1c2b2f;
  --text-soft: #4a5a5e;
  --text-mute: #7d8c90;

  --bg:      #ffffff;
  --bg-soft: #f6f9fa;
  --border:  #e2e8ea;

  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 90, 102, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 90, 102, 0.14);

  --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--lagune-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--lagune); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lagune);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: .98rem; font-weight: 500;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--lagune); color: #fff; }
.btn-primary:hover { background: var(--lagune-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--lagune); color: var(--lagune-dark); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn-light:hover { background: #fff; color: var(--lagune-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--text); }
.brand-tag { font-size: .68rem; letter-spacing: .2em; color: var(--lagune); text-transform: uppercase; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: var(--text-soft); font-size: .95rem; font-weight: 500;
  padding: 9px 14px; border-radius: 8px; transition: all .18s;
}
.nav-links a:hover { color: var(--lagune-dark); background: var(--lagune-light); }
.nav-links a.active { color: var(--lagune-dark); }
.nav-links a.nav-cta {
  background: var(--lagune); color: #fff; border-radius: 999px; padding: 9px 18px; margin-left: 8px;
}
.nav-links a.nav-cta:hover { background: var(--lagune-dark); color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  padding: 120px 24px 130px;
  background: linear-gradient(160deg, rgba(7,62,71,.78), rgba(15,125,140,.72)), var(--hero-img, none);
  background-size: cover; background-position: center;
}
.hero .eyebrow { color: #a8e0e7; }
.hero h1 { color: #fff; max-width: 800px; margin: 0 auto 20px; }
.hero p { font-size: 1.2rem; max-width: 620px; margin: 0 auto 34px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-soft); margin-top: 14px; font-size: 1.1rem; }

.lead { font-size: 1.2rem; color: var(--text-soft); }

/* ---------- Info cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; background: var(--lagune-light);
  color: var(--lagune-dark); display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 1rem; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split-body p { color: var(--text-soft); margin-bottom: 16px; }
.split-body p:last-child { margin-bottom: 0; }

.feature-list { list-style: none; margin: 20px 0 0; }
.feature-list li { position: relative; padding: 8px 0 8px 34px; color: var(--text-soft); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--lagune-light);
  box-shadow: inset 0 0 0 2px var(--lagune);
}
.feature-list li strong { color: var(--text); font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.gallery figure {
  border-radius: var(--radius); overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.gallery img { width: 100%; height: 260px; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 16px 20px; }
.gallery figcaption .k-title { font-family: var(--font-head); font-size: 1.25rem; color: var(--text); }
.gallery figcaption .k-date { font-size: .82rem; color: var(--lagune); font-weight: 600; letter-spacing: .04em; }
.gallery figcaption p { font-size: .95rem; color: var(--text-soft); margin-top: 8px; }

/* ---------- Event blocks (Impressionen detailed) ---------- */
.event { margin-bottom: 64px; }
.event:last-child { margin-bottom: 0; }
.event .photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 22px; }
.event .photos img { border-radius: 12px; height: 230px; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.event .photos img:only-child { height: auto; max-height: 640px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--lagune-dark), var(--lagune));
  color: #fff; border-radius: 20px; padding: 56px 48px; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------- Profile (Chorleitung) ---------- */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.profile-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.profile-photo .cap { text-align: center; margin-top: 16px; }
.profile-photo .cap .n { font-family: var(--font-head); font-size: 1.4rem; }
.profile-photo .cap .r { color: var(--lagune); font-size: .9rem; font-weight: 600; }

/* ---------- Contact / form ---------- */
.form-wrap { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 7px; color: var(--text); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg-soft);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--lagune); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }

.info-panel { background: var(--lagune-light); border-radius: var(--radius); padding: 32px; }
.info-panel h3 { color: var(--lagune-darker); margin-bottom: 16px; }
.info-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.info-item:last-child { margin-bottom: 0; }
.info-item .ii-ico { color: var(--lagune-dark); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.info-item .ii-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lagune-dark); font-weight: 600; }
.info-item .ii-val { color: var(--text); }

/* ---------- Prose (Impressum etc.) ---------- */
.prose { max-width: 780px; }
.prose h2 { margin: 36px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p { color: var(--text-soft); margin-bottom: 16px; }

/* ---------- Notenbereich ---------- */
.noten-head {
  background: linear-gradient(160deg, var(--lagune-darker), var(--lagune));
  color: #fff; padding: 60px 0 66px;
}
.noten-head .eyebrow { color: #a8e0e7; }
.noten-head h1 { color: #fff; }
.noten-head p { color: rgba(255,255,255,.9); max-width: 620px; margin-top: 12px; }

.folder { margin-bottom: 34px; }
.folder-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--lagune-light); }
.folder-title .ti { color: var(--lagune); font-size: 22px; }
.file-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.file-list a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); transition: all .18s;
}
.file-list a:hover { border-color: var(--lagune); background: var(--lagune-50); transform: translateY(-2px); box-shadow: var(--shadow); }
.file-list .f-ico { color: #c0392b; font-size: 26px; flex-shrink: 0; }
.file-list .f-name { display: block; font-weight: 500; font-size: .98rem; line-height: 1.3; }
.file-list .f-meta { display: block; margin-top: 3px; font-size: .78rem; color: var(--text-mute); }
.empty-note { color: var(--text-mute); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--lagune-darker); color: rgba(255,255,255,.8); padding: 60px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .brand-name { color: #fff; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.site-footer p { font-size: .95rem; margin-top: 12px; }
.site-footer p a { color: #a8e0e7; }
.site-footer p a:hover { color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.8); font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-appointments { margin-bottom: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-appointments h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 14px;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 22px 20px 32px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 20px 14px; border-radius: 8px; font-size: 1.15rem; }
  .nav-links li:not(:last-child) a:not(.nav-cta) { border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-links a.nav-cta { margin: 16px 0 0; padding: 18px 14px; text-align: center; justify-content: center; }
  .split, .profile { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .profile { max-width: 480px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 40px 24px; }
  .section { padding: 60px 0; }
}
