:root {
  --bg: #f3fbfc;
  --surface: #ffffff;
  --surface-alt: #def3f6;
  --ink: #08313a;
  --ink-soft: #295662;
  --brand: #007a87;
  --brand-strong: #005f69;
  --accent: #f29e38;
  --line: #c5e3e8;
  --shadow: 0 18px 40px rgba(0, 56, 68, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% -20%, #c9eff2 0%, transparent 40%),
    radial-gradient(circle at 90% 0%, #ffdcb2 0%, transparent 30%),
    var(--bg);
  line-height: 1.5;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Spectral", Georgia, serif;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--brand-strong);
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.5rem 1rem;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(243, 251, 252, 0.8);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
}

.brand-text small {
  color: var(--ink-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
}

.nav-button {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--brand);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 5rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(0, 67, 76, 0.5), rgba(0, 80, 90, 0.32)),
    url("assets/images/buero-bild.jpg") center/cover no-repeat;
  transform: skewY(-2deg) scale(1.2);
  transform-origin: top left;
}

.hero-content h1,
.hero-content p {
  color: #ffffff;
}

.hero-content .kicker {
  color: #d6f2f6;
}

.hero-content {
  position: relative;
  max-width: 760px;
  animation: reveal 0.9s ease-out;
}

.kicker {
  font-weight: 700;
  color: var(--brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
}

.button-ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}

.quick-links {
  display: grid;
  gap: 0.7rem;
}

.quick-links a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  text-decoration: none;
  font-weight: 700;
}

.owner-card {
  margin: 0 0 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.owner-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.owner-card figcaption {
  padding: 0.85rem 0.95rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.request-form {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.checkbox-row {
  margin: 0.4rem 0;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.checkbox-row input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.small-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-cta {
  display: none;
}

.mobile-cta a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 0.85rem 0.4rem;
}

.mobile-cta a:nth-child(1) {
  background: #006b75;
}

.mobile-cta a:nth-child(2) {
  background: #0a7f8c;
}

.mobile-cta a:nth-child(3) {
  background: #f29e38;
}

.footer-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .split,
  .card-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    padding: 0.45rem 0.7rem;
  }

  .main-nav {
    position: absolute;
    right: 1rem;
    top: 68px;
    width: min(300px, calc(100% - 2rem));
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.65rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    padding: 0.5rem;
  }

  .main-nav.open {
    display: flex;
  }

  body {
    padding-bottom: 64px;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    box-shadow: 0 -8px 20px rgba(0, 44, 53, 0.22);
  }
}
