:root {
  --color-text: #3c3c3e;
  --color-muted: #686867;
  --color-accent: #b79977;
  --color-accent-dark: #927758;
  --color-bg: #ffffff;
  --color-soft: #f7f4ef;
  --color-line: #e8e2da;
  --color-dark: #28282a;
  --shadow: 0 24px 70px rgba(60, 60, 62, 0.12);
  --radius: 22px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--color-bg);
  overflow-x: clip;
  max-width: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-dark);
  line-height: 1.15;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

p {
  margin-bottom: 18px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--color-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.request-heading {
  max-width: 100%;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  color: var(--color-dark);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.4;
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: inline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(232, 226, 218, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  padding: 8px 0;
}

.brand-logo {
  width: min(280px, 42vw);
  height: auto;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  background: var(--color-dark);
  border-radius: 50%;
}

.brand-text {
  color: var(--color-dark);
  font-size: 0.88rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(247, 244, 239, 0.78);
  border: 1px solid rgba(232, 226, 218, 0.9);
  border-radius: 999px;
}

.site-nav a {
  padding: 10px 15px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  color: var(--color-dark);
  background: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(60, 60, 62, 0.09);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: var(--color-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(28, 28, 30, 0.9) 0%, rgba(40, 40, 42, 0.78) 48%, rgba(40, 40, 42, 0.36) 100%),
    url("../img/hero-gebaeude-uhr.jpg") center / cover no-repeat;
}

.hero-grid,
.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 64px;
}

.hero-content,
.contact-card,
.text-block,
.section-heading,
.contact-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero-content {
  width: min(100%, 900px);
  max-width: 100%;
}

.hero .hero-grid {
  grid-template-columns: minmax(0, 940px);
}

.hero h1,
.hero .lead {
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.4vw, 4rem);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.34);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero .eyebrow {
  color: #e1c4a2;
}

.hero p {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--color-accent);
}

.button-primary:hover {
  color: #fff;
  background: var(--color-accent-dark);
}

.button-secondary {
  color: var(--color-dark);
  background: #fff;
  border-color: var(--color-line);
}

.button-secondary:hover {
  border-color: var(--color-accent);
}

.text-block {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.info-panel,
.contact-card,
.contact-form,
.iframe-wrap {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(60, 60, 62, 0.07);
}

.service-card {
  padding: 28px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--color-accent-dark);
  background: var(--color-soft);
  border-radius: 16px;
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.info-panel {
  padding: 34px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fff;
}

.notice {
  padding: 22px 24px;
  color: var(--color-dark);
  background: #fff;
  border: 1px solid rgba(183, 153, 119, 0.28);
  border-left: 4px solid var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(60, 60, 62, 0.06);
}

.request-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
  max-width: 100%;
}

.request-intro p {
  margin-bottom: 0;
}

.iframe-wrap {
  overflow: hidden;
  padding: 30px;
}

.iframe-wrap iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 500px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
}

.form-message {
  display: none;
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 700;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-success {
  color: #2f5d44;
  background: #edf7f1;
  border: 1px solid #cde6d5;
}

.form-message.is-error {
  color: #8a322d;
  background: #fff1ef;
  border: 1px solid #f1c8c2;
}

.form-message.is-pending {
  color: var(--color-dark);
  background: var(--color-soft);
  border: 1px solid var(--color-line);
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  color: var(--color-dark);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--color-text);
  font: inherit;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(183, 153, 119, 0.35);
  outline-offset: 3px;
}

.privacy-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 400;
}

