:root {
    --maximum-yellow-red: hsl(37, 100%, 68%);
    --royal-blue-dark: hsl(231, 61%, 22%);
    --silver-chalice: hsl(0, 0%, 70%);
    --oxford-blue: hsl(231, 100%, 8%);
    --bittersweet: #8a6440;
    --french-rose: #8a6440;
    --davys-gray: hsl(180, 3%, 28%);
    --cool-gray: hsl(240, 13%, 62%);
    --platinum: hsl(0, 0%, 92%);
    --white-2: hsl(0, 0%, 98%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --rythm: hsl(240, 9%, 53%);


    --naviblue: #1a2b45;
    --softorange: #e93b3d;
      --softorangehover: #bd3033;
    --warenyellow: #f1c421;
    

    --ff-poppins: "Roboto", sans-sarif;

    --fs-1: 32px;
    --fs-2: 26px;
    --fs-3: 22px;
    --fs-4: 18px;
    --fs-5: 15px;
    --fs-6: 14px;
    --fs-22: 32px;
    --fw-700: 700;
    --fw-600: 600;
    --fw-500: 500;

    --transition: 0.25s ease-in-out;
}

.cog-outline {
    font-size: 30px;
}
.head_bg {
  position: absolute;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 2s ease;
}

.bg1 {
  background-image: url("img/head_bg.jpg");
  z-index: 1;
  opacity: 1;
}

.bg2 {
  background-image: url("img/head_bg2.jpg"); /* <- zweites Bild */
  z-index: 2;
  opacity: 0;
}


.logo-head img {
    height: 100px;
    width: auto;
}


.card-icon img{
    height: 100px;
}
.handlee-regular {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 3em !important;
}


*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
li { list-style: none; }
a { text-decoration: none; }
a, img, button, span, ion-icon, label, input, textarea { display: block; }

button {
    font: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

textarea, input { 
    font: inherit;
    background: none;
    border: none;
    width: 100%;
}

    :is(input, textarea):focus { outline: none; }
:focus { outline-offset: 4px; }
html { font-family: var(--ff-poppins); scroll-behavior: smooth; }
body { background: var(--white); overflow-x: hidden; width: 100%; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #192a46; }
::-webkit-scrollbar-thumb { background:#e93b3d; border-radius: 30%; }

.container { padding: 0px 15px; }

.h1, .h2, .h3 { font-weight: var(--fw-600); line-height: 1.3; text-transform: capitalize; }
    .h1 { color: var(--oxford-blue); font-size: var(--fs-1); }
    .h2 { font-size: var(--fs-2); }
    .h3 { color: var(--oxford-blue); font-size: var(--fs-3); }
    .h4 { color: var(--royal-blue-dark); font-size: var(--fs-5); font-weight: var(--fw-600); }

.btn {
    font-size: var(--fs-6);
    text-transform: uppercase;
    font-weight: var(--fw-600);
    padding: 10px 40px;
    border: 1px solid;
    border-radius: 6px;
}

.btn-primary{ background: var(--softorange); border-color: var(--softorange); color: var(--white); }
    .btn-primary:is(:hover, :focus) { background: var(--softorangehover); }
    .btn-secondary:is(:hover, :focus) { background: hsla(0, 0%, 100%, .1); }



    .btn-orange{ background: #e93b3d; border-color: #d3292b; color: var(--white); }
    .btn-yellow{ background: #f1c421; border-color: #f1c421; color: #1a2b47; }
/*HEADER*/

header { position: relative; padding: 35px 0; z-index: 1000; }
    header .container { display: flex; justify-content: space-between; align-items: center; z-index: 1000; }

.navbar-menu-btn { font-size: 30px; padding: 5px; background-color: #e93b3d; color: white; border-radius: 0.35em;z-index: 1000;}

.navbar {
    position: absolute;
    top: calc(100% - 15px);
    left: 15px;
    right: 15px;
    background-color: #122137;
    max-height: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    transform-origin: top;
    overflow: hidden;

}

    .navbar.active { visibility: visible; pointer-events: all; max-height: 280px; }
    .navbar .btn-primary { display: none; }

.navbar-list { padding: 10px; }
.nav-item:last-child:hover{border-bottom: 0px !important; }

.nav-link {
    font-size: var(--fs-4);
    color: #fff;
    font-weight: var(--fw-400);
    padding: 15px 10px;
    opacity: 0;
    transition: opacity var(--transition);
}

    .nav-link:is(:hover, :focus) {  color:#fbc408; transition: 200ms all;}
    .navbar.active .nav-link { transition-delay: .2s; opacity: 1; }

/*HERO*/

.hero { position: relative; padding: 130px 0px 140px; z-index: 900; }
    .hero .btn-primary { margin-inline: auto; }
.hero-content { text-align: center; margin-top: 100px;}
.hero-title, .hero-text { margin-bottom: 40px; }
    .hero-text { font-size: var(--fs-3); color:#fff; }
    .hero-titel { font-size: var(--fs-22); color:#fff; font-weight: 600;}
.hero-banner { display: none; }
.hero-content img  {
    width: 80PX;
    padding-bottom: 50PX;
}
.shape-content {
    position: absolute;
    width: 900px;
    top: -230px;
    right: -300px;
    z-index: -1;
}

/*ABOUT*/

.about {
    position: relative;
    z-index: 901;

    padding: 50px 0;
    text-align: center;
}

    .about .h2, .gallery .h2 { color: var(--softorange); }

.about-top { margin-bottom: 120px; }
    .about-top .section-title { margin-bottom: 20px; }
    .about-top .section-text { color: var(--white); font-size: var(--fs-4); margin-bottom: 60px; }
    .gallery .section-text { color: var(--naviblue); font-size: var(--fs-4); margin-bottom: 30px; width: 80%;}
.about-list { display: grid; grid-template-columns: 1fr; gap: 30px; }
.about-card {background: var(--white); padding: 40px; border-radius: 0px; box-shadow: 0 2px 4px hsla(0, 0%, 0%, .1);transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .about-card .card-title { margin-bottom: 15px; }
    .about-card .card-text { color: var(--davys-gray); }

.card-icon {
    color: var(--bittersweet);
    font-size: 45px;
    width: max-content;
    margin-inline: auto;
    margin-bottom: 15px;
}

.about-bottom-banner { margin-bottom: 120px; }
    .about-bottom-banner img { width: 100%; height: 100%; }

.about-bottom .section-title { margin-bottom: 20px; }
.about-bottom .section-text { color: var(--white); font-size: var(--fs-3); margin-bottom: 40px; }
.about-bottom .btn-secondary { color: var(--softorange); margin-inline: auto; }

/*FEATURES*/

.features { padding: 120px 0; }
    .features .section-title { color: var(--royal-blue-dark); margin-bottom: 20px; }
    .features .section-text { color: var(--rythm); font-size: var(--fs-4); margin-bottom: 120px; }

.features-item:first-child { margin-bottom: 100px; }
.features-item-banner {  width: 400px; height: 400px;  margin-bottom: 60px; }
    .features-item-banner img { width: 100%; }
.features-item .item-title { color:#8a6440; margin-bottom: 20px;  }
.features-item .item-text { color: var(--rythm); font-size: var(--fs-4); }

/*CTA*/

.cta { padding: 120px 0; }
    .cta input { color: var(--white); padding: 10px 15px; border-bottom: 1px solid; margin-bottom: 30px; }
        .cta input::placeholder { color: inherit; }
    .cta .btn-secondary { color: var(--white); margin-inline: auto; }

.cta-card { 
    background: linear-gradient(to top, var(--bittersweet) 0, var(--french-rose));
    padding: 80px 36px;
    border-radius: 20px;
    text-align: center;
}

.cta-title {
    color: var(--white);
    font-size: var(--fs-1);
    font-weight: var(--fw-600);
    line-height: 1.3;
    margin-bottom: 20px;
}

.cta-text { color: var(--white); font-size: var(--fs-6); margin-bottom: 50px; }

/*CONTACT*/

.contact { margin-bottom: 120px;margin-top: 200px;  }
.contact-content { margin-bottom: 50px; }
.contact-title { color: var(--royal-blue-dark); margin-bottom: 60px; text-align: center; font-weight: var(--fw-500) !important; }
.contact-banner img { width: 100%; }
.input-wrapper { margin-bottom: 30px; }
.input-label { color: var(--softorange); font-size: var(--fs-4); font-weight: var(--fw-600); margin-bottom: 10px; }
.input-field { border-bottom: 1px solid var(--platinum); padding: 7px 0; font-size: var(--fs-6); color: var(--white);}
    .input-field::placeholder { color: var(--white); }
textarea { max-height: 300px; min-height: 100px; height: 100px; resize: vertical; }

/*FOOTER*/

footer { background: var(--naviblue); }
    footer .logo { margin-bottom: 30px; }
.footer-top { padding: 80px 0px 50px; }
.footer-brand { margin-bottom: 20px; }
.footer-text { color: var(--white); font-size: var(--fs-6); margin-bottom: 20px; }
.social-list { display: flex; justify-content: flex-start; gap: 20px; }
.social-link { color: var(--white); font-size: var(--fs-4); margin-bottom: 10px; }
    .social-link:is(:hover, :focus) { color: var(--softorange); }
.footer-link-list:not(:last-child) { margin-bottom: 30px; }
.footer-link-list .link-title { margin-bottom: 15px; }
.footer-link { color: var(--white); font-size: var(--fs-6); margin-bottom: 10px; max-width: 150x; }
.footer-desc { color: var(--white); font-size: var(--fs-6); margin-bottom: 10px; max-width: 150x; }
    .footer-link:is(:hover, :focus) { color: var(--softorange); }
.footer-bottom { padding: 20px 15px; background-color: #23395a; }
.copyright { color: var(--cool-gray); text-align: center; font-size: var(--fs-6); }
    .copyright a { display: inline-block; color: var(--cool-gray); }
        .copyright a:is(:hover, :focus) { color: var(--softorange); }

/*GO-TOP*/
.cookie {visibility:hidden}
.go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background: #192a46;
    box-shadow: 0 2px 4px hsla(0, 0%, 0%, .25);
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
}
.go-top img {z-index: 900; width: 30px; height: 30px;}

    .go-top.active { opacity: 1; visibility: visible; pointer-events: all; }
    .cookie.active { opacity: 1; visibility: visible; pointer-events: all; }

/*MEDIA QUERIES*/

@media(min-width: 450px) {
    :root {
        --fs-1: 60px;
    }
    .mobileonly {display: none;}
    .h1, .h2 { font-weight: var(--fw-700); }
    .btn { padding-block: 15px; }

    .navbar { left: auto; width: 300px; }

    .hero { padding: 140px 0 160px; }
    .shape-content { top: -70px; right: -260px; }

    .about-card .card-title { padding-inline: 40px; }
    .about-bottom-banner { max-width: 400px; margin-inline: auto; margin-bottom: 40px; }
    .about-bottom-content { padding-inline: 50px; }

    .features .h2 { --fs-2: 32px; }

    .cta-title { --fs-1: 42px; }
    .cta-form { display: flex; justify-content: center; align-items: flex-end; gap: 30px; }
    .cta input { margin-bottom: 0; }
    .cta .btn-secondary { min-width: max-content; }

    .contact-title { --fs-2: 32px; }
    .contact-banner { max-width: 300px; margin-inline: auto; }
}

@media(min-width: 560px) {
    .container { max-width: 550px; margin-inline: auto; }

    .navbar-wrapper { position: relative; }
    .navbar { top: calc(100% + 15px); right: 0; }

    .hero-content, .about-bottom-content { text-align: left; }
    .hero .btn-primary, .about-bottom .btn-secondary { margin-inline: 0; }
    .shape-content { top: -156px; right: -152px;}

    .footer-brand { margin-bottom: 40px; }
    .footer-link-box { display: grid; grid-template-columns: 1fr 1fr; }
}

@media(max-width: 1200px ){
        .shape-content { top: -60px; right: -152px; opacity: 0.1;position:fixed}
        .nomobile {display: none;}
        .hero-content .btn {margin: 0 auto;}
        .logo-head img {
        height: 50px;
        width: auto;
    }
}

@media(min-width: 768px) {
    :root {
        --fs-2: 35px;
        --fs-4: 20px;
    }

    .container { max-width: 740px; }

    .about-list { grid-template-columns: 1fr 1fr; }

    .about-card {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

        .about-card .card-title { padding-inline: 0; }

    .contact-title { --fs2: 42px; }
}

@media(min-width: 1024px) {
    .container { max-width: 950px; }

    .navbar-menu-btn { display: none; }

    .navbar {
        max-height: unset;
        visibility: visible;
        position: static;
        width: auto;
        background: none;
        pointer-events: all;
        overflow: visible;
        display: flex;
    }

    .navbar-list {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-right: 20px;

    }

    .nav-link { opacity: 1; padding: 0 15px; }
    .navbar .btn-primary { display: block; }

    .hero-content { max-width: 900px; padding-top: 80px; }

    .hero-banner {
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 500px;
        padding-top: 500px;

    }

    .about-top .section-text { max-width: 650px; margin-inline:  auto; }
    .about-list { grid-template-columns: repeat(3, 1fr); }
    .about-bottom { display: flex; justify-content: space-between; align-items: center;
    
    }
    

    .about-bottom-banner { margin-bottom: 0; height: 330px; }
    .about-bottom-content { padding-inline: 0; width: 50%; }

    .features :is(.section-title .section-text) { max-width: 650px; margin-inline: auto; }
    .features-item { display: flex; align-items: center; gap: 50px; }
        .features-item:last-child { flex-direction: row-reverse; }
    .features-item-banner { margin-inline: 0; margin-bottom: 0; }
    .scroll { background-image: url(img/about_1.png);   background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;}
    .feature-item-content { width: 50%; text-align: left; margin-left: 100px;}

    .cta-card > * {max-width: 500px; margin-inline: auto; }

    .contact .container { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
    .contact-content { max-width: 400px; }
    .contact-title { text-align: left; }
    .contact-form { width: 50%; }

    .footer-top .container { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
    .footer-brand, .footer-link-list:not(:last-child) { margin-bottom: 0; }
    .footer-link-box { grid-template-columns: repeat(4, 1fr); gap: 50px; } 
}

@media(min-width: 1200px) {
    :root { --fs-2: 42px; }

    .container { max-width: 70%; }

    .hero-banner { right: 100px; }

    .about-bottom-banner { height: 400px; }

    .features .h2 { --fs-2: 42px; }
    .features :is(.section-text, .section-title) { max-width: 850px; }
}

.modal {
backdrop-filter: blur(5px);
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;

  width: 90%;
  max-width: 1500px;
  position: relative;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.modal-content a, h2 {
    color: var(--softorange);
}
.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: #444;
}
 .about, .features, .contact {
  opacity: 0.2;
  transform: translateY(50px);
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}


.features {
    background-image: url(img/feature_bg.jpg);
    background-size: cover;
}
 .hero-content {
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

 .about.animate, .features.animate, .contact.animate {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


.horse_line {
    width: 100%;
}
.horse_line img {
    width: 100%;
    height: auto;
    opacity: 0.3;
}

.about-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}







@media(max-width: 1920px) {

.about {
    margin-top: -200px;
}
}


@media(max-width: 800px) {

.about {
    margin-top: -100px;
}


.contact-content .h2 {
    color: var(--naviblue);
    font-size: var(--fs-1);
}

.input-field {color: var(--naviblue);}

.input-field::placeholder { color: var(--naviblue); }


}

    .about-bottom {
    background: var(--white);
    padding: 40px;
    border-radius: 0px;
    box-shadow: 0 2px 4px hsla(0, 0%, 0%, .2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-image: url(img/head_bg3.jpg);
    background-attachment: fixed;
}
.roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.gallery-wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 70vh;
}

.item {
  flex: 1;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: none;
  transition: flex 0.8s ease;
  
  &:hover{
    flex: 7;
  }
}

.item-1 { 
  background-image: url('img/gallery/Bad.jpg');
}

.item-2 { 
  background-image: url('img/gallery/Badezimmer.jpg');
}

.item-3 { 
  background-image: url('img/gallery/Badezimmer\ -\ Komplett\ .jpg');
}

.item-4 { 
  background-image: url('img/gallery/Dusche-2.jpg');
}

.item-5 { 
  background-image: url('img/gallery/Dusche-3.jpg');
}


.gallery {
    margin-top: 100px;
}




.container_card{
    background: var(--white);
    padding: 40px;
    border-radius: 0px;
    box-shadow: 0 2px 4px hsla(0, 0%, 0%, .2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-image: url(img/head_bg4.jpg);
    background-size: cover;
}


.contact-content .h2 {
    color: var(--naviblue);
    font-size: var(--fs-1);
}

.footer-link-list .h4{color: var(--softorange);}




  #cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    color: white;
   
    background:rgba(26,43,69, 0.9);
    border: 1px solid #233a5cff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 1rem 1rem;
    z-index: 99999;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    display:flex;
    gap:1rem;
    align-items:flex-start;
    flex-direction: column;
    width: 30%;


  }
  #cookie-banner .text { flex: 1; font-size: 0.95rem; color: #fff; }
  #cookie-banner .actions { display:flex; gap:.5rem; align-items:center; }
  #cookie-banner button { padding: .5rem .8rem; border-radius:6px; border: 1px solid #bbb; background: #f7f7f7; cursor:pointer; font-weight:600; }
  #cookie-banner button.primary { background:var(--softorange); color:#fff; border-color: var(--softorange); }
  #cookie-settings { display:none; position:fixed; bottom:5.5rem; right:1rem; z-index:100000; background:#fff; border:1px solid #ddd; padding:1rem; width:320px; border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,0.12); }
  #cookie-settings h3{ margin:0 0 .5rem 0; font-size:1rem; }
  #cookie-settings label{ display:flex; justify-content:space-between; align-items:center; gap:.5rem; margin:.6rem 0; font-size:.95rem;}
  .toggle { width:44px; height:26px; background:#ddd; border-radius:16px; position:relative; cursor:pointer; }
  .toggle .knob { width:20px; height:20px; background:#fff; border-radius:50%; position:absolute; top:3px; left:3px; transition:all .18s; box-shadow:0 2px 6px rgba(0,0,0,0.12); }
  .toggle.on { background:#0b69ff; }
  .toggle.on .knob { left:21px; }
  #cookie-change { position:fixed; right:30px; bottom:90px; z-index:99998; background:var(--naviblue); border:0px solid #ddd; padding:.4rem .6rem; border-radius:6px; font-size:0.85rem; cursor:pointer; border-radius: 50%;   width: 50px;
    height: 50px;color: white;text-align:center; font-size:20px;transition: 200ms all;}
#cookie-change:hover {color: var(--softorange); transition: 200ms all;}
#cookie-change .cog-outline {font-size:30px;
}
 



  @media (max-width:800px){ #cookie-banner{width:100%;flex-direction:column; bottom:0; left:0; right:0; border-radius:0; } #cookie-settings{right:.5rem; width:calc(100% - 1rem);} }
/* Checkbox Wrapper */
.checkbox-wrapper {
  margin: 15px 0;
  color: #fff;
}

/* Label und Checkbox nebeneinander */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

/* Checkbox etwas schöner */
.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 2px;
  accent-color: #ffffff; /* moderne Browser: Checkbox in deiner Markenfarbe */
  width: 18px;
  height: 18px;
}

/* Link anpassen */
.checkbox-label a {
  color: var(--softorange);
  text-decoration: underline;
  font-weight: 500;
}

.checkbox-label a:hover {
  text-decoration: none;
}
