:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-soft: #eef4ee;
  --text: #1f2b24;
  --muted: #5a675f;
  --line: #d9e2d8;
  --accent: #7fb79a;
  --accent-dark: #5f8e74;
  --shadow: 0 14px 36px rgba(31, 43, 36, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

/* HEADER */

.header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-inner,
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 70px;   /* größer */
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 1.6rem;
}

.logo-subtitle {
  font-size: 0.9rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--text);
}

/* HERO */

.hero {
  padding: 80px 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 12ch;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 440px;
  height: 600px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 18px;
  display: block;
  box-shadow: var(--shadow);
}

/* BUTTONS */

.buttons {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
}

.secondary {
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  background: transparent;
}

/* GENERAL SECTIONS */

.section {
  padding: 70px 0;
}

.light {
  background: var(--surface);
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-top: 0;
  margin-bottom: 20px;
}

.center {
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

/* CARDS */

.cards {
  display: flex;
  gap: 25px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.card h3 {
  margin: 18px 0 10px;
  font-size: 1.8rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

/* CARD IMAGES */

.card-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
}

.card-image-company {
  object-position: center 25%;
}

/* ABOUT / SPLIT */

.split {
  display: flex;
  gap: 50px;
  align-items: center;
}

.split img {
  width: 100%;
  max-width: 420px;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.split > div {
  flex: 1;
}

.split p {
  color: var(--muted);
}

/* FEATURES */

.features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.features div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* CTA */

.cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  text-align: center;
  padding: 70px 0;
}

.cta h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.cta p {
  margin: 0 0 24px;
  opacity: 0.95;
}

.cta .btn.primary {
  background: white;
  color: var(--accent-dark);
  border-color: white;
}

/* FOOTER */

.footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 24px 16px;
  color: var(--muted);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links,
.footer-social,
.footer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
}

.footer-link:hover,
.footer-social a:hover {
  text-decoration: underline;
}

.footer-social a {
  color: var(--muted);
}

.footer-text {
  margin: 0;
}

/* ABOUT PAGE */

.page-intro {
  max-width: 760px;
}

.page-title {
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  line-height: 1.15;
  margin: 0 0 18px;
}

.page-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 44rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
}

.about-layout {
  align-items: start;
}

.about-image-wrap {
  display: flex;
  justify-content: center;
}

.about-image {
  width: 100%;
  max-width: 420px;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-text p {
  color: var(--muted);
}

.about-closing {
  text-align: center;
  max-width: 760px;
}

.about-closing p {
  color: var(--muted);
}

/* CONTACT FORM */

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 600;
  color: var(--text);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(127, 183, 154, 0.15);
}

.hidden-field {
  display: none;
}

/* IMPRESSUM PAGE */

.legal-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.legal-box h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.legal-box h2:first-child {
  margin-top: 0;
}

.legal-box p,
.legal-box li {
  color: var(--muted);
}

.legal-box ul {
  padding-left: 1.2rem;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-content,
  .cards,
  .split {
    flex-direction: column;
  }

  .hero-text h1 {
    max-width: none;
  }

  .hero-image img,
  .split img,
  .about-image {
    max-width: 100%;
  }

  .features,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-image {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    min-height: auto;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 1.2rem;
    gap: 0.75rem;
  }

  .logo img {
    height: 52px;
  }

  .logo-title {
    font-size: 1.2rem;
  }

  .logo-subtitle {
    font-size: 0.82rem;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-content {
    gap: 32px;
  }

  .hero-image img {
    height: 240px;
  }

  .card-image {
    height: 240px;
  }

  .split img,
  .about-image {
    height: 340px;
  }

  .section {
    padding: 50px 0;
  }
}