:root {
  --bg: #090a0d;
  --paper: #14161b;
  --ink: #eceff4;
  --muted: #a0a7b4;
  --brand: #c4ccd8;
  --brand-2: #7f8795;
  --accent: #ffffff;
  --line: #2a2e37;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.48);
  --radius: 18px;
  --radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% -10%, rgba(255, 255, 255, 0.08), transparent 35%),
    radial-gradient(circle at 95% 100%, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #0f1116 0%, #090a0d 55%, #07080b 100%);
  line-height: 1.6;
}

a {
  color: #d8dde7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--paper);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 2px solid #d8dde7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(10, 11, 14, 0.84);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.825rem, 1.5vw, 1.125rem);
  letter-spacing: 0.04em;
  text-transform: none;
  color: #f4f7fb;
  font-weight: 700;
}

.logo img {
  width: auto;
  height: 50px;
  max-height: 50px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.nav-link {
  color: #d8dde7;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav-link:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
}

.nav-link.is-active {
  background: #eceff4;
  color: #0d1015;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #111319;
  color: #e9edf3;
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  font: inherit;
}

main {
  min-height: 60vh;
}

.hero {
  padding: clamp(2.5rem, 7vw, 6rem) 0 2.5rem;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.09), transparent 30%),
    radial-gradient(circle at 88% 76%, rgba(255, 255, 255, 0.07), transparent 34%),
    linear-gradient(125deg, #13161d 0%, #0f1218 48%, #0b0d12 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-main small {
    font-size: 0.6em;
    opacity: 0.6;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero .panel {
  background: rgba(17, 19, 24, 0.82);
  backdrop-filter: blur(5px);
}

.panel-content {
  padding: clamp(1.25rem, 2vw, 2rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #f4f7fb;
  font-size: 0.78rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(1.8rem, 4.2vw, 3.25rem);
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2.1rem);
}

h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.copy-muted {
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  background: #eceff4;
  color: #101318;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn.alt {
  background: transparent;
  color: #eceff4;
  border: 1px solid var(--line);
}

.section {
  padding: 1.6rem 0 3.4rem;
}

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

.card {
  grid-column: span 12;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card h3 {
  margin-bottom: 0.45rem;
}

.col-6 {
  grid-column: span 6;
}

.col-4 {
  grid-column: span 4;
}

.col-3 {
  grid-column: span 3;
}

.content-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 2rem);
  margin-bottom: 1rem;
}

.list-clean {
  margin: 0;
  padding-left: 1.15rem;
}

.list-clean li {
  margin-bottom: 0.5rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 1fr;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  grid-column: 1 / -1;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}

.form-alert p {
  margin: 0;
}

.form-alert ul {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
}

.form-alert.success {
  border-color: #1c7a43;
  background: rgba(27, 130, 72, 0.18);
}

.form-alert.error {
  border-color: #9d2f40;
  background: rgba(157, 47, 64, 0.18);
}

.form-alert.warning {
  border-color: #8e6a17;
  background: rgba(173, 127, 24, 0.2);
}

.contact-actions {
  margin-top: -0.1rem;
}

.contact-copy-check {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.contact-copy-check label {
  color: #d9dfeb;
  font-size: 0.95rem;
  line-height: 1.25;
  margin-bottom: 0;
  cursor: pointer;
}

.contact-copy-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  cursor: pointer;
  flex: 0 0 auto;
  accent-color: #d8dde7;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.2rem;
}

input:not([type="checkbox"]),
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: #101218;
  color: #eef2f8;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
  background: rgba(10, 11, 14, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 2.1rem 0;
}

.footer-grid h2 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.footer-grid p {
  margin: 0 0 0.35rem;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 0.95rem 0 1.25rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── Foto-Galerie (beleuchtung etc.) ────────────────────────── */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 1.75rem 0 1.5rem;
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: calc(var(--radius) * 0.6);
  border: 1px solid var(--line);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.photo-gallery img:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────── */

/* ── Über uns intro layout ──────────────────────────────────── */
.ueber-uns-intro {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 0;
}

.ueber-uns-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
}

.ueber-uns-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.ueber-uns-intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
}

.ueber-uns-intro-text h1 {
  margin-top: 0;
}

/* ─────────────────────────────────────────────────────────── */

@media (max-width: 940px) {
  .col-6,
  .col-4,
  .col-3 {
    grid-column: span 12;
  }

  .ueber-uns-intro {
    grid-template-columns: 1fr;
  }

  .ueber-uns-image-wrap {
    min-height: 340px;
    max-height: 480px;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 4vw;
    top: 68px;
    width: min(280px, 88vw);
    background: #14171d;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.55rem;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    border-radius: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 1.55rem 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .panel,
  .card,
  .content-panel {
    animation: reveal 500ms ease both;
  }

  .card:nth-child(2) { animation-delay: 80ms; }
  .card:nth-child(3) { animation-delay: 130ms; }
  .card:nth-child(4) { animation-delay: 170ms; }
  .card:nth-child(5) { animation-delay: 210ms; }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
