/* Aarau auf Kurs – gemeinsame Styles
   Self-contained, CI-Farben Cyan/Blau */

:root {
  --ci-cyan: #00b4e4;
  --ci-blue: #0088cc;
  --ci-blue-dark: #006699;
  --ci-light: #e8f7fc;
  --bg: #f5fafc;
  --card: #ffffff;
  --text: #1a2a33;
  --text-soft: #3d5260;
  --border: #d0e8f0;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(0, 136, 204, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.18rem);
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

/* Header: blauer Pfeil + Text */
header {
  text-align: center;
  padding: 1.5rem 0 1.5rem;
  border-bottom: 2px solid var(--ci-light);
  margin-bottom: 1.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.brand-text {
  text-align: left;
  line-height: 1.2;
}

.brand-name {
  font-size: clamp(1.45rem, 1.25rem + 1vw, 1.85rem);
  font-weight: 700;
  color: var(--ci-blue);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.7em;
  color: var(--ci-cyan);
  font-weight: 500;
  margin-top: 0.15rem;
}

.slogan-line {
  margin-top: 0.85rem;
  font-size: 0.95em;
  color: var(--ci-blue);
  font-weight: 600;
}

/* Hero */
.hero {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  border-left: 5px solid var(--ci-cyan);
}

.hero h1 {
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.65rem);
  line-height: 1.3;
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero p { color: var(--text-soft); }

.result {
  display: inline-block;
  margin-top: 1rem;
  background: var(--ci-light);
  color: var(--ci-blue-dark);
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.95em;
}

h2 {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.3rem);
  margin-bottom: 1rem;
  color: var(--ci-blue-dark);
  letter-spacing: -0.01em;
}

/* Karten */
.cards {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--ci-cyan);
}

.card-num {
  width: 2.15rem;
  height: 2.15rem;
  background: linear-gradient(135deg, var(--ci-cyan), var(--ci-blue));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
  line-height: 1.35;
  color: var(--text);
}

.card p {
  color: var(--text-soft);
  font-size: 0.95em;
  margin: 0 0 0.55rem 0;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Details */
.details {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.details ul {
  margin: 0.7rem 0 0 1.2rem;
  color: var(--text-soft);
}

.details li { margin-bottom: 0.35rem; }

/* Slogan-Banner */
.slogan-banner {
  text-align: center;
  padding: 1.15rem 1rem;
  margin-bottom: 1.75rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.slogan-banner .main-slogan {
  font-size: 1.15em;
  font-weight: 700;
  color: var(--ci-blue);
  margin-bottom: 0.3rem;
}

.slogan-banner .sub-slogan {
  font-size: 1.05em;
  font-weight: 600;
  color: var(--ci-cyan);
}

/* CTA */
.cta-box {
  text-align: center;
  padding: 1.6rem 1.2rem;
  background: linear-gradient(180deg, var(--ci-light) 0%, #f0f9fc 100%);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

.cta-box p { margin-bottom: 1rem; color: var(--text-soft); }

.btn {
  display: inline-block;
  background: var(--ci-blue);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.btn:hover, .btn:focus {
  background: var(--ci-blue-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--ci-blue);
  border: 2px solid var(--ci-blue);
  margin-left: 0.5rem;
}

.btn-secondary:hover {
  background: var(--ci-blue);
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9em;
}

/* Links – neutral + Highlight bei Hover */
a, a:link, a:visited {
  text-decoration: none;
  color: inherit;
  background-color: #eeffff;
}

a:hover, a:focus {
  background-color: #ffff7f;
}

/* Speziell für Buttons die Link-Styles überschreiben */
.btn, .btn:link, .btn:visited,
.btn-secondary, .btn-secondary:link, .btn-secondary:visited {
  background-color: var(--ci-blue);
  color: #fff;
}

.btn:hover, .btn:focus {
  background-color: var(--ci-blue-dark);
  color: #fff;
}

.btn-secondary, .btn-secondary:link, .btn-secondary:visited {
  background-color: transparent;
  color: var(--ci-blue);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--ci-blue);
  color: #fff;
}

/* ========== Komitee-Seite ========== */

.page-title {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.75rem);
  color: var(--ci-blue-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.page-intro {
  text-align: center;
  color: var(--text-soft);
  margin-bottom: 2rem;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.komitee-section {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.75rem;
}

.komitee-section h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ci-light);
}

.komitee-section h2::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--ci-cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

.komitee-list {
  display: grid;
  gap: 0.6rem;
  list-style: none;
}

@media (min-width: 600px) {
  .komitee-list {
    grid-template-columns: 1fr 1fr;
  }
}

.komitee-list li {
  background: var(--ci-light);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  color: var(--text);
  font-size: 0.98em;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.komitee-list .name {
  font-weight: 600;
  color: var(--text);
}

.komitee-list .role {
  font-size: 0.88em;
  color: var(--text-soft);
}

.nav-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--ci-blue);
  background: transparent;
}

.nav-back:hover {
  background: var(--ci-light);
}

@media (max-width: 699px) {
  .brand {
    flex-direction: column;
    gap: 0.5rem;
  }
  .brand-text { text-align: center; }
  .btn-secondary {
    margin-left: 0;
    margin-top: 0.55rem;
    display: inline-block;
  }
}
