
:root {
  --red: #850b12;
  --red-dark: #69070d;
  --blue: #071b50;
  --blue-light: #102b68;
  --white: #ffffff;
  --light: #f6f7fa;
  --text: #202638;
  --muted: #687080;
  --border: #e4e6ec;
  --shadow: 0 15px 40px rgba(7, 27, 80, 0.09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.container { width: min(1120px, 90%); margin: 0 auto; }
.section { padding: 90px 0; }

/* ACCESSIBILITY */

.skip-link {
  position: absolute;
  top: -100px;
  left: 15px;
  z-index: 2000;
  padding: 12px 18px;
  background: var(--blue);
  color: white;
  border-radius: 6px;
}

.skip-link:focus { top: 15px; }

:focus-visible {
  outline: 3px solid #d34b52;
  outline-offset: 4px;
}

/* NAVIGATION */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 145px;
  height: 80px;
  object-fit: contain;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 17px;
  flex: 1;
}

.navigation a {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
  transition: color .2s ease;
}

.navigation a:hover { color: var(--red); }

.navigation .nav-cta {
  background: var(--red);
  color: white;
  padding: 10px 17px;
  border-radius: 6px;
}

.navigation .nav-cta:hover {
  background: var(--red-dark);
  color: white;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 28px;
  padding: 8px;
  line-height: 1;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 23px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
  background: white;
}

.btn-outline:hover { background: var(--blue); color: white; }

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  display: flex;
  align-items: center;
  background: linear-gradient(110deg,#fff 0%,#fff 57%,#f5f6fa 100%);
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 650px;
  height: 650px;
  right: -170px;
  top: -190px;
  border: 35px solid rgba(133,11,18,.08);
}

.hero::after {
  width: 530px;
  height: 530px;
  right: -105px;
  top: -115px;
  border: 28px solid rgba(7,27,80,.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: clamp(42px,6vw,72px);
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--blue);
  margin-bottom: 22px;
}

.hero h1 span { color: var(--red); }

.hero-content > p {
  max-width: 550px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }

.hero-note {
  margin-top: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 8px;
}

/* INTRO */

.intro { background: white; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro h2, .section-heading h2, .about h2, .contact h2 {
  font-size: clamp(30px,4vw,43px);
  line-height: 1.2;
  color: var(--blue);
  margin-bottom: 18px;
}

.red { color: var(--red); }
.intro-grid p { color: var(--muted); font-size: 16px; }

/* SERVICES */

.services { background: var(--light); }

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
}

.section-heading p { color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.service-card {
  background: white;
  padding: 32px 27px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(133,11,18,.35);
}

.service-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(133,11,18,.09);
  color: var(--red);
  font-size: 30px;
  margin-bottom: 20px;
}

.service-card h3 { color: var(--blue); font-size: 21px; margin-bottom: 12px; }

.service-card p {
  color: var(--muted);
  font-size: 14px;
  min-height: 70px;
}

.service-link {
  border: 0;
  background: none;
  color: var(--red);
  font-weight: 800;
  margin-top: 22px;
  padding: 5px 0;
  text-align: left;
}

.service-link:hover { color: var(--red-dark); text-decoration: underline; }

/* PROCESS */

.process { background: white; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.step-card {
  padding: 30px;
  border-left: 3px solid var(--red);
  background: var(--light);
}

.step-number {
  display: block;
  color: var(--red);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 15px;
}

.step-card h3 { color: var(--blue); margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 14px; }

/* ABOUT */

.about { background: var(--light); }

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-logo {
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.about-logo img {
  display: block;
  width: 100%;
  max-height: 350px;
  object-fit: contain;
}

.about-grid p { color: var(--muted); margin-bottom: 25px; }

/* UNSERE PARTNER */

.partners { background: var(--light); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 950px;
  margin: 0 auto;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 145px;
  padding: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease,
              box-shadow .25s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(133,11,18,.4);
  box-shadow: 0 20px 45px rgba(7,27,80,.13);
}

.partner-number {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(133,11,18,.09);
  color: var(--red);
  font-size: 17px;
  font-weight: 900;
}

.partner-card h3 {
  color: var(--blue);
  font-size: 18px;
  line-height: 1.4;
}

/* KUNDENBEWERTUNGEN */

.feedback-section { background: white; }

.feedback-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 35px;
  align-items: start;
}

.feedback-intro {
  background: var(--blue);
  color: white;
  padding: 38px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.feedback-star-decoration {
  color: #ffc43d;
  font-size: 34px;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.feedback-intro h3 {
  font-size: 25px;
  line-height: 1.3;
  margin-bottom: 15px;
}

.feedback-intro > p { color: #e0e5f1; }

.feedback-note {
  margin-top: 30px;
  padding: 20px;
  border-radius: 9px;
  background: rgba(255,255,255,.1);
}

.feedback-note strong { display: block; margin-bottom: 8px; }
.feedback-note p { color: #e0e5f1; font-size: 14px; }

.feedback-form {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: white;
}

.feedback-form h3 {
  color: var(--blue);
  font-size: 25px;
  margin-bottom: 22px;
}

.feedback-form > label:not(.privacy-check):not(.rating-label) {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin: 15px 0 7px;
}

.rating-label {
  display: block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
}

.feedback-form input:not([type="checkbox"]):not([type="radio"]),
.feedback-form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.feedback-form input:focus, .feedback-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(133,11,18,.1);
}

.feedback-form textarea { resize: vertical; min-height: 130px; }

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
  margin: 5px 0 20px;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.star-rating label {
  color: #d7dbe3;
  font-size: 39px;
  line-height: 1.3;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #f5b800;
}

.star-rating label:hover { transform: scale(1.12); }

.star-rating input:focus-visible + label {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.feedback-form .privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  margin: 18px 0;
}

.feedback-form .privacy-check input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  accent-color: var(--red);
}

.feedback-form .privacy-check a {
  color: var(--red);
  text-decoration: underline;
}

.feedback-form .form-submit {
  width: 100%;
  border: 0;
  padding: 16px;
  font-size: 15px;
}

.feedback-form button:disabled {
  opacity: .7;
  cursor: wait;
}

.published-reviews {
  margin-top: 65px;
  text-align: center;
}

.published-reviews h3 {
  color: var(--blue);
  font-size: 26px;
  margin-bottom: 18px;
}

.no-reviews { color: var(--muted); }

.review-card {
  max-width: 650px;
  margin: 18px auto;
  padding: 25px;
  text-align: left;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.review-card .review-stars {
  color: #f5b800;
  letter-spacing: 3px;
  font-size: 21px;
}

.review-card p { margin: 12px 0; color: var(--text); }
.review-card strong { color: var(--blue); }

/* FAQ */

.faq { background: var(--light); }
.faq-container { max-width: 850px; }

.faq details {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 13px;
}

.faq summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.faq details p { padding-top: 14px; color: var(--muted); }

/* CONTACT */

.contact { background: white; }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 65px;
  align-items: start;
}

.contact-copy > p { color: var(--muted); margin-bottom: 30px; }

.contact-detail { display: flex; flex-direction: column; margin-bottom: 18px; }
.contact-detail strong { color: var(--blue); font-size: 13px; }
.contact-detail a { color: var(--red); font-weight: 700; }

.contact-form {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: white;
}

.contact-form h3 { color: var(--blue); font-size: 25px; margin-bottom: 22px; }

.contact-form > label:not(.privacy-check) {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin: 15px 0 7px;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  outline: none;
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(133,11,18,.1);
}

.contact-form textarea { resize: vertical; min-height: 130px; }

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  margin: 18px 0;
}

.privacy-check input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  accent-color: var(--red);
}

.privacy-check a { color: var(--red); text-decoration: underline; }

.form-submit {
  width: 100%;
  border: 0;
  padding: 16px;
  font-size: 15px;
  cursor: pointer;
}

.contact-form .form-submit:hover,
.feedback-form .form-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.form-note { color: var(--muted); font-size: 11px; margin-top: 13px; }
.form-error { color: #dc2626 !important; }

/* FOOTER */

.footer { background: var(--blue); color: white; padding: 30px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.footer img {
  width: 100px;
  height: 65px;
  object-fit: contain;
  background: white;
  border-radius: 5px;
}

.footer p, .footer-links a { font-size: 12px; color: #e0e5f1; }

.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: white; text-decoration: underline; }

/* ERFOLGSMELDUNGEN */

.form-success {
  width: 100%;
  padding: 45px 30px;
  background: white;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(7,27,80,.1);
  animation: successAppear .45s ease;
}

.success-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e7f8ed;
  color: #168442;
  font-size: 42px;
  font-weight: bold;
}

.form-success h3 { color: var(--blue); font-size: 26px; margin: 15px 0; }
.form-success p { color: #64748b; line-height: 1.8; margin-bottom: 25px; }
.form-success .btn { display: inline-flex; justify-content: center; text-decoration: none; }
.form-success:focus { outline: none; }

@keyframes successAppear {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-form button:disabled { opacity: .7; cursor: wait; }

/* TABLET UND KLEINERE LAPTOPS */

@media (max-width: 1050px) {
  .nav {
    gap: 18px;
  }

  .brand img {
    width: 125px;
  }

  .navigation {
    gap: 8px 12px;
  }

  .navigation a {
    font-size: 12px;
  }
}

/* MOBILE MENÜ */

@media (max-width: 800px) {
  .nav {
    min-height: 82px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .navigation {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: white;
    padding: 22px 5%;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 25px rgba(7,27,80,.08);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .navigation.open {
    display: flex;
  }

  .navigation a {
    display: block;
    width: 100%;
    padding: 9px 5px;
    font-size: 15px;
  }

  .navigation .nav-cta {
    text-align: center;
    padding: 11px 20px;
    margin-top: 5px;
  }

  .intro-grid, .about-grid, .contact-grid, .feedback-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-grid, .steps-grid { grid-template-columns: 1fr; }
  .service-card p { min-height: auto; }

  .partner-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .partner-card {
    min-height: 115px;
    padding: 23px;
  }

  .post-box { flex-direction: column; align-items: flex-start; }

  .footer-inner { flex-direction: column; text-align: center; }
  .hero { min-height: 520px; }
}

@media (max-width: 480px) {
  .section { padding: 65px 0; }

  .nav {
    min-height: 72px;
  }

  .brand img {
    width: 125px;
    height: 70px;
  }

  .navigation {
    top: 72px;
  }

  .hero h1 { letter-spacing: -1px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .contact-form, .feedback-form { padding: 22px 17px; }
  .feedback-intro { padding: 27px 22px; }
  .post-box { padding: 25px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* REDUZIERTE BEWEGUNG */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
