﻿*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

body {
    font-family: Calibri, Arial, sans-serif;
    line-height: 1.5;
    color: #000;
}

/*HEADER*/
.site-header {
    background: #b8a9a1;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 250ms ease, padding 250ms ease;
    will-change: transform;
    position: sticky;
    left: 0;
    right: 0;
    height:80px;
}

.site-header.header-hidden{
    transform:translateY(-110%);
}

/* obere Leiste */
.top-bar {
    max-width: none;
    width:100%;
    margin: auto;
    display: flex;
    align-items: center;
    padding: 1rem 3rem 1rem 2rem;
    transition: padding 250ms ease;
}

/*Navigationsleite*/
/*Hamburger*/
.nav-toggle {
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
    /*Rotation und Animation*/
    transition: transform 220ms ease;
    transform: rotate(0deg);
    transform-origin: center;
}

.nav-toggle.is-open {
    transform:rotate(90deg);
}
    
    /*Burger-Icon*/
.burger {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: #fff;
    position: relative;
}

.burger::before,
.burger::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
}

.burger::before{ top: -8px; }
.burger::after{ top:  8px; } 

/* Logo */
.logo img {
    width: 50px;
    height: 50px;
    margin-right:0;
    transition: width 250ms ease, height 250ms ease, margin 250ms ease;
}

.logo{
    margin-left:auto;
}
.site-header.scrolled .logo img {
    width: 40px;
    height: 40px;
    margin-right:2rem;
}

.portal {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.portal + .logo{
    margin-left:1rem;
}

/*Mobile Navigation*/
.main-nav {
    display: none;
    margin: 0 0.5rem;
    border-radius:12px;
    width: 30%;
    background: #b8a9a1;
}

.main-nav a{
    text-decoration:none;
    color:#FFF;
}

.site-header.scrolled .main-nav {
    padding: 6px 0;
}

.main-nav a:hover .nav-text {
    text-decoration:underline;
    text-underline-offset:0.25rem;
    text-decoration-thickness:0.125rem;
}

.main-nav .active .nav-text {
    text-decoration:underline;
    text-underline-offset:0.25rem;
    text-decoration-thickness:0.125rem;
}

.main-nav.is-open {
    display: block;
}

/* Liste reset */
.main-nav ul {
    list-style: none;
    padding: 2rem 2rem;
    margin: 0;
}

.dropdown a:hover {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
    text-decoration-thickness: 0.125rem;
}

.dropdown .active a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

/*Brotkrümel*/
.breadcrumb-bar {
    background: #CDC2BC;
    border-bottom: 0.1rem solid #b8a9a1;
    z-index:999;
}

.breadcrumb {
    width: 95%;
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #525252;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
    opacity: 0.75;
}

.breadcrumb a:hover{
    text-decoration:underline;
    opacity:1;
}

.breadcrumb.sep{
    opacity:0.5;
}

.breadcrumb [aria-current="page"]{
    font-weight:bold;
    opacity:1;
}

/* Hauptmenü */
main {
    background: #d1d3ca;
    width:100%;
}

main p {
    font-size: 1.2rem;
}

.menu {
    width: 100%;
    margin: 0;
    padding: 18px 2rem;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}


/* aktive Seite */
.active .nav-text {
    text-decoration: underline;
}

/* Zeile: Text links – Pfeil rechts */
.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== PFEIL BUTTON ===== */
.sub-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.sub-toggle::before {
    content: "▾";
    color: #FFF;
    font-size: 1.6rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    transition: transform .2s;
}

/* drehen wenn offen */
.has-dropdown.is-open .sub-toggle::before {
    transform: translate(-50%,-50%) rotate(180deg);
}

/* IMMER ZU */
.dropdown {
    display: none;
    background: #A59288;
    border-radius: 12px;
    margin-top: 10px;
    overflow: hidden;
}

/* NUR öffnen wenn JS Klasse setzt */
.has-dropdown.is-open > .dropdown {
    display: block;
}

/* Dropdown Links */
.dropdown a {
    display: block;
    padding: 12px 14px;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

/*Main-Bereich*/
/*Abschnitt 1*/
.objekte {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    padding:3rem 1rem;
}

.Objekt1,
.Objekt2 {
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.Objekt1 h1,
.Objekt2 h1 {
    width: 100%;
    color:#142b83;
    font-family:'Times New Roman',Georgia, serif;
    font-size:1.8rem;
    line-height: 1.35;
    padding: 0 1rem;
    margin: 0 0 1.5rem 0;
}

.Objekt1 img,
.Objekt2 img {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.Objekt1 h2,
.Objekt2 h2 {
    width: 100%;
    color:#142b83;
    font-family:'Times New Roman',Georgia, serif;
    font-size:1.5rem;
    line-height: 1.35;
    margin:1.5rem 0 1rem 0;
    padding: 0 1rem;
}

.objekt-text {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 0 1rem 1rem 1rem;
    line-height: 1.7;
    flex:1 1 auto;
}

.Objekt1 .button,
.Objekt2 .button {
    margin-top: 2rem;
    align-self: center;
}

.button{
  display: inline-block;
  background: #142b83;
  color: #fff;
  border-radius: 1.5rem;  
  text-decoration: none;
  font-size: 1rem;
  margin:0 0 4rem 0;
  padding:0.7rem 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover{
  transform: scale(1.15); 
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.button:active{
  transform: scale(1.15);
}

/* Tastatur-Fokus (Accessibility) */
.button:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/*Abschnitt 2*/
.Willkommen {
    background-color: #FFF;
    display: flex;
    flex-direction:column;
    align-items: center;
    text-align: center;
    padding: 0 1rem 4rem 1rem;
}

.Willkommen h2{
    color: #142b83;
    font-family:'Times New Roman', sans-serif;
    font-size:1.8rem;
    padding:4rem 0 2rem 0;
}

.Willkommen img {
    max-width:100%;
    height:auto;
    display:block;
    margin:0 2rem;
}

.Willkommen p {
    color:#1d1d1d;
    font-size:1.2rem;
    line-height:1.8rem;
    font-weight:bold;
    padding: 3rem 0.5rem 0 0.5rem;
}
.Willkommen .signoff {
    padding: 3rem 0 4rem 0;
    color:#1d1d1d;
}

.signoff{
    
}

/*Abschnitt 3*/
.Dienstleistungen {
    background: #b8a9a1;
    padding: 0 0.7rem 4rem 0.7rem;
}

.Dienstleistungen-inhalt h2{
    color:#FFF;
    font-family:'Times New Roman', sans-serif;
    font-size:1.9rem;
    line-height:1.8rem;
    text-align:center;
    margin:0;
    padding:4rem 0 2rem 0;
}

.service-card{
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    text-align:center;
    align-items:center;
    margin-bottom:2rem;
}

.service-card img{
    width:100%;
    max-width:400px;
    height:auto;
    display:block;
    margin:0 auto 1.5rem auto;
    padding:0 1rem;
}

.service-card h3 {
    color:#FFF;
    font-family:'Times New Roman', sans-serif;
    font-size:1.4rem;
    padding:0 0 1rem 0;
}

.service-card p{
    color:#FFF;
    font-size:1.1rem;
    margin:0 0 1rem 0;
    padding:0 0.5rem;
}

.service-card .btn{
  display: inline-block;
  background: #FFF;
  color: #000;
  border-radius: 12rem;  
  text-decoration: none;
  font-size: 1rem;
  padding:0.7rem 1.5rem;
  cursor:pointer;
  transition: transform .2s ease; 
  margin-top:auto;
}

.service-card .btn:hover{
  background-color:#E7E7E7;
}

.service-card .btn:active{
  background-color:#E7E7E7;
}

/*Abschnitt 4*/
.Auszeichnung {
    background-color: #FFF;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 0 0.7rem 4rem 0.7rem;
}

.Auszeichnung h2{
    color: #142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size: 1.9rem;
    line-height: 1.8rem;
    padding: 4rem 0 4rem 0;
}

#carouselAuszeichnung.my-carousel{
  --img-h: 420px;
  --arrow-size: 34px;
  --arrow-bg: rgba(0,0,0,.20);
  --arrow-bg-hover: rgba(0,0,0,.35);
  --arrow-color: rgba(255,255,255,.85);
  --active-accent: #142b83;

  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Track */
#carouselAuszeichnung .my-carousel__track {
    display: flex;
    width: 100%;
    transform: translateX(0);
    transition: transform 600ms ease;
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    align-items: stretch;
}

/* Slide */
#carouselAuszeichnung .my-carousel__slide{
  flex: 0 0 100%;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* Bild */
    #carouselAuszeichnung .my-carousel__slide img {
        width: 100%;
        height: var(--img-h);
        object-fit: cover;
        display: block;
        pointer-events: none; /* nur das Bild soll keine Klicks fangen */
        max-width: 1024px;
        margin:0 auto;
    }

/* Textblock unter Bild */
#carouselAuszeichnung .my-carousel__caption{
  padding: 1.1rem 1.25rem 1.2rem;
  text-align: center;
}

#carouselAuszeichnung .my-carousel__caption h3{
  padding: 1rem;
  margin: 0 0 .6rem 0;
  font-weight: 700;
  color: #142b83;
  font-family: 'Times New Roman', sans-serif;
  font-size: 1.4rem;
}

#carouselAuszeichnung .my-carousel__caption p{
  margin: 0;
  line-height: 1.5;
  font-size: 1.1rem;
}

/* CTA Button */
#carouselAuszeichnung .carousel-btn{
  display: inline-block;
  margin:3rem 0 4rem 0;
  padding: 1rem;
  background-color: var(--active-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 12rem;
  font-size:1.1rem;
  transition: transform 200ms ease, background-color 200ms ease;
}

#carouselAuszeichnung .carousel-btn:hover{
  transform: translateY(-2px);
  background-color: #2f4fd1;
}