.privacy-check input {
  width: auto;
  margin-top: 7px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.contact-section {
  color: #fff;
  background:
    linear-gradient(rgba(40, 40, 42, 0.9), rgba(40, 40, 42, 0.9)),
    linear-gradient(135deg, #3c3c3e, #28282a);
}

.contact-section-inner {
  display: block;
}

.contact-header {
  max-width: 760px;
  margin-bottom: 36px;
}

.contact-section h2,
.contact-section .eyebrow {
  color: #fff;
}

.contact-section h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  overflow-wrap: anywhere;
}

.contact-section address {
  font-style: normal;
}

.contact-lead {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-card {
  color: var(--color-text);
  padding: 38px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list-main {
  grid-template-columns: 1fr;
  padding: 22px;
  background: #f3f2f0;
  border: 1px solid var(--color-line);
  border-radius: 22px;
}

.contact-list-main .contact-item {
  background: #fff;
  box-shadow: 0 2px 10px rgba(60, 60, 62, 0.04);
}

.contact-list-highlight {
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(183, 153, 119, 0.22) 0%, rgba(183, 153, 119, 0.1) 100%);
  border: 1px solid rgba(183, 153, 119, 0.42);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.contact-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  background: #fbfaf8;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  line-height: 1.55;
}

.contact-item > span:last-child,
.contact-item > div {
  min-width: 0;
}

.contact-item a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-dark);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item-highlight {
  padding: 22px 22px 22px 20px;
  background: #fff;
  border: 1px solid rgba(183, 153, 119, 0.48);
  border-left: 4px solid var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(60, 60, 62, 0.08);
}

.contact-item-highlight strong {
  margin-bottom: 10px;
  color: var(--color-accent-dark);
  font-size: 0.85rem;
}

.contact-item-post {
  background: linear-gradient(135deg, #fff 0%, #faf6f1 100%);
}

.contact-item-partners {
  background: linear-gradient(135deg, #fff 0%, #f8f3ec 100%);
}

.contact-post-hint,
.contact-highlight-text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-post-hint {
  margin-bottom: 10px;
}

.flat-icon-accent {
  color: #fff;
  background: var(--color-accent);
}

.flat-icon,
.footer-icon {
  display: inline-grid;
  place-items: center;
  color: var(--color-accent-dark);
  background: var(--color-soft);
  border-radius: 16px;
}

.flat-icon {
  width: 56px;
  height: 56px;
}

.flat-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.contact-note {
  margin: 28px 0 0;
  padding: 22px 24px;
  color: var(--color-muted);
  background: var(--color-soft);
  border: 1px solid var(--color-line);
  border-radius: 18px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.legal-page {
  min-height: calc(100vh - 86px);
  background: var(--color-soft);
}

.legal-content {
  max-width: 860px;
  padding: 42px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.legal-content h4 {
  margin: 34px 0 14px;
  color: var(--color-dark);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.3;
}

.legal-content ul {
  margin: 0 0 24px;
  padding-left: 0;
}

.legal-content li {
  margin-bottom: 18px;
}

.legal-content .button {
  margin-top: 18px;
}

.site-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  color: #fff;
  font-weight: 700;
}

.footer-brand span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  border-radius: 12px;
}

.footer-inner nav {
  display: flex;
  gap: 12px;
}

.footer-inner nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
}

.footer-inner nav a:hover {
  color: #fff;
  border-color: rgba(183, 153, 119, 0.55);
}

.footer-icon {
  width: 24px;
  height: 24px;
  color: #fff;
  background: rgba(183, 153, 119, 0.34);
  border-radius: 50%;
}

.footer-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.footer-copy {
  justify-self: end;
}

@media (max-width: 980px) {
  .section {
    padding: 76px 0;
  }

  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 92px;
  }

  .section {
    scroll-margin-top: 0;
  }

  .site-header {
    padding: 8px 0;
  }

  .header-inner {
    min-height: 76px;
    gap: 18px;
  }

  .brand-text {
    font-size: 0.76rem;
  }

  .brand-logo {
    width: min(230px, 58vw);
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 92px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav.legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 14px;
  }

  .site-nav.legal-nav a {
    width: auto;
    padding: 8px;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 78px;
  }

  .hero .eyebrow {
    margin-bottom: 36px;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 7vw, 2.45rem);
    margin-bottom: 28px;
  }

  .hero .lead {
    margin-bottom: 56px;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 58px;
  }

  .hero-actions .button {
    display: flex;
    width: 100%;
    min-height: 50px;
    height: auto;
    padding: 14px 18px;
    justify-content: center;
    text-align: center;
    white-space: normal;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .hero-actions .button .mobile-only {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-summary {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .button .desktop-only {
    display: none;
  }

  .button .mobile-only {
    display: inline;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .info-panel,
  .contact-card,
  .contact-form,
  .iframe-wrap {
    padding: 24px;
  }

  .footer-inner {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-inner nav {
    flex-wrap: wrap;
    width: 100%;
  }

  .contact-section h2 {
    font-size: clamp(1.55rem, 7.5vw, 2.2rem);
  }

  .contact-card {
    padding: 20px;
  }

  .contact-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .flat-icon {
    width: 48px;
    height: 48px;
  }

  .site-footer {
    padding-bottom: 48px;
  }

  .footer-copy {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .container {
    padding-inline: 14px;
  }

  .brand-logo {
    width: min(170px, 48vw);
  }

  .header-inner {
    gap: 10px;
  }

  .section {
    padding: 62px 0;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button-primary {
    padding: 13px 14px;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .iframe-wrap iframe {
    height: 760px;
  }

  .legal-content {
    padding: 26px;
  }
}
