:root {
  --bg: #9FAF9F;
  --text: #262626;
  --muted: #6b7280;

  --primary: #4F4F4F;   /* dunkles Grau */
  --secondary: #7F907F; /* Champagner-Gold */

  --card: #ffffff;
  --border: #e5e7eb;
  --light: #E8E8E8;

  --white: #ffffff;
  --kicker: var(--muted);
  --dark-text-on-dark: #e5e7eb;

  --shadow-soft: rgba(17, 24, 39, 0.06);
  --shadow-strong: rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  z-index:800;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 185px;
  padding: 12px 0;
}

.brand small,
.section-kicker {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--kicker);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.brand h1 {
  margin: 0;
  font-size: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  background: transparent;
}

.logo {
  height:110px;
  width: auto;
  display: block;
}

section {
  padding: 50px 0;
  scroll-margin-top: 50px;
  overflow: visible;
}

section + section {
  padding-top: 0px;
}

.hero-image-card {
  overflow: hidden;
  padding: 0;
}

.hero-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 18px;
  font-weight: 600;
}

.hero {
  padding: 40px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.hero h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 28px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.card,
.service-card,
.contact-card,
.legal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 8px 24px var(--shadow-soft);
}

.highlight-grid,
.services-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.highlight-grid {
  grid-template-columns: repeat(2, 1fr);
  padding: 20px;
}

.highlight-item {
  background: var(--light);
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
  font-size: 14px;
}

.section-title {
  font-size: 36px;
  margin: 0 0 18px;
}

.section-text {
  color: var(--muted);
  max-width: 760px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.service-card {
  padding: 28px;
  height: 100%;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 22px;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 340px;
    gap:40px;
    align-items:start;
}

.dark-box {
  background: var(--primary);
  color: var(--white);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 8px 24px var(--shadow-strong);
}

.dark-box h3 {
  color: var(--white);
}

.dark-box li {
  margin-bottom: 12px;
  color: var(--dark-text-on-dark);
}

.contact-wrap {
  padding: 34px;
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.contact-card {
  padding: 22px;
  background: var(--light);
  box-shadow: none;
}

.contact-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.legal-box {
  padding: 34px;
  margin-bottom: 24px;
}

.legal-box h3 {
  margin-top: 0;
  font-size: 28px;
}

.legal-box h4 {
  margin-bottom: 8px;
  margin-top: 24px;
  font-size: 20px;
}

.legal-box a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  background: var(--card);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-page {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info p {
  margin: 0 0 20px;
}

.contact-form-box {
  padding: 36px;
  margin-top: 0px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 180px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.checkbox-row input {
  width: auto;
  margin-top: 4px;
  flex: 0 0 auto;
}

.contact-form .btn {
  display: block;
  margin: 10px auto 0;
  min-width: 200px;
  font-size: 18px;
  padding: 16px 24px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-message {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 600;
}

.form-message-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

.about-photo{
    width:320px;
    max-width:100%;
    height:auto;
    display:block;
    margin:150px 0 0 auto;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

@media (max-width: 900px) {

  .hero-grid,
  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid{
    display:flex;
    flex-direction:column;
    align-items:center;   /* Zentriert die Elemente */
    gap:25px;
  }

  .about-grid > div:first-child{
    width:100%;
  }

  .about-grid > div:last-child{
    width:100%;
    display:flex;
    justify-content:center;
  }

  .highlight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-photo{
    width:300px;
    max-width:100%;
    margin:0;
  }

}

@media (max-width: 640px) {

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 16px;
  }

  .hero {
    padding-top: 48px;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }

  .contact-wrap,
  .legal-box,
  .service-card {
    padding: 24px;
  }
}

.contact-form-box {
  margin-bottom: 40px;
}

.checkbox-row a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 79, 79, 0.4);
  transition: all 0.2s ease;
}

.checkbox-row a:hover {
  border-bottom: 1px solid var(--primary);
}