/* Pfeile am Bildrand */
#carouselAuszeichnung .my-carousel__btn{
  position: absolute;
  top: calc(var(--img-h) / 2);
  transform: translateY(-50%);
  width: var(--arrow-size);
  height: var(--arrow-size);
  border-radius: 999px;
  border: none;
  background: var(--arrow-bg);
  color: var(--arrow-color);
  font-size: 22px;
  line-height: var(--arrow-size);
  cursor: pointer;
  z-index: 10;
  opacity: 0.25;
  transition: opacity 180ms ease, background 180ms ease;
}

#carouselAuszeichnung:hover .my-carousel__btn{ opacity: 0.9; }
#carouselAuszeichnung .my-carousel__btn:hover{ background: var(--arrow-bg-hover); }

#carouselAuszeichnung .my-carousel__btn--prev{ left: 10px; }
#carouselAuszeichnung .my-carousel__btn--next{ right: 10px; }

/* Striche */
#carouselAuszeichnung .my-carousel__dots{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: flex;
  gap: 10px;
  z-index: 11;
}

#carouselAuszeichnung .my-carousel__dot{
  width: 28px;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(140,140,140,.55);
  cursor: pointer;
  padding: 0;
  margin: 0;
}

#carouselAuszeichnung .my-carousel__dot.is-active{
  background: var(--active-accent);
}

#carouselAuszeichnung .my-carousel__dot::before,
#carouselAuszeichnung .my-carousel__dot::after{
  content: none !important;
}

/*Abschnitt 5*/
.Aktuell {
    background-image: url("images/Hintergrund.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height:520px;
    display: flex;
    justify-content: center;
    align-items: center;
    position:relative;
}

.bg-section__overlay {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.60);
    display:flex;
    justify-content:center;
    align-items:center;
}

.bg-section__content {
    max-width: 850px;
    text-align: center;
    color: white;
    padding: 3rem 2rem;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.bg-section__content h2 {
    font-family: 'Times New Roman', sans-serif;
    margin-bottom:0.6rem;
    font-size: 2rem;
    line-height: 1.8rem;
    font-weight:bold;
    padding: 4rem 0 1rem 0;
    text-align:center;
}

.bg-section__content p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-size:1.2rem;
    font-weight:bold;
    margin-top:0;
    margin-bottom:3rem;
}

.Aktuell__btn {
    display: inline-block;
    padding: 1rem 1.8rem;
    background: #FFF;
    color: #000;
    text-decoration: none;
    border-radius: 999px;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    margin-top:2rem;
}

.Aktuell__btn:hover {
    transform: translateY(-2px);
    background:#f1f1f1;
}

