:root {
  --bg: #0f1012;
  --bg-2: #1a1c20;
  --text: #f4f4f4;
  --muted: #c8c8c8;
  --accent: #f0e438;
  --border: rgba(255,255,255,.08);
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.section { padding: 64px 0; }
.section--dark {
  background: var(--bg);
  color: var(--text);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, .92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.15);
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  color: #fff;
  opacity: .95;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: .2s;
}

.nav a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.42);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.68) 100%),
    radial-gradient(circle at 20% 20%, rgba(240,228,56,.15), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 40px 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: .4px;
}

.hero h2 {
  margin: 8px 0 14px;
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
}

.hero p {
  margin: 0 0 12px;
  color: #f0f0f0;
}

.btn {
  margin-top: 8px;
  display: inline-block;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.btn:hover { transform: translateY(-1px); }

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.section-head .line {
  width: 38px;
  height: 4px;
  border-radius: 99px;
  background: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card--text {
  background: #fff;
  border: 1px solid #ececec;
  padding: 20px;
}

.card--text h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card--text p {
  margin: 0;
  color: #333;
}

.card--image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  /* gleiche Kartenhöhe je Grid-Zeile */
  align-items: stretch;
}

.service {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}

.service img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service__body h3 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 1rem;
}

.service__body p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
  flex: 1;
}

/* Read more (services) */
.service__body p.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  /* sorgt dafür, dass Karten auch bei kurzem Text gleich hoch wirken */
  min-height: 7.5em;
}

.read-more {
  margin-top: 10px;
  padding: 0;
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.read-more:hover { text-decoration: underline; }

/* Text-Modal (Weiter lesen) */
.text-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.text-modal.is-open { display: flex; }

.text-modal__dialog {
  width: min(760px, 100%);
  max-height: min(82vh, 760px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.text-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--border);
}

.text-modal__title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent);
}

.text-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.text-modal__close:hover { filter: brightness(1.15); }

.text-modal__content {
  padding: 14px;
  color: var(--muted);
  line-height: 1.6;
  overflow: auto;
  max-height: calc(min(82vh, 760px) - 58px);
}

.no-scroll { overflow: hidden; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery__item {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery__item img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  transition: transform .25s ease;
}

.gallery__item:hover img { transform: scale(1.03); }

.contact {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 20px;
  align-items: start;
}

.contact__info h2 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.contact__info p {
  margin: 0 0 14px;
  color: var(--muted);
}

.contact__info ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.contact__info a { color: var(--accent); }

.contact__form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.contact__form label {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-weight: 700;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: #101114;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font: inherit;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: 1px solid rgba(240,228,56,.5);
  border-color: rgba(240,228,56,.35);
}

.form-message {
  margin: 10px 0 0;
  min-height: 18px;
  color: var(--muted);
  font-size: .95rem;
}

.footer {
  background: #08090a;
  color: #d8d8d8;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer__inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.footer__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__links a:hover { color: var(--accent); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .burger { display: block; }

  .nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(12,12,12,.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child { border-bottom: 0; }
}


@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item img { height: 180px; }
}

@media (max-width: 560px) {
  .hero { min-height: 70vh; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item img { height: 200px; }
}


/* Legal pages */
.legal-page {
  min-height: calc(100vh - 144px);
  background: #f7f7f7;
  padding: 36px 0 56px;
}
.legal-wrap { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.legal-card {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.legal-card h1 { margin: 0 0 10px; font-size: clamp(1.5rem, 2vw, 2rem); }
.legal-card h2 { margin: 20px 0 8px; font-size: 1.05rem; color: #111; }
.legal-card p, .legal-card li { color: #333; font-size: .97rem; }
.legal-card ul { margin: 6px 0 0; padding-left: 18px; }
.legal-meta { color: #666; font-size: .9rem; margin-bottom: 10px; }
.legal-note {
  background: #fffbe6;
  border: 1px solid #f0e38a;
  color: #463f00;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 12px 0 16px;
  font-size: .93rem;
}
.legal-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.legal-actions a {
  display: inline-block;
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  background: #fafafa;
  font-weight: 600;
}
.legal-actions a.primary {
  background: var(--accent);
  border-color: rgba(0,0,0,.08);
  color: #111;
}
.placeholder {
  color: #8a2b06;
  background: #fff1ea;
  border: 1px dashed #f2b79f;
  border-radius: 6px;
  padding: 1px 5px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item img { height: 180px; }
}

@media (max-width: 560px) {
  .legal-card { padding: 16px; }
  .legal-actions a { width: 100%; text-align: center; }
}
