:root {
  --primary: #0057b8;
  --primary-light: #e6f0ff;
  --primary-dark: #003a7a;
  --text: #222222;
  --muted: #666666;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout Utility */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--primary-dark);
}

.section-subtitle {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  background: var(--primary-light);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
}

/* Header & Navigation */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 20%,
    #ffffff 0,
    #e6f0ff 40%,
    #0057b8 100%
  );
  box-shadow: 0 6px 18px rgba(0, 87, 184, 0.25);
}

.logo-trommel {
  width: 120px; /* Größe anpassen */
  height: 120px; /* oder auto, wenn gewünscht */
  background-image: url("res/trommel.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  margin-right: -20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.67rem;
  font-size: 0.9rem;
}

.nav-link {
  color: var(--muted);
  padding: 0.3rem 0.4rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.nav-link:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.nav-link.cta {
  background: var(--primary);
  color: white;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 87, 184, 0.35);
}

.nav-link.cta:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.2rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 999px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 999px;
  transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  bottom: -6px;
}

.nav-toggle.active span {
  transform: rotate(45deg);
}

.nav-toggle.active span::before {
  top: 0;
  transform: rotate(-90deg);
}

.nav-toggle.active span::after {
  bottom: 0;
  opacity: 0;
}

/* Hero */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--primary-dark);
}

.hero-title span {
  color: var(--primary);
}

.hero-text {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.hero-list-bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(0, 87, 184, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-light);
  color: var(--primary-dark);
}

.btn-outline:hover {
  background: var(--primary-light);
  text-decoration: none;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-image-container {
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  display: block;
  object-fit: cover;
  max-height: 300px;
}

.hero-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.12;
  background: radial-gradient(
    circle at 20% 20%,
    #ffffff 0,
    #e6f0ff 40%,
    #0057b8 100%
  );
  z-index: -1;
}

.hero-card-title {
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--primary-dark);
}

.hero-card-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.8rem;
}

.hero-card-item {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  padding: 0.7rem;
}

.hero-card-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-card-value {
  font-weight: 600;
  color: var(--primary-dark);
}

.hero-pill {
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
}

/* Angebot / Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-pill {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.card-title {
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--primary-dark);
}

.card-text {
  font-size: 0.9rem;
  color: var(--muted);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.card-list li {
  margin-bottom: 0.2rem;
}

/* Öffnungszeiten / Info */

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: flex-start;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th,
.table td {
  text-align: left;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.table th {
  color: var(--muted);
  font-weight: 500;
}

.info-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem;
  font-size: 0.9rem;
}

.contact-with-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 0;
  overflow: hidden;
}

.contact-info {
  padding: 1.3rem;
}

.map-container-inline {
  background: #ffffff;
  overflow: hidden;
  min-height: 400px;
  height: 100%;
}

.info-box h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.info-item {
  margin-bottom: 0.5rem;
}

.info-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.map-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Ozon */

.columns-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chip {
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  background: var(--primary-light);
  color: var(--primary-dark);
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.list-check li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.list-check-marker {
  margin-top: 0.2rem;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid var(--primary);
}

.ozon-highlight {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem;
  font-size: 0.9rem;
}

.ozon-highlight h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.ozon-step {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

/* Referenzen */

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.ref-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
  font-size: 0.85rem;
}

.ref-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.ref-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--primary-dark);
}

/* Kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

input,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.12);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(0, 87, 184, 0.15);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.form-group {
  flex: 1;
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
}

.contact-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem;
  font-size: 0.9rem;
}

.contact-box h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.contact-line {
  margin-bottom: 0.4rem;
}

/* Impressum / Datenschutz / Footer */

.impressum-text {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
}

.impressum-text h2 {
  margin-top: 1.75rem;
  color: var(--primary-dark);
}

.impressum-text h3 {
  margin-top: 1.2rem;
  color: var(--primary-dark);
}

.impressum-text ul {
  padding-left: 1.2rem;
}

footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Cookie Banner */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.2rem 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
}

.cookie-banner-text p {
  margin: 0;
}

.cookie-banner-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: var(--primary-dark);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .info-grid,
  .columns-2,
  .ref-grid,
  .contact-grid,
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3rem;
  }

  .map-container {
    min-height: 300px;
  }

  .contact-with-map {
    grid-template-columns: 1fr;
  }

  .map-container-inline {
    min-height: 300px;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-banner-actions .btn {
    flex: 1;
  }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-direction: column;
    padding: 0.7rem 1.5rem 1rem;
    gap: 0.3rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-card {
    padding-top: 2.4rem;
  }

  .hero-pill {
    top: 0;
    transform: translateY(70%);
  }
}

@media (max-width: 520px) {
  .section {
    padding: 3rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-row {
    flex-direction: column;
  }

  .cards-grid,
  .ref-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Preisliste */

.price-section {
  max-width: 800px;
  margin: 0 auto;
}

.price-category-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-dark);
  font-size: 1.5rem;
}

.price-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table thead {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: #ffffff;
}

.price-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.price-table td {
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:nth-child(even) {
  background-color: var(--bg-alt);
}

.price-table .text-right {
  text-align: right;
}

@media (max-width: 600px) {
  .price-table th,
  .price-table td {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

.nav-link.cta-outline {
  background: #ffffff;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.nav-link.cta-outline:hover {
  background: var(--primary-light);
  text-decoration: none;
}

.nav-link.cta-outline svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Smooth shrinking header on mobile when scrolled */
@media (max-width: 720px) {
  .nav-brand > div:last-child {
    transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
    max-height: 100px;
    opacity: 1;
    overflow: hidden;
  }

  header.scrolled .nav-brand > div:last-child {
    opacity: 0;
    max-height: 0;
    margin: 0;
  }

  .logo-trommel {
    transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease;
  }

  header.scrolled .logo-trommel {
    width: 50px;
    height: 50px;
    margin-right: 0;
  }

  .navbar {
    transition: padding 0.3s ease;
  }

  header.scrolled .navbar {
    padding: 0.3rem 0;
  }
}