/*Abschnitt 6*/
.Wer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 0 1rem 4rem 1rem;
}

.Wer h2{
    color:#142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size:1.9rem;
    padding:4rem 0 3rem 0;
}

.Wer p{
    color:#000;
    font-size:1.1rem;
    padding:0 1rem 5rem 1rem;
}

/*Footer*/
footer {
    background: #FFF; /* Farbe kannst du später ändern */
    padding: 25px 0; /* macht den Footer höher */
    text-align: center;
}

footer a{
  color: #000;                 /* schwarz */
  text-decoration: underline;  /* unterstrichen */
  margin: 0 15px;              /* Abstand zwischen Links */
  font-size: 0.95rem;
}

footer a:hover{
  opacity: 0.7;
}

site-footer {
    background: #e5e1db; /* Farbe kannst du später ändern */
    padding: 25px 0; /* macht den Footer höher */
    text-align: center;
}

site-footer a{
  color: #000;                 /* schwarz */
  text-decoration: underline;  /* unterstrichen */
  margin: 0 15px;              /* Abstand zwischen Links */
  font-size: 0.95rem;
}

site-footer a:hover{
  opacity: 0.7;
}



/*2. Seite Verwaltung*/
/*Abschnitt 1*/
.Verwaltung {
    background-color: #FFF;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 0 0.7rem 4rem 0.7rem;
}

.Verwaltung h2 {
    color:#142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size: 2.5rem;
    padding: 4rem 0 1rem 0;
}

.Verwaltung p {
    font-size: 1.2rem;
    padding: 0 0.5rem 4rem 0.5rem;
}

/*Abschnitt 2*/
.FIU {
    background-color: #b8a9a1;
    display: flex;
    flex-direction:column;
    justify-content: center;
    text-align: center;
    padding: 0 0.7rem 4rem 0.7rem;
}

.Flexibilität h2 {
    color: #FFF;
    font-family: 'Times New Roman', sans-serif;
    font-size: 1.4rem;
    padding: 5rem 0 1rem 0;
}

.Flexibilität p {
    color:#FFF;
    font-size:1.2rem;
    padding: 0 1.5rem 2rem 1.5rem;
}

.Flexibilität img {
    max-width: 100%;
    height: auto;
    padding:0 1rem 2rem 1rem;
    border-bottom:1px solid #FFF;
}

.Individuell h2 {
    color: #FFF;
    font-family: 'Times New Roman', sans-serif;
    font-size: 1.4rem;
    padding: 2rem 0 1rem 0;
}

.Individuell p {
    color: #FFF;
    font-size: 1.2rem;
    padding: 0 1.5rem 2rem 1.5rem;
}

.Individuell img {
    max-width: 100%;
    height: auto;
    padding: 1rem 1rem 2rem 1rem;
    border-bottom: 1px solid #FFF;
}

.Versprechen h2 {
    color: #FFF;
    font-family: 'Times New Roman', sans-serif;
    font-size: 1.4rem;
    padding: 2rem 0 1rem 0;
}

.Versprechen p {
    color: #FFF;
    font-size: 1.2rem;
    padding: 0 1.5rem 2rem 1.5rem;
}

.Versprechen img {
    max-width: 100%;
    height: auto;
    padding: 1rem 1rem 2rem 1rem;
}

/*Abschnitt 3*/
.Liste {
    background: #FFF;
    padding: 0 1rem 4rem 1rem;
}
.Liste-inner {
    background-color: #FFF;
}

.Liste-content{
    width:100%;
}

