/* ===== Self-hosted Fonts ===== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2'),
       url('../fonts/inter-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2'),
       url('../fonts/inter-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-700.woff2') format('woff2'),
       url('../fonts/playfair-700.ttf') format('truetype');
}

/* ===== CSS Variables ===== */
:root {
  --color-primary: #b50d30;
  --color-primary-dark: #8a0a25;
  --color-primary-light: #e8425f;
  --color-dark: #1a1a1a;
  --color-gray-900: #2d2d2d;
  --color-gray-700: #555;
  --color-gray-500: #6e6e6e;
  --color-gray-300: #ccc;
  --color-gray-100: #f0f0f0;
  --color-white: #fff;
  --color-bg: #fafafa;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --section-padding: 5rem 1.5rem;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--color-primary-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.5rem; font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: 2rem; font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.35rem; font-size: clamp(1.25rem, 3vw, 1.5rem); }

ul { list-style: none; }

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

/* ===== Skip Navigation ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  z-index: 9999;
  font-weight: 700;
}

.skip-link:focus {
  top: 0.5rem;
  color: var(--color-white);
}

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-gray-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  padding: 0.75rem 1rem;
  min-height: 44px;
  color: var(--color-gray-700);
  font-size: 0.9rem;
  font-weight: 400;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--color-primary);
  background: rgba(181, 13, 48, 0.06);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Mobile nav toggle (CSS-only checkbox) */
.nav-check {
  display: none;
}

.nav-toggle {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  margin: 6px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-check:checked ~ .nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-check:checked ~ .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-check:checked ~ .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-check:checked ~ .nav-list {
  right: 0;
}

/* Mobile nav backdrop overlay */
.nav-check:checked ~ .nav-list::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-gray-900) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: url('../bilder/ausstellung05.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--color-white);
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 3rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero-content h1 span {
  color: var(--color-primary-light);
}

.hero-tagline {
  font-size: 1.2rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.hero-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.hero-badge .badge-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: var(--font-body);
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(181, 13, 48, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ===== Section Styling ===== */
.section {
  padding: var(--section-padding);
}

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-gray-500);
  font-size: 1.1rem;
}

.section-header .overline {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* ===== About / Team Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text .overline {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.about-text p {
  margin-bottom: 1.25rem;
}

.values-list {
  margin: 1.5rem 0;
}

.values-list li {
  padding: 0.4rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-weight: 400;
  color: var(--color-dark);
}

.values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* Team members */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card .team-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  color: var(--color-white);
}

.team-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.team-card .role {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Leistungen / What We Do ===== */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.leistung-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.leistung-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.leistung-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(181, 13, 48, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: var(--color-primary);
}

.leistung-item span {
  font-weight: 700;
  color: var(--color-dark);
  font-size: 0.95rem;
}

/* ===== Gallery / Exhibition ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition);
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

/* Lightbox (CSS-only with :target) */
.lightbox {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox:target {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--color-white);
  font-size: 2rem;
  text-decoration: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

/* ===== Location Section ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.location-info {
  padding: 2rem;
}

.location-info h3 {
  margin-bottom: 1.5rem;
}

.location-details {
  margin-bottom: 2rem;
}

.location-detail {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.location-detail:last-child {
  border-bottom: none;
}

.location-detail .detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(181, 13, 48, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.location-detail .detail-text strong {
  display: block;
  color: var(--color-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.location-detail .detail-text span {
  color: var(--color-gray-700);
}

.location-detail .detail-text a {
  color: var(--color-primary);
}

.location-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.location-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(181, 13, 48, 0.04);
  border-radius: var(--radius);
  transition: background var(--transition);
}

.contact-method:hover {
  background: rgba(181, 13, 48, 0.08);
}

.contact-method .method-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-method .method-text strong {
  display: block;
  color: var(--color-dark);
  font-size: 0.9rem;
}

.contact-method .method-text span,
.contact-method .method-text a {
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: var(--color-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(181, 13, 48, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}

.form-privacy {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-gray-500);
}

.form-privacy a {
  color: var(--color-primary);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-brand .logo-text small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 350px;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
  padding: 0.25rem 0;
  display: inline-block;
  min-height: 44px;
  line-height: 2;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--color-white);
}

/* ===== Startseite Bilder (natural size) ===== */
.startseite-bilder {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.startseite-bilder img {
  height: auto;
  max-height: 180px;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* About grid reverse (image right, text left) */
.about-grid-reverse {
  grid-template-columns: 1fr 1fr;
}

.about-grid-reverse > :first-child {
  order: 2;
}

.about-grid-reverse > :last-child {
  order: 1;
}

/* ===== Animations (CSS-only) ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease both;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Responsive ===== */

/* Tablet: collapse nav to hamburger, stack grids */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    gap: 0.25rem;
    z-index: 1000;
  }

  .nav-list a {
    font-size: 1.05rem;
    padding: 1rem;
    min-height: 44px;
  }

  .about-grid,
  .about-grid-reverse,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid-reverse > :first-child {
    order: 0;
  }

  .about-grid-reverse > :last-child {
    order: 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem 1.25rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-badges {
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .lightbox {
    padding: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .location-info {
    padding: 0;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .leistungen-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    gap: 1rem;
  }

  .hero-badge .badge-number {
    font-size: 2rem;
  }
}

/* ===== Subpage styles (Impressum etc.) ===== */
.subpage {
  padding-top: 120px;
  min-height: 100vh;
}

.subpage-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.subpage-content h1 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.subpage-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.subpage-content p {
  margin-bottom: 1rem;
}

.subpage-content a {
  overflow-wrap: break-word;
}
