:root {
  --topbar-h: 72px;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-soft: #f1ede2;
  --text: #1f2933;
  --muted: #52606d;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --border: #d9e2ec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Avenir Next', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top right, #fdf8e8, var(--bg) 40%);
  color: var(--text);
  line-height: 1.55;
  padding-top: var(--topbar-h);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.brand2 {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  line-height: 1;
}

.topbar-links a:hover {
  background: var(--surface-soft);
}

.topbar-menu {
  display: none;
}

.menu-toggle {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.45rem 0.62rem;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.mobile-menu {
  display: none;
}

.topbar-menu[open] .mobile-menu {
  display: grid;
  position: absolute;
  top: calc(var(--topbar-h) - 8px);
  right: 0;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  padding: 0.4rem;
  gap: 0.2rem;
  z-index: 1100;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
}

.mobile-menu a:hover {
  background: var(--surface-soft);
}

section,
footer {
  scroll-margin-top: calc(var(--topbar-h) + 16px);
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, #fef3c7, #d1fae5);
  padding: 5rem 0 4rem;
}

.hero-content {
  max-width: 700px;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

h4 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--accent-dark);
}

.tagline {
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--surface-soft);
}

/* Alternierende Bereichsfarben nach Hero: creme/beige/creme/beige/creme */
#ueber-uns {
  background: #faf6ee;
}

#service {
  background: #f3ede2;
}

#mehrwert {
  background: #ffffff;
}

#kontakt {
  background: linear-gradient(135deg, #fef3c7, #d1fae5);
}

#erfahrungsberichte {
  background: #f8f3e8;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.two-col {
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

ul {
  padding-left: 1.2rem;
}

.service-top-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.service-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.service-box h3,
.service-box h4 {
  margin-top: 0;
}

.service-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-box li {
  background: #eefbf8;
  border: 1px solid #c9eee8;
  color: #134e4a;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.92rem;
}

.benefit-section {
  background: #f4efe6;
}

.benefit-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

.benefit-rows {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.benefit-rows li {
  position: relative;
  padding-left: 1.2rem;
}

.benefit-rows li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.frame-note {
  margin: 1rem 0 0;
  text-align: left;
  color: #111111;
  font-weight: 700;
  font-size: 1rem;
}

.benefit-visual {
  min-height: 280px;
  background: #ffffff;
  color: var(--text);
  border-radius: 16px;
  padding: 0.8rem;
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.benefit-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
}

.image-placeholder {
  min-height: 250px;
  border: 2px dashed var(--border);
  border-radius: 16px;
  background: var(--surface);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.image-placeholder span {
  font-weight: 700;
}

.image-placeholder small {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
}

.contact-panel {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.contact-title {
  margin: 0 0 0.35rem;
  color: var(--accent-dark);
}

.contact-subline {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
}

.mail-cta {
  margin-top: 0;
  font-size: 0.92rem;
  padding: 0.62rem 0.95rem;
}

.contact-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: flex-start;
}

.contact-btn {
  margin-top: 0;
  min-width: 150px;
  text-align: center;
  font-size: 0.92rem;
  padding: 0.62rem 0.95rem;
}

.contact-btn-reversed {
  background: #ffffff;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.contact-btn-reversed:hover {
  background: #ecfdf5;
  color: var(--accent-dark);
}

.contact-meta {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section-image {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.section-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.testimonial-image-row {
  margin-top: 1.25rem;
}

.gallery-scroll {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.2rem 0.2rem 0.7rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  margin: 0;
  flex: 0 0 min(360px, 78vw);
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 2.5rem 0;
}

.footer h2 {
  color: #fff;
}

.footer-link {
  color: #a7f3d0;
  font-weight: 700;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  :root {
    --topbar-h: 64px;
  }

  .topbar-links {
    display: none;
  }

  .topbar-menu {
    display: block;
    position: relative;
    margin-left: auto;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

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

  .service-top-row,
  .benefit-layout {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: center;
  }
}
