:root{
  --nav-h: 64px;
  --pad-x: 40px;
  --brand: #903030;
  --pillText: #373435;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; margin: 0; }

body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #fff;
}

body.home{
  background: url("img/hintergrund.jpg") center / cover no-repeat fixed;
  background-color: #000;
  padding-top: var(--nav-h);
}
@media (max-width: 768px){
  body.home{ background-attachment: scroll; }
}

.main-nav{
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: rgba(90, 30, 30, .85);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x) 0 10px;
  box-shadow: 0 2px 8px rgba(0,0,0);
  z-index: 1000;
}

.nav-left{ display:flex; align-items:center; gap:12px; }
.logo{ height: calc(var(--nav-h) - 16px); width:auto; display:block; }
.nav-title{
  color:#fff; font-weight:800; line-height:1;
  font-size: clamp(1.1rem, 2.8vw, 1.8rem);
  white-space: nowrap; margin:0;
}

.nav-links{
  list-style:none; margin:0; padding:0;
  display:flex; gap:12px; flex-wrap:wrap;
}
.nav-links a{
  display:inline-flex; align-items:center; justify-content:center;
  height:34px; padding:0 12px;
  background:#fff; color: var(--pillText);
  border-radius:8px; font-weight:600; text-decoration:none;
  box-shadow: 0 0 3px rgba(0,0,0,.12);
  transition: background .2s ease, text-decoration-color .2s ease;
}
.nav-links a:hover{ text-decoration: underline; background:#f5f5f5; }
.nav-links a.active{ outline:2px solid rgba(255,255,255,.5); outline-offset:2px; }

.nav-toggle{ display:none; }
.burger{ display:none; cursor:pointer; width:32px; height:24px; margin-left:12px; }
.burger span{
  display:block; height:3px; background:#fff; margin:5px 0; border-radius:2px;
}

.Mitte{
  min-height: calc(100svh - var(--nav-h));
  display: grid; place-items: center;
  padding: 0 1rem;
}
.text-box{
  background: var(--brand);
  width: min(90%, 720px);
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.text-box p{
  margin: 0; line-height: 1.6;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}

@media (max-width: 900px){
  :root{ --nav-h: 58px; --pad-x: 20px; }

  .burger{ display:block; }
  .nav-links{
    position: absolute; top: var(--nav-h); left:0; right:0;
    display: none;
    flex-direction: column; gap: 10px;
    align-items: center;
    background: rgba(90,30,30,.95);
    padding: 12px var(--pad-x) 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
  }
  .nav-toggle:checked ~ .nav-links{ display:flex; }
}

@media (max-width: 560px){
  :root{ --nav-h: 54px; --pad-x: 16px; }
  .logo{ height: calc(var(--nav-h) - 18px); }
  .nav-title{ font-size: clamp(1rem, 4.5vw, 1.4rem); }
  .nav-links a{ height: 32px; padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
}

body.modele {
  background-color: #903030;
  color: #373435;
}

.modele-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 120px 20px 60px;
}

.white-box {
  background-color: #ffffff;
  color: #373435;
  width: min(90%, 800px);
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.white-box:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.white-box h2 {
  margin-top: 0;
  color: #903030;
  font-size: 1.8rem;
}

body.modele{
  background-color: #903030;
  color: #373435;
  padding-top: var(--nav-h);
}

.models-wrapper{
  width: min(1200px, 95%);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 18px);
}

.model-box{
  background: #ffffff;
  color: #373435;
  width: 100%;
  padding: clamp(16px, 2.5vw, 28px) clamp(18px, 3vw, 36px);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  line-height: 1.6;
}

.model-box h2{
  margin: 0 0 .35em;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: #903030;
  font-weight: 800;
}

@media (min-width: 1400px){
  .models-wrapper{ width: min(1400px, 92%); }
}

.model-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #ffffff;
  color: #373435;
  width: 100%;
  padding: clamp(16px, 2.5vw, 28px);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  line-height: 1.6;
  gap: 20px;
}

.model-box img.model-img {
  flex: 1 1 320px;
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.model-text {
  flex: 2 1 400px;
  text-align: left;
}

.model-text h2 {
  margin-top: 0;
  color: #903030;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.model-text p {
  font-size: clamp(1rem, 2vw, 1.1rem);
}

@media (max-width: 768px) {
  .model-box {
    flex-direction: column;
    text-align: center;
  }
  .model-text {
    text-align: center;
  }
  .model-box img.model-img {
    max-width: 90%;
  }
}

.model-box{
  background:#ffffff;
  color:#373435;
  width:100%;
  padding: clamp(16px, 2.5vw, 28px) clamp(18px, 3vw, 36px);
  border-radius:12px;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
  line-height:1.6;

  display:grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  align-items:center;
  gap: clamp(14px, 2vw, 24px);
}

.model-box .model-img{
  width:100%;
  max-width:360px;
  height:auto;
  border-radius:8px;
  object-fit: cover;
  box-shadow:0 4px 10px rgba(0,0,0,.2);
  justify-self:start;
}

.model-box .model-text{
  text-align:left;
}
.model-box .model-text h2{
  margin:0 0 .35em;
  color:#903030;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
}
.model-box .model-text p{
  margin:0;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

@media (max-width: 768px){
  .model-box{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .model-box .model-text{ text-align:center; }
  .model-box .model-img{
    max-width: min(520px, 90%);
    justify-self:center;
  }
}

.model-box {
  background: #ffffff;
  color: #373435;
  width: min(90%, 1100px);
  margin: 40px auto;
  padding: clamp(16px, 2.5vw, 28px);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  line-height: 1.6;

  display: grid;
  grid-template-columns: minmax(250px, 350px) 1fr;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
}

.model-box .model-img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  justify-self: center;
}

.model-box .model-text {
  text-align: left;
}

.model-box .model-text h2 {
  margin: 0 0 0.4em;
  color: #903030;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.model-box .model-text p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

@media (max-width: 768px) {
  .model-box {
    grid-template-columns: 1fr;
    text-align: center;
    width: min(95%, 700px);
    padding: 20px;
  }

  .model-box .model-text {
    text-align: center;
  }

  .model-box .model-img {
    max-width: min(400px, 90%);
    margin-bottom: 16px;
  }
}

.model-box .model-img {
  align-self: center;
}

body.vorteile {
  background-color: #903030;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  padding-top: var(--nav-h);
  text-align: center;
}

.vorteile-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 80px;
  color: #fff;
}

.vergleich-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
}

.vergleich-box {
  background: #ffffff;
  color: #373435;
  flex: 1 1 400px;
  max-width: 500px;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.vergleich-box h2 {
  color: #903030;
  margin-bottom: 20px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.vergleich-box ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 20px;
}

.vergleich-box li {
  margin: 6px 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .vergleich-container {
    flex-direction: column;
    align-items: center;
  }

  .vergleich-box {
    max-width: 90%;
  }
}

body.vorteile {
  background-color: #903030;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  padding-top: var(--nav-h);
  text-align: center;
}

.vorteile-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 80px;
  color: #fff;
}

.vergleich-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
}

.vergleich-box {
  background: #ffffff;
  color: #373435;
  flex: 1 1 400px;
  max-width: 500px;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vergleich-box h2 {
  color: #903030;
  margin-bottom: 20px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.vergleich-box ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 20px;
}

.vergleich-box li {
  margin: 6px 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .vergleich-container {
    flex-direction: column;
    align-items: center;
  }

  .vergleich-box {
    max-width: 90%;
  }
}

.contact-form-section {
  background: #fafafa;
  color: #222;
  padding: 40px;
  max-width: 850px;
  margin: 120px auto 60px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  text-align: left;
}
 
.contact-form-section h1 {
  text-align: center;
  margin-bottom: 12px;
  color: #000;
}
 
body.kontakt-seite {
  background-color: #903030;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.contact-form-section {
  background: #ffffff;
  color: #222;
  padding: 40px;
  max-width: 850px;
  margin: 120px auto 60px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  text-align: left;
}

.contact-form-section h1 {
  text-align: center;
  margin-bottom: 12px;
  color: #903030;
}

.contact-form-section p {
  text-align: center;
  margin-bottom: 28px;
  color: #333;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

label {
  color: #000;
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.hinweis {
  font-size: 13px;
  color: #333;
  text-align: center;
}

.btn {
  background: #903030;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: center;
}

.btn:hover {
  background: #6b2222;
}

.site-footer{
  padding: 22px var(--pad-x);
  padding-bottom: 34px;
  color: #fff;
  background: rgba(0,0,0,0.12);
  margin-top: 40px;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-address{
  margin: 0;
  font-style: normal;
  line-height: 1.3;
  color: #fff;
  font-weight: 500;
}

.footer-badge{
  display: inline-block;
  background: #903030;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  transition: transform .12s ease, box-shadow .12s ease;
}

.footer-badge:hover,
.footer-badge:focus{
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.22);
  text-decoration: none;
  outline: none;
}

@media (max-width: 600px){
  .footer-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-address{ margin-bottom: 10px; }
}

body.impressum{
  background-color: #903030;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  padding-top: var(--nav-h);
  min-height: 100vh;
}

body.impressum .Mitte {
  display: grid;
  place-items: center;
  padding: 32px 1rem;
  min-height: calc(100svh - var(--nav-h));
}

body.impressum .text-box{
  background: #ffffff;
  color: #373435;
  width: min(92%, 920px);
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0,0,0,0.28);
  line-height: 1.6;
}

body.impressum .text-box h1{
  margin-top: 0;
  margin-bottom: .6em;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #903030 !important;
  font-weight: 800;
}

body.impressum .text-box h2,
body.impressum .text-box h3{
  color: #903030;
  margin: 1em 0 0.35em;
  font-weight: 700;
}

body.impressum .text-box p{
  margin: 0 0 1em 0;
  color: #373435;
  font-size: clamp(0.98rem, 1.9vw, 1.04rem);
}

body.impressum .text-box a{
  color: #903030;
  text-decoration: underline;
  font-weight: 600;
}

body.impressum .text-box a:hover,
body.impressum .text-box a:focus{
  text-decoration: none;
  outline: none;
}

body.impressum .text-box address{
  font-style: normal;
  color: #373435;
  margin-bottom: 1em;
}

@media (max-width: 600px){
  body.impressum .text-box{
    width: min(96%, 700px);
    padding: 18px;
  }
  body.impressum .text-box h1{
    font-size: 1.4rem;
    text-align: center;
  }
  body.impressum .text-box { text-align: left; }
}

body.impressum .site-footer{
  background: rgba(0,0,0,0.12);
  color: #fff;
}

.nav-toggle {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.burger {
  display: none;
  cursor: pointer;
  width: 36px;
  height: 28px;
  margin-left: 12px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  align-self: center;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
  transform-origin: 50% 50%;
  box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}

.nav-links {
  margin-left: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  position: static;
  background: transparent;
  box-shadow: none;
  z-index: auto;
}

@media (max-width: 600px) {
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    background: rgba(90,30,30,.95);
    padding: 12px var(--pad-x) 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    z-index: 999;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-toggle:checked + .burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.6);
  }
  .nav-toggle:checked + .burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links a {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--pillText);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    width: min(92%, 420px);
    justify-content: center;
  }
}

.burger:focus,
.burger:focus-visible {
  outline: 3px solid rgba(255,255,255,0.12);
  outline-offset: 4px;
  border-radius: 6px;
}

.nav-toggle {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.burger {
  display: none;
  cursor: pointer;
  width: 36px; height: 28px;
  margin-left: 12px;
  user-select: none;
}
.burger span {
  display: block; height: 3px; width: 100%;
  background: #fff; margin: 5px 0; border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-links {
  margin-left: auto;
  display: flex;
  flex-direction: row;
  gap: 12px;
  list-style: none;
  padding: 0;
  position: static;
}

@media (max-width: 600px) {
  .burger { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    background: rgba(90,30,30,.95);
    padding: 12px var(--pad-x) 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    z-index: 999;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-toggle:checked + .burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle:checked + .burger span:nth-child(2) {
    opacity: 0; transform: scaleX(0.6);
  }
  .nav-toggle:checked + .burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links a {
    padding: 10px 16px; border-radius: 8px;
    background: #fff; color: var(--pillText); font-weight:600;
    width: min(92%, 420px); text-align:center;
  }
}

.burger:focus, .burger:focus-visible {
  outline: 3px solid rgba(255,255,255,0.12);
  outline-offset: 4px;
  border-radius: 6px;
}



body.home {
  background-image: url("../img/hintergrund.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}


