@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Montserrat-VF.ttf') format('truetype');
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/Lora-VF.ttf') format('truetype');
}

:root {
  --primary: #c40027;
  --primary-dark: #1a0a05;
  --sand: #f8f4f1;
  --text: #2b1b14;
  --muted: #6a5348;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(6px);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 4px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.menu-toggle:hover { transform: translateY(-1px); }

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) { width: 16px; }
.menu-toggle span:nth-child(3) { width: 16px; }
.menu-toggle span + span { margin-top: 5px; }

.nav.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 901px) {
  .menu-toggle { display: none !important; }
}

nav a:hover {
  background: rgba(196, 0, 39, 0.08);
  color: var(--primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), #8a001c);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.secondary {
  background: #fff;
  color: var(--primary-dark);
  border-color: rgba(0, 0, 0, 0.06);
}

.btn.ghost {
  background: transparent;
  color: var(--primary-dark);
  border-color: rgba(0,0,0,0.12);
}

.btn:hover { transform: translateY(-2px); }

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(196,0,39,0.08), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(26,10,5,0.08), transparent 35%),
              #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26, 10, 5, 0.75), rgba(196, 0, 39, 0.65)),
              url('team.webp') center/cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 22px 120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: center;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  padding: 28px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

h1, h2, h3 {
  color: var(--primary-dark);
  margin: 0 0 14px;
  font-family: 'Lora', serif;
}

h1 { font-size: clamp(32px, 4vw, 44px); }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 22px; }

p { margin: 0 0 14px; }

section { scroll-margin-top: 96px; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(196, 0, 39, 0.12);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 14px;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 22px;
}

.section.light {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.subtle {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 13px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.features { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.services { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.gallery { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(196, 0, 39, 0.1);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.service-list li {
  background: rgba(196, 0, 39, 0.05);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.03);
}

.gallery img, .team img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.gallery figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.6));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.grid.gallery figure {
  aspect-ratio: 58 / 100;   /* oder 3 / 2, je nach Bildformat */
}

.grid.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 14px;
}

.team-text {
  display: flex;
  height: 100%;
}

.team-features {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card .icon-circle {
  margin-bottom: 0;
}

.feature-card h3 {
  margin: 0;
}

.feature-card p {
  margin: 0;
}

.team-image-card {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.team-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.reviews {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.review {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow);
}

.stars { color: #f7a500; letter-spacing: 1px; font-size: 18px; }

.hours, .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.hours div, .contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
}

.contact-card .btn {
  width: 100%;
  margin-top: 8px;
}

.map {
  margin-top: 22px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
}

.map-note {
  margin: 14px 0 8px;
  color: var(--muted);
  font-weight: 600;
}

.map-link {
  display: block;
}

.map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: contain;
}


.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 22px 10px;
  display: flex;
  flex-direction: row;      /* nebeneinander */
  gap: 24px;
  align-items: center;
  justify-content: center;  /* Footer-Inhalt zentriert im Container */
  text-align: left;
}


footer {
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.04);
  border-radius: 18px 18px 0 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 6px;
  background: #fff;
}

.footer-brand-name {
  margin: 0;
  font-weight: 800;
  color: var(--primary-dark);
}

.footer-brand-sub {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.footer-nav a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(196, 0, 39, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-nav a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.footer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-left: 40px;        /* neu, optional */
}

.footer-legal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.footer-legal-buttons .btn {
  width: 100%;
}

.modal-button {
  box-shadow: none;
}

.top-button {
  align-self: center;
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 22px 18px;
  text-align: center;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #fff;
  max-width: 760px;
  width: min(760px, 100%);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  max-height: 88vh;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--muted);
}

.modal-body {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.modal-body a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { align-items: center; }
  .nav-controls { margin-left: auto; }
.nav nav {
    position: absolute;
    top: calc(100% - 6px);
    right: 40px;   /* vorher 22px */
    left: 40px;    /* vorher 22px */
    z-index: 10;
  }
  nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 12px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.06);
  }
  nav li + li { border-top: 1px solid rgba(0, 0, 0, 0.06); }

  /* HIER anpassen */
  nav a {
    display: block;        /* neu: Link füllt das ganze li */
    padding: 18px 10px;    /* vertikal größer machen */
    border-radius: 10px;
  }

  .nav.menu-open nav ul { display: flex; }
  .hero-content { padding-top: 70px; }
  .team { grid-template-columns: 1fr; }
}


@media (max-width: 640px) {
  .footer-inner {
    padding: 24px 18px 10px;
    flex-direction: column;     /* auf Handy wieder untereinander */
    align-items: center;
    text-align: center;
  }

  .footer-actions {
    margin-left: 0;
  }
}

