/* AthletixPro — globale Styles */
:root {
  --color-primary: #1b4fd8;
  --color-primary-dark: #1240b5;
  --color-primary-light: #eef2ff;
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-dark: #0f172a;
  --color-medium: #334155;
  --color-muted: #64748b;
  --color-light: #f1f5f9;
  --color-white: #ffffff;
  --color-green: #16a34a;
  --color-red: #dc2626;
  --color-border: #e2e8f0;

  --font-primary: "Inter", system-ui, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);

  --transition: 0.2s ease;

  --container-max: 1280px;
  --container-pad: 1.5rem;

  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  line-height: 1.6;
  background: var(--color-white);
}

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

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

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

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

.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section--light {
  background: var(--color-light);
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.section--accent {
  background: var(--color-accent);
  color: var(--color-dark);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section__title--light {
  color: var(--color-white);
}

.section__subtitle {
  color: var(--color-muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.page-subtitle {
  color: var(--color-muted);
  max-width: 60ch;
}

.see-all {
  font-weight: 600;
  color: var(--color-primary);
}

.see-all:hover {
  text-decoration: underline;
}

.highlight--green {
  color: var(--color-green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: var(--transition);
  font-family: inherit;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.hero .btn--outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.85);
}

.hero .btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn--full {
  width: 100%;
}

.page-hero {
  padding: clamp(3rem, 10vw, 5rem) 0;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 55ch;
  opacity: 0.95;
}

.rating-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-accent);
}

.rating-stars svg {
  width: 16px;
  height: 16px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__panel {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.modal__panel--city {
  max-width: 460px;
  border: 1px solid var(--color-border);
  padding: 1.75rem;
}

.modal__panel h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.4rem;
}

.city-modal__subtitle {
  color: var(--color-muted);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.city-picker {
  margin-bottom: 0;
}

.city-picker__label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.city-picker__select {
  width: 100%;
  appearance: none;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.city-picker__select:focus {
  outline: 2px solid var(--color-primary-light);
  border-color: var(--color-primary);
}

.modal__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .section__subtitle {
    margin-bottom: 1.5rem;
  }
}
