/* =============================================
   BORG Krems – Instrumentalzweig
   instrumental.css
   ============================================= */

/* --- Imports & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
  --primary:       #2c3e6b;   /* dunkles BORG-Blau */
  --accent:        #c0392b;   /* kräftiges Rot als Akzent */
  --accent-light:  #e8d5b0;   /* warmes Goldbeige für Musik-Flair */
  --bg:            #f7f5f0;   /* warmes Off-White */
  --bg-card:       #ffffff;
  --text:          #1a1a2e;
  --text-muted:    #5a5a72;
  --border:        #ddd8cc;
  --shadow:        0 4px 20px rgba(44, 62, 107, 0.10);
  --radius:        10px;
  --transition:    0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
}

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

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

/* --- Header --- */
.site-header {
  background-color: var(--primary);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

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

.logo img { height: 46px; width: auto; }
.logo-text {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

/* --- Main Navigation --- */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-light);
  border-bottom-color: var(--accent-light);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a2540 55%, #3d2010 100%);
  color: #fff;
  padding: 80px 2rem 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '♩ ♫ ♪ ♬';
  position: absolute;
  top: 20px; left: 5%;
  font-size: 4rem;
  opacity: 0.08;
  letter-spacing: 1rem;
  pointer-events: none;
}
.hero::after {
  content: '♩ ♪ ♫ ♬';
  position: absolute;
  bottom: 15px; right: 5%;
  font-size: 3rem;
  opacity: 0.07;
  letter-spacing: 0.8rem;
  pointer-events: none;
}

.hero-label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
}

.hero-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
}
.hero-btn:hover {
  background: #a93226;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Page Wrapper --- */
.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

/* --- Section Titles --- */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent-light);
  display: inline-block;
}

/* --- Intro Block --- */
.intro-block {
  background: var(--bg-card);
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.intro-block strong { color: var(--primary); }

/* --- Feature Cards (Ausbildungsschwerpunkte) --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--primary);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(44,62,107,0.15);
}

.feature-card .icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.feature-card p, .feature-card ul {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-card ul {
  list-style: none;
  padding: 0;
}

.feature-card ul li {
  padding: 0.25rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.feature-card ul li::before {
  content: '♪';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
  top: 0.3rem;
}

/* --- Instruments Section --- */
.instruments-section {
  margin-bottom: 3.5rem;
}

.instruments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.instrument-pill {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  cursor: default;
}

.instrument-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.instrument-pill .emoji {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

/* --- Voraussetzungen Banner --- */
.prereq-banner {
  background: linear-gradient(135deg, var(--accent-light), #f0e8d5);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.prereq-banner .prereq-icon {
  font-size: 2.8rem;
  flex-shrink: 0;
}

.prereq-banner h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.prereq-banner p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* --- Weiteres Angebot --- */
.angebot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 3.5rem;
}

.angebot-tag {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* --- Stundentafel Table --- */
.stunden-section { margin-bottom: 3.5rem; }

.stunden-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}

.stunden-table thead {
  background: var(--primary);
  color: #fff;
}

.stunden-table th {
  padding: 0.9rem 1.2rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stunden-table td {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.stunden-table tr:last-child td { border-bottom: none; }

.stunden-table tr:hover td {
  background: #f0edf8;
  color: var(--text);
}

.stunden-table td:last-child {
  font-weight: 700;
  color: var(--primary);
}

/* --- CTA Section --- */
.cta-section {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.cta-section p {
  color: rgba(255,255,255,0.80);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.cta-btn {
  display: inline-block;
  background: var(--accent-light);
  color: var(--primary);
  padding: 0.8rem 2.2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
}

.cta-btn:hover {
  background: #d4b882;
  color: var(--primary);
  transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.site-footer a { color: var(--accent-light); }
.site-footer a:hover { color: #fff; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; height: auto; padding: 1rem 0; gap: 0.8rem; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
  .hero { padding: 50px 1.2rem 40px; }
  .prereq-banner { flex-direction: column; }
  .page-wrapper { padding: 2rem 1.2rem 3rem; }
}
