:root {
  --bg: #fcf8ef;
  --text: #2f3a40;
  --muted: #6b7479;
  --line: #d8d2c6;
  --surface: #f7f1e6;
  --accent: #3f4d55;
  --radius: 18px;
  --maxw: 1160px;
  --shadow: 0 14px 40px rgba(47, 58, 64, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 10% 0%, #fffaf1, var(--bg) 45%);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(92%, var(--maxw));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(252, 248, 239, 0.82);
  border-bottom: 1px solid rgba(47, 58, 64, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 146px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: 250px;
  height: 128px;
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  transform: scale(1.75);
  transform-origin: center;
  border-radius: 8px;
}

.brand-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0.4px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a {
  position: relative;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 0.2rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--text);
}

.hero {
  min-height: clamp(520px, 82vh, 740px);
  display: grid;
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--muted);
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 5.6vw, 5.2rem);
  letter-spacing: 0.3px;
  margin-top: 0.9rem;
}

h2 {
  font-size: clamp(1.8rem, 3.7vw, 3.3rem);
  margin-bottom: 0.8rem;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 1rem;
}

.actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
  border-radius: 99px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(47, 58, 64, 0.12);
}

.btn-solid {
  background: var(--text);
  color: var(--bg);
}

.hero-card {
  background: linear-gradient(150deg, #fffaf2 0%, #f4ede1 100%);
  border: 1px solid rgba(47, 58, 64, 0.12);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.3rem, 2vw, 2rem);
  box-shadow: var(--shadow);
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid rgba(47, 58, 64, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.6);
  padding: 1.2rem;
}

.card h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  margin-bottom: 0.45rem;
}

.page-hero {
  padding: clamp(2.5rem, 8vw, 5.5rem) 0 1.8rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 66ch;
}

.form-wrap {
  border: 1px solid rgba(47, 58, 64, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.76);
  padding: clamp(1rem, 2.2vw, 1.8rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: #fffdf9;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(63, 77, 85, 0.35);
  outline-offset: 2px;
}

.notice {
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.notice.success {
  background: rgba(53, 129, 94, 0.16);
  border: 1px solid rgba(53, 129, 94, 0.35);
}

.notice.error {
  background: rgba(179, 84, 72, 0.13);
  border: 1px solid rgba(179, 84, 72, 0.33);
}

.impressum-block {
  border: 1px solid rgba(47, 58, 64, 0.15);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: rgba(255, 252, 246, 0.76);
}

.impressum-block p {
  margin: 0.5rem 0;
}

.site-footer {
  border-top: 1px solid rgba(47, 58, 64, 0.1);
  padding: 1.2rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .header-inner {
    min-height: 124px;
  }

  .brand {
    width: 206px;
    height: 108px;
  }

  .brand-logo {
    width: 100%;
    height: 100%;
    transform: scale(1.68);
  }

  .hero-grid,
  .section-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 2.8rem;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 124px;
    background: rgba(252, 248, 239, 0.96);
    border-bottom: 1px solid rgba(47, 58, 64, 0.12);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 4%;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 184px;
    height: 96px;
  }

  .brand-logo {
    transform: scale(1.62);
  }
}
