/* ============================================================
   sections.css – Hub-spezifische Styles
   (Reset, Nav, Animations in base/animations/mobile.css)
============================================================ */

/* ── Hub Variables ── */
:root {
  --teal:        #2d6b6b;
  --teal-dark:   #1e4a4a;
  --teal-light:  #e1f5ee;
  --gold:        #c9a84c;
  --white:       #ffffff;
  --off-white:   #f8f7f4;
  --text:        #1a1a1a;
  --text-muted:  #6b6b6b;
  --lernzentrum: #2d6b6b;
  --verwaltung:  #2d4a8a;
  --transport:   #8a4a2d;
}

/* ── Hero ── */
@keyframes pulse {
  0%, 100% { transform: scale(1);    opacity: 0.4; }
  50%       { transform: scale(1.04); opacity: 0.1; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1);   opacity: 0.4; }
  50%       { transform: scaleY(0.6); opacity: 0.8; }
}

.hero {
  min-height: 100vh;
  background: var(--teal-dark);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  animation: pulse 6s ease-in-out infinite;
}
.hero::before { width: 700px;  height: 700px;  animation-delay: 0s; }
.hero::after  { width: 1100px; height: 1100px; animation-delay: 1.5s; }

.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.hero-logo { width: 110px; height: 110px; margin: 0 auto 32px; animation: fadeDown 0.8s ease both; }
.hero-logo img { width: 100%; height: 100%; object-fit: contain; filter: brightness(10); }

.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
  animation: fadeDown 0.8s ease 0.1s both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 7vw, 82px); font-weight: 900;
  color: #fff; line-height: 1.05; margin-bottom: 24px;
  animation: fadeDown 0.8s ease 0.2s both;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.7); font-weight: 300;
  max-width: 520px; margin: 0 auto 48px; line-height: 1.7;
  animation: fadeDown 0.8s ease 0.3s both;
}
.hero-scroll {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; animation: fadeDown 0.8s ease 0.5s both; cursor: pointer;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Brands Section ── */
.brands { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.brands-header { text-align: center; margin-bottom: 64px; }
.brands-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.brands-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px); font-weight: 700;
  color: var(--teal-dark); line-height: 1.2;
}
.brands-header p {
  font-size: 16px; color: var(--text-muted); margin-top: 16px;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.brands-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ── Brand Cards ── */
.brand-card {
  background: var(--white); border-radius: 20px; padding: 48px 40px;
  position: relative; overflow: hidden; cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none; color: inherit; display: block;
  border: 1px solid rgba(0,0,0,0.06);
}
.brand-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.12); }
.brand-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--brand-color); transform: scaleX(0);
  transition: transform 0.3s ease; transform-origin: left;
}
.brand-card:hover::before { transform: scaleX(1); }
.brand-card::after {
  content: attr(data-letter); position: absolute; right: -10px; bottom: -20px;
  font-family: 'Playfair Display', serif; font-size: 160px; font-weight: 900;
  color: var(--brand-color); opacity: 0.04; line-height: 1; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.brand-card:hover::after { opacity: 0.07; transform: scale(1.05); }

.brand-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: color-mix(in srgb, var(--brand-color) 10%, white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: background 0.3s, transform 0.3s;
}
.brand-card:hover .brand-icon { background: var(--brand-color); transform: scale(1.05) rotate(3deg); }
.brand-icon svg { width: 26px; height: 26px; stroke: var(--brand-color); stroke-width: 1.8; fill: none; transition: stroke 0.3s; }
.brand-card:hover .brand-icon svg { stroke: #fff; }

.brand-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand-color); margin-bottom: 10px; display: block; }
.brand-card h3 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--teal-dark); margin-bottom: 12px; }
.brand-card p  { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }

.brand-services { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.brand-pill {
  font-size: 12px; padding: 4px 12px; border-radius: 20px;
  background: color-mix(in srgb, var(--brand-color) 8%, white);
  color: var(--brand-color); font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--brand-color) 20%, white);
}
.brand-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand-color); transition: gap 0.2s; }
.brand-card:hover .brand-cta { gap: 14px; }
.brand-cta-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand-color) 10%, white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.brand-card:hover .brand-cta-arrow { background: var(--brand-color); transform: translateX(4px); }
.brand-cta-arrow svg { width: 12px; height: 12px; stroke: var(--brand-color); stroke-width: 2.5; fill: none; transition: stroke 0.2s; }
.brand-card:hover .brand-cta-arrow svg { stroke: #fff; }

.card-lernzentrum { --brand-color: var(--lernzentrum); }
.card-verwaltung  { --brand-color: var(--verwaltung); }
.card-transport   { --brand-color: var(--transport); }

/* ── Stats Bar ── */
.stats-bar { background: var(--teal-dark); padding: 60px 40px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-num  { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; font-weight: 300; }

/* ── Contact Strip ── */
.contact-strip { background: var(--white); padding: 80px 40px; text-align: center; border-top: 1px solid rgba(0,0,0,0.06); }
.contact-strip h2 { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--teal-dark); margin-bottom: 12px; }
.contact-strip p   { color: var(--text-muted); font-size: 16px; margin-bottom: 36px; }
.contact-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  border-radius: 10px; font-size: 15px; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s; text-decoration: none;
}
.contact-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.contact-btn.primary   { background: var(--teal-dark); color: #fff; }
.contact-btn.secondary { background: var(--off-white); color: var(--teal-dark); border: 1px solid rgba(0,0,0,0.1); }
.contact-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Footer ── */
footer { background: #0a1f1f; padding: 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: #fff; }
.footer-logo span { color: var(--gold); }
footer p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .brands       { padding: 60px 20px; }
  .brands-grid  { grid-template-columns: 1fr; }
  .brand-card   { padding: 32px 24px; }
  .stats-bar    { grid-template-columns: repeat(2, 1fr); }
  .stat-item    { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  footer        { flex-direction: column; text-align: center; }
  .contact-strip { padding: 60px 24px; }
}