.top {
    padding: 3rem 1rem 1rem 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.fett {
    padding: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
    color: #525252;
    text-align:left;
}

.text {
    padding: 0 1rem;
    font-size: 1.1rem;
    text-align: left;
}

.Liste ul{
    padding: 1rem 1rem 0.5rem 2.5rem;
    font-size:1.1rem;
}
.Liste li {
    padding:0.5rem 0;
}

/*Abschnitt 4*/
.formular {
    background: #b8a9a1;
    display: flex;
    justify-content: center;
}

.formular-card {
    background: #ffffff;
    width: 100%;
    margin:4rem 1rem 6rem 1rem;
}

.formular-card h1{
    text-align: center;
    color: #142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size: 1.9rem;
    line-height:1.9rem;
    padding:1.5rem 0.5rem 4rem 0.5rem;
}

.form-row{
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.hint {
    color: #adadae;
    font-size: 1rem;
}

input, textarea {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    background: #fff;
    font-family: Calibri, Arial, sans-serif;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus, textarea:focus{
  border-color: #7b6f68;
  box-shadow: 0 0 0 3px rgba(123,111,104,.18);
}

.form-consent{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.15rem;
    margin: 1.5rem;
    gap:0.5rem;
}

.form-consent input[type="checkbox"]{
    margin: 0.15rem 0 0 0;
    padding: 0;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.form-consent label{
    margin: 0;
    padding: 0;
    display: inline;
    line-height: 1.5;
}

.form-consent p,
.form-consent br{
    margin: 0;
    padding: 0;
}

.form-consent a{
    background: none;
    color: #000;
    text-decoration: underline;
}

.for-consent {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.15rem;
    margin: 1.5rem;
    gap: 0.5rem;
    color:#FFF;
    font-size:1.1rem;
}

.for-consent input[type="checkbox"] {
    margin: 0.15rem 0 0 0;
    padding: 0;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.for-consent label {
    margin: 0;
    padding: 0;
    display: inline;
    line-height: 1.5;
}

.for-consent p,
.for-consent br {
    margin: 0;
    padding: 0;
}

.for-consent a {
    background: none;
    color: #FFF;
    text-decoration: underline;
}

.privacy {
    padding:1rem 1.5rem 3rem 1.5rem;
    font-size:1.1rem;
}

.privacy a {
    color:#000;
    text-decoration:underline;
}

.butt {
  display:block;
  width:auto;
  background: #142b83;
  color: #fff;
  border-radius: 1.6rem;
  font-size:1rem;
  padding: 1rem;
  margin: 0 auto 4rem auto;
  cursor: pointer;
  transition: transform .2s ease;
}

.butt:hover {
    transform: scale(1.15);
}

.butt:active {
    transform: scale(1.15);
}

.hinttext {
    padding: 0 1.5rem;
    font-size: 1.1rem;
}

.formular-card ul {
    padding: 1rem 1.5rem 3rem 3rem;
    font-size: 1.1rem;
}

/*3. Seite Verkauf*/
/*Abschnitt 1*/
.Verkauf {
    background-color: #FFF;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding:0 0 4rem 0;
}

.Verkauf h2 {
    color:#142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size: 1.6rem;
    padding: 4rem 1rem 2rem 1rem;
}

.Verkauf p {
    font-size: 1.2rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.Verkauf img {
    padding: 3rem 2rem;
    max-width:100%;
    height:auto;
    display:block;
    align-items:center;
}
/*Abschnitt 2*/
.Mehrfamilien {
    margin:0;
}

.Mehrfamilien__hero {
    position: relative;
    min-height: 320px;
    background-image: url("images/MehrFamilienimmobilie.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-section__overlay {
    position: absolute;
    inset: 0;
    background: #B6B6B690;
    z-index: 1;
}


.Mehrfamilien__hero h2 {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family:'Times New Roman', Georgia, sans-serif;
    font-size: 1.9rem;
    text-align: center;
    margin: 0;
}

.Mehrfamilien__body {
    text-align:center;
    justify-content:center;
    background:#FFF;
    color:#000;
    font-size:1.2rem;
    padding: 3rem 1.5rem;
    line-height: 1.6;
}

.Mehrfamilien__body p{
    padding:1rem 0;
}

.form {
    background: #b8a9a1;
    display: flex;
}

.form-card {
    background:#b8a9a1;
    width:100%;
    margin:0;
}

.form-card h1{
    text-align: center;
    color: #FFF;
    font-family: 'Times New Roman', sans-serif;
    font-size: 1.7rem;
    line-height: 2.3rem;
    padding: 4rem 2rem 4rem 2rem;
}

.form-card p{
    text-align:center;
    width:100%;
    color:#FFF;
    font-size:1.1rem;
    padding: 1rem 2rem 2rem 2rem;
    font-weight:bold;
}

.form-card ul {
    display:inline-block;
    text-align:left;
    color:#FFF;
    font-weight:bold;
    padding: 0 2rem 3rem 2rem;
}

.form-r{
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
    text-align:left;
}

.form-r label {
    display: block;
    text-align:left;
    margin-bottom: 0.5rem;
    color:#FFF
}

.hint {
    color: #e6e6e6;
    font-size: 1rem;
}

input, textarea {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    background: #fff;
    font-family: Calibri, Arial, sans-serif;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus, textarea:focus{
  border-color: #7b6f68;
  box-shadow: 0 0 0 3px rgba(123,111,104,.18);
}

.form-card .priv {
    font-weight: normal;
    padding: 1rem 2rem 4rem 2rem;
    font-size: 1.1rem;
    text-align:left;
}

.priv a {
    color: #FFF;
    text-decoration: underline;
}

.but {
  display:block;
  width:auto;
  background: #FFF;
  color: #000;
  border:none;
  outline:none;
  box-shadow:0 1px 12px rgba(0,0,0,0.15);
  border-radius: 1.6rem;
  font-size:1rem;
  padding: 1rem;
  margin: 0 auto 4rem auto;
  cursor: pointer;
  transition: transform .2s ease;
}

.but:hover {
    transform: scale(1.15);
}

.but:active {
    transform: scale(1.15);
}

.hinttext {
    padding: 0 1.5rem;
    font-size: 1.1rem;
}

/*Unterseite 1 Verkauf*/
.angebote {
    position: relative;
    height:100%;
    min-height:1000px;
    width:100%;
    overflow:hidden;
    background:#FFF;
}

.angebote__bg {
    display: block;
    width: 100%;
    height: auto;
    max-height:900px;
}

.angebote::before {
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.55) 0%,
        rgba(255,255,255,0.55) 40%,
        rgba(255,255,255,0.45) 80%,
        rgba(255,255,255,0) 100%
    );
    z-index:1;
    pointer-events:none;
}


.angebote__hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: min(720px, calc(100% - 3rem));
    text-align: center;
}

.angebote__hero h1 {
    font-family: "Times New Roman", Georgia, sans-serif;
    font-size: 2.2rem;
    color:#212121;
    text-align: center;
    align-items:center;
}

.angebote__hero p {
    line-height: 1.6;
    font-size: 1.2rem;
    color: #1C1C1C; 
    text-align: center;
    margin:0 0 2rem 0;
    padding:0;
}

.butn{
    display:flex;
    justify-content:center;
    margin:0.5rem 1.5rem 12rem 1.5rem;
}

.angebote__btn {
    display:inline-block;
    width:auto;
    max-width:max-content;
    background: #FFF;
    color: #2a3d47;
    padding: 1rem;
    font-size:1.1rem;
    border-radius: 12rem;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.angebote__btn:hover{
    transform: scale(1.06);
}

/*Unterseite 2 Verkauf*/
/*Abschnitt 1*/
.Verkauf_einzel{
    background:#FFF;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    text-align:center;
}

.Verkauf_einzel img{
    width:100%;
    height:auto;
}

.Verkauf_einzel h1{
    color:#142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size:1.7rem;
    padding:6rem 1.5rem 1rem 1.5rem;
}

.Verkauf_einzel p{
    font-size:1.1rem;
    padding:0 1.5rem 5rem 1.5rem;
}

.einzel {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    background: #b8a9a1;
    padding: 1rem 0 5rem 0;
}

.einzel h2{
    color:#FFF;
    font-family: 'Times New Roman', sans-serif;
    font-size:1.6rem;
    padding:4rem 1.5rem 1rem 1.5rem;
}

.einzel p{
    color:#FFF;
    padding:0 1.5rem 0.5rem 1.5rem;
    font-size:1.1rem;
}

.formular-c {
    display:flex;
    background: #fff;
}
.form-c{
    width:100%;
}

.formular-c h2{
    text-align: center;
    color: #142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size: 1.8rem;
    line-height:1.9rem;
    padding:6rem 1.5rem 4rem 1.5rem;
}

.form-row{
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
    width:100%;
    text-align:left;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
    text-align:left;
}

input, textarea {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    background: #fff;
    font-family: Calibri, Arial, sans-serif;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus, textarea:focus{
  border-color: #7b6f68;
  box-shadow: 0 0 0 3px rgba(123,111,104,.18);
}

/*Unterseite 3 Verkauf*/
.mehrfamilie{
    background:#FFF;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding-bottom:4rem;
}

.mehrfamilie img {
    width: 100%;
    height: auto;
    display:block;
    max-width:1024px;
    max-height:600px;
}

.mehrfamilie h1{
    color:#142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size:1.9rem;
    font-weight:bolder;
    padding:4.5rem 1.5rem 0.5rem 1.5rem;
}

.mehrfamilie p {
    padding: 0 1.5rem 1rem 1.5rem;
    color: #142b83;
    font-size: 1.4rem;
    font-weight:bold;
}

.mehr {
    background:#b8a9a1;
    color:#FFF;
    display:flex;
    text-align:center;
    justify-content:center;
    flex-wrap:wrap;
    padding: 4rem 1.5rem;
    font-size:1.1rem;
}
.mehr p{
    padding: 1rem 0;
}

/*Unterseite 4 Verkauf*/
.gewerbe{
    background:#FFF;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding-bottom:4rem;
}

.gewerbe img {
    width: 100%;
    height: auto;
    max-height:600px;
    display:block;
}

.gewerbe h1{
    color:#142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size:1.9rem;
    font-weight:bolder;
    padding:4.5rem 1.5rem 0.5rem 1.5rem;
}

.gewerbe p{
    color: #142b83;
    font-size: 1.4rem;
    padding: 0 1.5rem 1rem 1.5rem;
    font-weight:bold;
}

.mehr{
    padding: 4rem 2rem;
    font-size:1.1rem;
}

/*Vermietung.html*/
.vermietung{
    display:flex;
    flex-wrap:wrap;
    text-align:center;
    justify-content:center;
    background:#FFF;
    padding:1rem 1.5rem 6rem 1.5rem;
}

.vermietung h1{
    color: #142b83;
    font-family: 'Times New Roman', sans-serif;
    font-weight:bold;
    font-size:1.8rem;
    line-height:2.1rem;
    padding:4rem 1.5rem;
    width:100%;
}

.vermietung-wrapper{
    width:100%;
    max-width:900px;
}

.vermietung-box{
    display:flex;
    flex-direction:column;
    margin-bottom:3rem;
}

.vermietung img{
    display:block;
    width:400px;
    max-width:70%;
    margin:1.5rem auto;
    height:auto;
}

.vermietung h2{
    color: #142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size:1.3rem;
    padding:0 1.5rem;
}

.vermietung p{
    font-size:1rem;
    padding: 1rem 1.5rem;
}

.vermietung .miet {
    font-size: 1.1rem;
    padding: 0.9rem 1.5rem 5rem 1.5rem;
}

.form-car {
    background:#b8a9a1;
    width:100%;
    margin:0;
}

.form-car h2{
    text-align: center;
    color: #FFF;
    font-family: 'Times New Roman', sans-serif;
    font-size: 2rem;
    line-height: 2.3rem;
    padding: 4rem 2rem 5rem 2rem;
}

.form-car p{
    text-align:center;
    width:100%;
    color:#FFF;
    font-size:1.2rem;
    padding: 0 2rem 1.5rem 2rem;
    font-weight:normal;
}

.form-car li{
    text-align:center;
}

.form-car ul{
    color:#FFF;
    text-align:center;
    padding-bottom:3rem;
    list-style:none;
}

.form-car ul li::before {
    content: "• ";
}

.form-car .form-row{
    color:#FFF;
}


.form-car .form-consent,
.form-car .form-consent a,
.form-car .form-consent a:visited,
.form-car .form-consent a:hover,
.form-car .form-consent a:active {
    color: #fff;
}

.form-car .privacy a,
.form-car .privacy a:visited,
.form-car .privacy a:hover,
.form-car .privacy a:active {
    color: #fff;
}

.form-r{
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
    text-align:left;
}

.form-r label {
    display: block;
    text-align:left;
    margin-bottom: 0.5rem;
    color:#FFF
}

.hin {
    color: #e6e6e6;
    font-size: 1rem;
}

input, textarea {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    background: #fff;
    font-family: Calibri, Arial, sans-serif;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus, textarea:focus{
  border-color: #7b6f68;
  box-shadow: 0 0 0 3px rgba(123,111,104,.18);
}

.form-card .priv {
    font-weight: normal;
    padding: 1rem 2rem 4rem 2rem;
    font-size: 1.1rem;
    text-align:left;  
    color:#FFF;
}

.priv a {
    color: #FFF;
    text-decoration: underline;
}

.but {
  display:block;
  width:auto;
  background: #FFF;
  color: #000;
  border:none;
  outline:none;
  box-shadow:0 1px 12px rgba(0,0,0,0.15);
  border-radius: 1.6rem;
  font-size:1rem;
  padding: 1rem;
  margin: 0 auto 4rem auto;
  cursor: pointer;
  transition: transform .2s ease;
}

.but:hover {
    transform: scale(1.15);
}

.but:active {
    transform: scale(1.15);
}

.hinttext {
    padding: 0 1.5rem;
    font-size: 1.1rem;
}
/*1. Unterseite Vermietung*/
.angebot {
    position: relative;
    min-height: 420px;
    background-image: url("images/hintergrundbild.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow:hidden;
}

.angebot::before {
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    z-index:1;
}

.angebot__hero{
    position:relative;
    z-index:2;
    max-width:800px;
    color:#FFF;
}

.angebot__hero h1 {
    font-family: "Times New Roman", Georgia, sans-serif;
    font-size: 2.2rem;
    color: #FFF;
    text-align: center;
    padding: 10rem 1.5rem 2rem 1.5rem;
}

.angebot__hero p {
    line-height: 1.6;
    font-size: 1.2rem;
    color: #FFF;
    text-align: center;
    padding:0 1.5rem 3rem 1.5rem;
}

.butn{
    display:flex;
    justify-content:center;
    margin:0.5rem 1.5rem 12rem 1.5rem;
}

.angebot__btn {
    display:inline-block;
    width:auto;
    max-width:max-content;
    background: #FFF;
    color: #2a3d47;
    padding: 1rem;
    font-size:1.1rem;
    border-radius: 12rem;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.angebot__btn:hover{
    transform: scale(1.06);
}

/*2. Unterseite Viermietung*/
.Gewerbe{
    text-align:center;
    background:#FFF;
    padding:1rem 1rem 6rem 1rem;
}

.Gewerbe h1{
    color: #142b83;
    font-family: 'Times New Roman', sans-serif;
    font-weight:bolder;
    font-size:2rem;
    line-height:2.1rem;
    padding:5rem 0 2rem 0;
}

.Gewerbe img{
    display:block;
    width:100%;
    max-width:1024px;
    margin:2rem auto;
    height:auto;
}

.Gewerbe h2{
    color: #142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size:1.5rem;
    padding:1rem 1.5rem 0rem;
}

.Gewerbe p{
    font-size:1.2rem;
    padding: 0.6rem 1.5rem;
}

/*Dienstleistungen*/
.dienst{
    display:flex;
    flex-wrap:wrap;
    padding:1rem;
    background:#FFF;
    justify-content:center;
}

.dienst h1{
    color: #142b83;
    font-family: 'Times New Roman', sans-serif;
    font-size:2rem;
    line-height:2.1rem;
    padding:4rem 0.5rem 0.5rem 0.5rem;
    text-align:center;
}

.dienst p{
    text-align:center;
    font-size:1.1rem;
    padding:0 1rem 5rem 1rem;
}
/*Dienstleistungen.html*/
.Bereiche{
    padding:4rem 1rem;
}
.container {
    margin: 2rem 1rem;
    background: #b8a9a1;
    color:#FFF;
    width:auto;
}
.container img{
    width:100%;
    height:auto;
    display:block;
}

.container h2{
    padding:1.5rem ;
    font-size:1.3rem;
    text-align:center;
    font-family: 'Times New Roman', sans-serif;
}

.container p{
    text-align:center;
    font-size:1rem;
    padding:0 1.5rem 1rem 1.5rem;
}

.container .end{
    padding:0 1.5rem 4rem 1.5rem;
    font-size:1rem;
    text-align:center;
}

/*Kontakt.html*/
.Kontakt {
    background: #FFF;
    display: flex;
    flex-direction: column;
    padding: 4rem 0 1rem 0;
    justify-content:center;
}

.Kontakt img{
    display:block; 
    margin:0 auto 1rem auto;
    height:auto;
    width:auto;
    max-width:80%;
}

.kontakt-text{
    background:#FFF;
    width:100%;
    padding:0 1.5rem 4rem 1.5rem;
    text-align:center;
}

.kontakt-text h1{
    font-family: 'Times New Roman', sans-serif;
    color:#142b83;
    font-size:2rem;
}

.kontakt-text h2{
    font-family: 'Times New Roman', sans-serif;
    color:#142b83;
    font-size:1.4rem;
    padding:0.5rem 0 2rem 0;
}

.kontakt-text p{
    font-size:1.1rem;
    padding:0 0 0.5rem 0;
}

/*Impressum*/
.Impressum{
    background:#FFF;
}

.Impressum h1{
    font-family: 'Times New Roman', sans-serif;
    color:#142b83;
    font-size:2.5rem;
    padding:4rem 1.5rem 1rem 1.5rem;
}

.Impressum p{
    font-size:1.1rem;
    padding:0 1.5rem 1.5rem 1.5rem;
}

.Impressum .ende{
    font-size:1.1rem;
    padding:0 1.5rem 12rem 1.5rem;
}

/*Datschutz*/
.Daten{
    background:#FFF;
    padding:1rem 1rem 6rem 1rem;
}

.Daten h1{
    font-family: 'Times New Roman', sans-serif;
    color:#142b83;
    font-size:2rem;
    padding:3rem 1.5rem 1rem 1.5rem;
}

.Daten p{
    font-size:1.1rem;
    padding:0 1.5rem 3rem 1.5rem;
}

.Daten h2{
    font-size:1.3rem;
    padding:0 1.5rem 0.5rem 1.5rem;
}

.Daten ol{
    list-style:decimal;
    padding:0 1.5rem 1.5rem 3rem;
}

.Daten li{
    padding-bottom:1rem;
    font-size:1.1rem;
}

.Daten ul{
    padding-left:1.5rem;
}

/*Cookies*/
/* ===================================================
   COOKIE BANNER (final) – überschreibt alte Banner-CSS
   =================================================== */
.cookie-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 14px;
  display: none; /* wird über aria-hidden gesteuert */
}

.cookie-banner[aria-hidden="false"]{ display:block; }
.cookie-banner[aria-hidden="true"]{ display:none; }

.cookie-banner__inner{
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 18px 20px;

  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner__title{
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 4px 0;
  color: #111;
}

.cookie-banner__desc{
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

.cookie-banner__desc a,
.cookie-banner__desc a:visited,
.cookie-banner__desc a:hover,
.cookie-banner__desc a:active{
  color: #000 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.cookie-banner__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner__actions .btn{
  flex: 1 1 260px;
  text-align: center;
}

/* Buttons (nur falls du sie nicht schon global sauber hast) */
.btn{
  border: 1px solid transparent;
  background: transparent;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}

.btn:active{ transform: scale(0.98); }

.btn-primary{
  background: #1f4b99;
  color: #fff;
  box-shadow: 0 8px 20px rgba(31,75,153,0.25);
}

.btn-primary:hover{ transform: translateY(-1px); }

.btn-ghost{
  background: #f3f4f6;
  color: #111;
  border-color: #e5e7eb;
}

.btn-ghost:hover{ background: #e9ebef; }
/*Cookie Seite*/
main.Cookie{
    background: #fff;
    padding: 4rem 1.5rem 4rem 1.5rem;
}

.Cookie-text{
    max-width: 860px;
    margin: 0 auto;
}

main.Cookie h1{
    color: #142b83;
    font-family: "Times New Roman", sans-serif;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

main.Cookie h2{
    color: #142b83;
    font-family: "Times New Roman", sans-serif;
    font-size: 1.45rem;
    line-height: 1.25;
    margin: 2.5rem 0 0.75rem 0;
}

main.Cookie p{
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0 0 1rem 0;
    padding: 0;
}

.cookie-actions{
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 2rem 0 1.25rem 0;
}

.cookie-actions .btn{
    width: 100%;
    justify-content: center;
}

.cookie-links{
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 0 0 2rem 0;
    padding: 0;
    width: 100%;
    font-size: 1rem;
}

.cookie-links a,
.cookie-links a:visited,
.cookie-links a:hover,
.cookie-links a:active,
.cookie-box-links a,
.cookie-box-links a:visited,
.cookie-box-links a:hover,
.cookie-box-links a:active{
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.box{
    background: #f4f4f4;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    min-height: auto;
    margin: 1.2rem 0 2rem 0;
}

.box p{
    margin: 0;
    line-height: 1.4;
    transform: none;
    font-weight: 600;
}

.cookie-box{
    background: #f4f4f4;
    border-radius: 12px;
    padding: 1rem 1rem 1rem 1rem;
    margin: 1rem 0 2rem 0;
}

.cookie-box--provider .cookie-box-head{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.cookie-box-title{
    font-weight: 700;
    font-size: 1rem;
    color: #111;
}

.cookie-box-text{
    margin: 0;
    line-height: 1.65;
    font-size: 1rem;
    color: #222;
}

.cookie-box--provider .cookie-box-text{
    margin-left: 58px;
}

.cookie-box-links{
    margin-left: 58px;
    margin-top: 0.9rem;
    font-size:1rem;
}

.cookie-box-links a{
    display: block;
    margin: 0 0 0.35rem 0;
}

.cookie-box--empty {
    background: #f4f4f4;
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0 2rem 0;
    font-size: 1rem;
    color: #333;
    text-align: left;
}

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: transparent;
    padding: 0.95rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    white-space: normal;
}

.btn:active{
    transform: scale(0.98);
}

.btn-primary{
    background: #1f4b99;
    color: #fff;
    box-shadow: 0 8px 20px rgba(31,75,153,0.20);
}

.btn-primary:hover{
    transform: translateY(-1px);
}

.btn-outline{
    background: #f3f4f6;
    color: #111;
    border: 1px solid #d7dbe2;
}

.btn-outline:hover{
    background: #e9ebef;
}

.switch{
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex: 0 0 auto;
}

.switch input{
    opacity: 0;
    width: 0;
    height: 0;
}

.slider{
    position: absolute;
    inset: 0;
    background: #cfcfcf;
    border-radius: 999px;
    transition: .2s;
}

.slider::before{
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    transition: .2s;
}

.switch input:checked + .slider{
    background: #2f5597;
}

.switch input:checked + .slider::before{
    transform: translateX(20px);
}

.switch input:disabled + .slider{
    background: #bfbfbf;
    cursor: not-allowed;
}

.switch input:disabled + .slider::before{
    box-shadow: none;
}

.cookie-box:last-of-type {
    margin-bottom: 9rem;
}

@media (min-width: 540px){
.objekte {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
}

.Objekt1, .Objekt2 {
    flex: 1 1 0;
    min-width:50%;
}

.Objekt1 h1, .Objekt2 h1 {
    min-height: 4.8rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.Objekt1 img, .Objekt2 img {
    max-width: 60%;
}

.Objekt1 h2, .Objekt2 h2 {
    min-height: 4.2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.objekt-text {
    max-width: 32ch;
}

  /* 2 Spalten */
  .Dienstleistungen-inhalt{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        align-items: start;
    }

.Dienstleistungen-inhalt h2{
    grid-column: 1 / -1;
}

.service-card{
    display:flex;
    flex-direction:column;
    height:100%;
}

.service-card img{
    max-width: 100%;
}

.service-card .btn{
    margin-top:auto;
    align-self:center;
}

.vermietung-wrapper{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:2rem;
    width:100%;
}

    .vermietung-box{
        display:flex;
        flex-direction:column;
        align-items:center;
        width:48%;
        margin-bottom:0;
    }

    .vermietung img{
        display:block;
        width:100%;
        max-width:400px;
        margin:0 0 1.5rem 0;
        height:auto;
        object-fit:cover;
    }

    .vermietung-inhalt{
        width:100%;
        text-align:center;
    }

    .vermietung h2{
        padding:0 1rem 1rem 1rem;
    }

    .vermietung p{
        padding:0.5rem 1rem;
    }

    .vermietung .miet{
        padding:0.5rem 1rem 1.5rem 1rem;
    }

    .Bereiche {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .container {
        width: calc(50% - 1rem);
        margin: 0;
    }
}

@media (min-width:777px) {
    /* ===== Typografie ===== */
    body {
        font-size: 1.25rem;
    }

    .form-c, .form-car, .formular-card, .form-card, .formular-c {
        width: 100%;
        padding: 0 0.5rem;
    }

    /* Menü nebeneinander */

    /* Links klickbar/sauber */
    .menu > li > a,
    .menu > li .nav-row > a {
        display: inline-block;
        padding: 12px 0;
        white-space: nowrap;
        text-decoration: none;
    }

    /* Optional: Pfeil an Hauptpunkten mit Dropdown (wie in deiner Skizze) */
    .has-dropdown > .nav-row > a::after,
    .has-dropdown > a::after {
        font-size: 0.95em;
    }

    /* ===== Dropdown: unter dem Menüpunkt, ohne Layout zu verschieben ===== */

    /* der LI-Anker für absolute Positionierung */
    .has-dropdown {
        position: relative;
    }

        .has-dropdown::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: 100%;
            height: 10px;
        }

    /* Dropdown aus dem Fluss nehmen */
    .dropdown {
        position: absolute;
        top: 100%;
        margin-top: 10px; /* immer unterhalb */
        left: 0;
        display: none; /* standard: zu */
        z-index: 5000;
        min-width: 240px; /* feste/saubere Breite */
        width: max-content; /* passt sich Inhalt an */
        max-width: 320px;
        background: #b8a9a1;
        border-radius: 14px;
        padding: 14px 16px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    }

    /* Öffnen per JS-Klasse */
    .has-dropdown.is-open > .dropdown {
        display: block;
    }

    /* optional: Dropdown soll nicht “kleben”, kleiner Abstand */
    .has-dropdown.is-open > .dropdown {
        margin-top: 0;
    }

/*Index*/
/*Abschnitt 1*/
.objekte {
    max-width:1024px;
    align-items:center;
    text-align:center;
    justify-content:center;
    margin: 0 auto;
}
.Objekt1, .Objekt2 {
    max-width: 550px;
}

.Objekt1 img, .Objekt2 img {
    max-width: 550px;
    padding:0 2rem;
}

.Objekt1 .button,
.Objekt2 .button {
    margin-top: auto;
}
    /*Abschnitt 2*/
    .Willkommen img {
        width: 100%;
        max-width: 800px;
        height: auto;
        display: block;
        margin: 0 2rem;
    }

    .Willkommen p {
        padding: 3rem 0.5rem 0 0.5rem;
        display: block;
        max-width: 90%;
    }
    /*Abschnitt 3*/
    .Dienstleistungen-inhalt {
        flex-direction: row;
        flex-wrap: wrap;
    }
    /*Dienstleistungen*/
    .Bereiche {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        max-width:800px;
        margin:0 auto;
    }

    .container {
        width: calc(50% - 1rem);
        margin: 0;
        justify-content:center;
    }

    .Flexibilität, .Individuell, .Versprechen {
        max-width: 777px;
        margin: 0 auto;
    }

        .Flexibilität img {
            max-width: 777px;
            padding: 0 2rem 2rem 2rem;
        }

        .Individuell img {
            max-width: 777px;
            padding: 1rem 1rem 2rem 1rem;
        }

        .Versprechen img {
            max-width: 777px;
            padding: 1rem 1rem 2rem 1rem;
        }

    .Liste-content {
        max-width: 777px;
        margin: 0 auto;
    }

    .formular-card, .Mehrfamilien_text, .form-card, .Einzel_text, .einzel-text, .formular-c, .mehr-text, .form-car{
        max-width: 900px;
        margin: 3rem auto;
    }

    .Wer-text, .Verwaltung-text, .Cookie-text, .Impressum-text, .Daten-text {
        max-width: 777px;
        margin: 0 auto;
    }

    .Kontakt-inhalt{
        display:flex;
        flex-direction:row-reverse;
        padding:2rem;
        gap:4rem;
    }

    .Kontakt-inhalt img{
        width:200px;
        height:200px;
    }

        .Kontakt-inhalt h1, .Kontakt-inhalt h2, .Kontakt-inhalt p {
            text-align: left;
        }
    .cookie-actions{
        flex-direction: row;
    }

    .cookie-actions .btn{
        flex: 1 1 0;
    }
}

@media (hover: hover) and (pointer: fine){
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown{
    display: block;
  }
}

@media (min-width:1024px){
    .site-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 2rem;
        width: 100%;
        height: 80px;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #b8a9a1;
        overflow: visible;
    }

    .site-header.header-hidden {
    transform: translateY(0);
  }

    .top-bar {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 auto;
        order: 2;
        position: static;
        width: auto;
        padding: 0;
        min-height: auto;
    }

    .nav-toggle {
        display: none;
    }

    .main-nav {
        display: block !important;
        position: static !important;
        width: auto;
        flex: 1 1 auto;
        order: 1;
        background: transparent;
        padding: 0;
        margin: 0;
    }

    .main-nav ul.menu,
    .menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-start;
        gap: 2.5rem;
        margin: 0;
        padding: 0;
        background: transparent;
    }
        
   .menu > li {
        position: relative;
        margin: 0;
    }


    .menu > li > a,
    .nav-row > a {
        display: inline-flex;
        align-items: center;
        padding: 22px 0;
        white-space: nowrap;
        text-decoration: none;
    }

    .nav-row {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: flex-start;
    }

    .logo {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .logo img {
        display: block;
        width: 50px;
        height: 50px;
        margin: 0;
    }

    .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        min-width: 240px;
        margin-top: 10px;
        padding: 14px 16px;
        background: #b8a9a1;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.22);
        z-index: 1100;
    }

    .has-dropdown:hover > .dropdown,
    .has-dropdown:focus-within > .dropdown,
    .has-dropdown.is-open > .dropdown {
        display: block;
    }

    .breadcrumb-bar {
        position: sticky;
        top: 80px;
        z-index: 999;
    }

    .objekte {
        max-width: 1200px;
        margin: 0 auto;
        justify-content: center;
    }

    .Objekt1,
    .Objekt2 {
        width: 100%;
        max-width: 550px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .objekt-text {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        padding: 0 1rem 1rem 1rem;
        line-height: 1.7;
        flex: 1 1 auto;
    }

    .Objekt1 .button,
    .Objekt2 .button {
        margin-top: auto;
        align-self: center;
    }

    

    .angebote::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.55) 40%, rgba(255,255,255,0.45) 80%, rgba(255,255,255,0) 100% );
        z-index: 1;
        pointer-events: none;
    }

.angebote__hero {
    min-width:1000px;
}

.angebote__hero h1 {
    font-family: "Times New Roman", Georgia, sans-serif;
    font-size: 3rem;
    color: #212121;
    text-align: center;
    align-items: center;
}

.angebote__hero p {
    line-height: 1.7;
    font-size: 1.4rem;
    color: #1C1C1C;
    text-align: center;
    margin: 0 0 2rem 0;
    padding: 0;
}

    .Dienstleistungen-inhalt{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .Dienstleistungen-inhalt h2{
        grid-column: 1 / -1;
    }

    .Verwaltung-text, .Verkauf-text, .Gewerbe-text, .dienst-text {
        max-width: 1024px;
        margin: 0 auto;
    }

    .Gewerbe img {
        max-width:1024px;
    }

    .Kontakt {
        float: left;
        width: 40%;
        padding: 4rem 2rem 8rem 2rem;
    }

    .Kontakt img {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
        display: block;
    }

    .kontakt-text {
        float: left;
        width: 60%;
        text-align: left;
        padding: 6rem 2rem 8.25rem 2rem;
    }

    .kontakt-text h1,
    .kontakt-text h2,
    .kontakt-text p {
        text-align: left;
    }

    .Kontakt-inhalt{
        margin:0 auto;
        max-width:1024px;
        display:flex;
    }

    .form {
        clear: both;
        width: 100%;
        padding-top: 2rem;
    }

    .form-car {
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (min-width:1200px){
    .Dienstleistungen-inhalt {
       max-width:1200px;
       margin:0 auto;
    }

    .Bereiche {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        max-width:1024px;
        margin:0 auto;
    }

    .container {
        width: calc(50% - 1rem);
        margin: 0;
        justify-content: center;
    }

    .container img{
        width:100%;
        height:auto;
        display:block;
    }
}

