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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
  line-height: 1.8;
}

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: #f5f5f5;
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1a1a1a;
  color: #fff;
  padding: 1rem 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo strong {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.logo span {
  font-size: 0.75rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-size: 0.9rem;
  color: #ddd;
  transition: color 0.2s;
}

nav a:hover {
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  background: #c8001f;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ===== Button ===== */
.btn {
  display: inline-block;
  background: #fff;
  color: #c8001f;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: #1a1a1a;
  color: #fff;
}

/* ===== Grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.grid--two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ===== Card ===== */
.card {
  background: #f5f5f5;
  border-left: 4px solid #c8001f;
  padding: 1.5rem;
  border-radius: 4px;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* ===== Section headings ===== */
h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: #c8001f;
  margin-top: 0.5rem;
}

.section p + p {
  margin-top: 0.75rem;
}

/* ===== Opening hours table ===== */
.hours {
  border-collapse: collapse;
  margin-top: 1rem;
  width: 100%;
}

.hours td {
  padding: 0.35rem 0;
}

.hours td:first-child {
  padding-right: 2rem;
  font-weight: 600;
}

/* ===== Footer ===== */
footer {
  background: #1a1a1a;
  color: #aaa;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

footer a {
  color: #ccc;
  text-decoration: underline;
}

footer a:hover {
  color: #fff;
}

/* ===== Photo Section ===== */
.photo-section {
  line-height: 0;
}

.photo-section img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* ===== Partner ===== */
.partner-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.partner-card {
  display: flex;
  flex-direction: row;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  color: inherit;
  text-decoration: none;
}

.partner-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.partner-logo {
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-right: 1px solid #e0e0e0;
  min-width: 180px;
  flex-shrink: 0;
}

.partner-logo img {
  max-width: 180px;
  max-height: 90px;
  object-fit: contain;
}

.partner-info {
  padding: 1.25rem;
}

.partner-info h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.partner-info p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* Aktiver Nav-Link */
.nav--active {
  color: #fff !important;
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  nav ul {
    gap: 1rem;
  }

  .hero {
    padding: 0.6rem 0;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .partner-card {
    flex-direction: column;
  }

  .partner-logo {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    min-width: unset;
  }
}
