/* ============================================================================
   Vanetta — Index page stylesheet
   ============================================================================
   Only used for index_neu_C_1.html and en_index_neu_C_1.html (Startseite).
============================================================================ */

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

:root {
  --bg:        #c2c6ca;
  --bg2:       #b2b7bc;
  --bg3:       #a8adb3;
  --bg-frame:  #9aa0a6;
  --bg-itc:    #d4d8dc;
  --bg-itc2:   #c4c9cd;
--bg-w: #FFFFFF;
	--bg-w2: #FFFAFA;
  --fg:        #1a1c1e;
  --fg-muted:  #4a4f55;
  --fg-dim:    #8e9399;
  --accent:    #b91c1c;
  --accent-h:  #991616;
  --logo-accent: #8a5a2c;
  --sans:      'Barlow', sans-serif;
  --pad:       clamp(1.5rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

em { font-style: normal; font-weight: 500; }

/* =============================================================================
   Language switcher (top)
============================================================================= */
.index-langs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem var(--pad);
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.index-langs a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.index-langs a:hover { color: var(--accent); }
.index-langs a.active {
  color: var(--fg);
  border-color: var(--fg-dim);
}
.index-langs .lang-label { font-weight: 500; }
.index-langs .sep { color: var(--fg-dim); }
.index-langs svg { display: block; }

/* =============================================================================
   Main / Grid (2 cards)
============================================================================= */
main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem) var(--pad);
}
.index-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: 1500px;
  width: 100%;
}

/* =============================================================================
   Cards
============================================================================= */
.index-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 3rem);
  background: var(--bg-w);
  border: 1px solid var(--fg-dim);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  min-height: clamp(280px, 50vh, 480px);
  justify-content: center;
  gap: 1.25rem;
}
.index-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	background: var(--bg-w2);
}
.index-card.itc { background: var(--bg-itc); }
.index-card.itc:hover { background: var(--bg-itc2); }

.index-card-logo img {
  height: auto;
  max-width: clamp(220px, 60vw, 400px);
  width: 100%;
  display: block;
  margin: 0 auto;
}
.index-card h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.02em;
  line-height: 1.4;
  max-width: 40ch;
  text-transform: uppercase;
}
.index-card p {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 40ch;
}
.index-card .cta {
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-top: 0.25rem;
}
.index-card:hover .cta { color: var(--accent-h); }

/* =============================================================================
   Footer (placeholder is <footer id="vanetta-footer">)
============================================================================= */
footer {
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--pad);
  border-top: 1px solid var(--fg-dim);
  background: var(--bg-frame);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.footer-brand { display: flex; flex-direction: column; line-height: 1.7; }
.footer-name { display: block; font-weight: 400; color: var(--fg); }
.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  line-height: 1.7;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--fg); }

/* =============================================================================
   Responsive
============================================================================= */
@media (max-width: 800px) {
  .index-grid { grid-template-columns: 1fr; }
  .index-card { min-height: clamp(220px, 40vh, 360px); }
}
@media (max-width: 768px) {
  footer { flex-direction: column; align-items: center; text-align: center; }
  footer .footer-brand { align-items: center; text-align: center; }
  footer .footer-links { align-items: center; }
}
