/* -------------------------------------------------- */
/*                    Allgemeine Einstellungen       */
/* -------------------------------------------------- */

*, *::before, *::after {
    box-sizing: border-box; 
    margin: 0;    
    padding: 0;
  }

  /* stabile Viewport-Einheiten als Variablen */
  :root { --vh: 100svh; }           /* Fallback: 100svh (kleiner, stabiler VP) */
  @supports (height: 100dvh) {       /* moderner: dynamic vh, wenn verfügbar */
    :root { --vh: 100dvh; }
  }


/* Desktop okay mit lvh/svh (stabile Werte), Mobile mit dvh (dynamisch) */
section.pages{
  min-height: calc(100lvh - var(--headerH));  /* Desktop stabil */
}
@supports (height: 100dvh){
  section.pages{
    min-height: calc(100dvh - var(--headerH)); /* Mobile dynamisch → kein Springen */
    margin-bottom: 5rem;
  }
}

  section.pages:first-child {
    margin-bottom: 0;
  }


  input, select, textarea { font-size: 16px; } /* nur für Mobile, wenn nötig */

  /* Roboto 300 */
  @font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto-v49-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }

  /* Roboto 400 (Regular) */
  @font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto-v49-latin-regular.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }

  /* Roboto 500 */
  @font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto-v49-latin-500.woff2') format('woff2'); /* dein "regular" */
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  /* Roboto 600 */
  @font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto-v49-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }


/* -------------------------------------------------- */
/*                        Body & Layout               */
/* -------------------------------------------------- */

/* Basis-Einstellungen für das HTML-Dokument */


html, body {
    min-height: 100%;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: #000; 
  }

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; 
  }

  /* Bilder automatisch an Container anpassen */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
  }
  
  /* Formularelemente sinnvoll zurücksetzen */
  input, button, textarea, select {
    font: inherit;          /* Schrift vom Body übernehmen */
  }
  
  /* Links neutralisieren */
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* Listen ohne Einrückungen und Aufzählungszeichen */
  ul, ol {
    list-style: none;
  }
  
  /* Tabellen standardisieren */
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }

/* -------------------------------------------------- */
/*                        Header                      */
/* -------------------------------------------------- */



/* -------------------------------------------------- */
/*                        Navigation                  */
/* -------------------------------------------------- */

    nav {
      position: relative;
      width: 100%; 
      height: 90px;
      display: flex;
      background-color: #EAE2D6;
      z-index: 3000;
    }

    .nav_container {
      position: relative;
      width: 100%;        
      display: flex;
      justify-content: space-between; 
      align-items: center;
      padding: 0 1rem; 
      z-index: 2500;
    }

    #mobile-menu {
        display: none; /* Standardmäßig versteckt */
    }

   #mobile-menu select {
      width: 100%;
      padding: 1rem;
      font-size: 1rem;
      border: none;
      background: none;
      color: inherit;
    }

    nav img {
        display: block;          
        height: 70px; 
    }

    .flag {
      position: absolute;
      top: 2px;
      right: 7rem;
      width: auto;
      height: 35px;
    }

    .logo-link img {
        transition: transform 0.15s ease;
        cursor: pointer;
    }

    .logo-link img:hover {
        transform: scale(1.08); /* leicht größer beim Hover */
    }

    .logo-link img:active {
        transform: scale(1.15); /* deutlich größer beim Klick */
    }

    nav ul {
    display: flex;
    flex-direction: row;
    gap: 60px;
    list-style: none;
    margin: 0;
    padding: 0;
    }


    nav ul li {
    display: flex;
    align-items: center;
    }

    nav ul li a {
    position: relative;
    text-decoration: none;
    color: inherit;
    font-size: 1rem;
    padding: 0.5rem 0;
    display: inline-block;
    }

    nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1.5px;
    background-color: #8676669b;
    transition: width 0.3s ease-in-out;
    }

    nav ul li a:hover::after {
    width: 100%;
    }

    .nav_right {
      position: relative;
      display: flex;
      gap: 0rem;
    }


    .language-switcher {
        position: relative;
        appearance: none;      /* Entfernt Standards (so weit wie möglich) */
        background-color: #d5c3aa00;
        border: 1px solid #8676668c;
        border-radius: 0.5rem;
        padding: 0.5rem 2rem 0.5rem 1rem;
        font-size: clamp(0.5rem,1.5vw,1.2rem);
        font-family: 'Roboto', sans-serif;
        color: #333;
        background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="gray" class="bi bi-caret-down-fill" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658c-.566-.682-.106-1.658.753-1.658h9.592c.86 0 1.32.976.753 1.658l-4.796 5.482a1 1 0 0 1-1.506 0z"/></svg>');
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
        background-size: 1rem;
        cursor: pointer;
      }
      
      /* Optional: Hover-Effekt */
    .language-switcher:hover {
        border-color: #867666;
      }


    /* Standardmäßig den Burger-Button verstecken */
    .menu-toggle {
    display: none;
    }
/* -------------------------------------------------- */
/*                        Hauptbereich                */
/* -------------------------------------------------- */

    main {
      min-height: var(--vh);           /* statt 100vw */
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto;        /* keine fixen 100vh-Reihen! */
      grid-template-areas:
        "landing" "about" "service" "costs" "contact" "route";
    }


    /* besser */
    section { min-height: var(--vh); }

     /* To the Top Button  */
    @keyframes pulse {
      0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(235, 226, 214, 0.7);
      }
      70% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 10px rgba(235, 226, 214, 0);
      }
      100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(235, 226, 214, 0);
      }
    }

     #backToTop {
        position: fixed;
        bottom: 30px;
        left: 40px;
        border: none;
        border-radius: 15px;
        background-color: #d5c3aa;
        color: rgba(0, 0, 0, 0.359);
        padding: 8px 20px;
        font-size: 16px;
        cursor: pointer;
        z-index: 1000;
        animation: pulse 2s infinite;
    }

    #backToTop:hover {
        background-color: #ebe2d6;
        color: black;
    }

    .backToTopContent {
      display: flex;
      align-items: center;
      gap: 8px; /* Abstand zwischen Text und Pfeil */
    }

/* -------------------------------------------------- */
/*                        Sektionen                   */
/* -------------------------------------------------- */
   
/* Allgemeine Einstellungen der Sektionen */
.pages {
        width: 100%;
        max-width: 1320px;
        justify-self: center;
        height: auto;
    }

/* ############ Sektion : Landing Page Start #############*/

    .grid_container_landing {
        display: grid;
        width: 100%;
        max-width: 1320px;
        grid-template-columns: 1fr 1fr;   
        grid-template-rows: 1fr;
        grid-template-areas: 
        "landing_left landing_right";
        margin-bottom: 1rem;
    }

    .landing_left {
        display: flex;
        flex-direction: column;
        width: 100%;
    }


    .text_container {
        margin-top: 12svh;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .text_container h1 {
        display: block;
        font-size: clamp(2rem, 5vw, 4rem);
        color: #000000cd;
        padding: 0.5rem 1rem 0.5rem 1rem;
        margin: 2rem 2rem 0 2rem;
        text-align:left;
    }

    .text_container h2 {
        display: block;
        font-size: clamp(1rem, 4vw, 2rem);
        color: #0000008c;
        padding: 0.5rem 1rem 0.5rem 1rem;
        margin: 2rem 2rem 0 2rem;
        text-align:left;
    }

    .text_container h3 {
        display: block;
        font-size: clamp(0.9rem, 2vw, 1.5rem);
        color: #00000094;
        padding: 0.5rem 1rem 0.5rem 1rem;
        margin: 2rem 2rem 0 2rem;
        text-align:left;
    }

    .text_container ul {
        padding: 1rem 1rem 1rem 4rem;
        list-style-type:disc;
        line-height: 1.5rem;
    }

    .text_container ul li {
        font-size: clamp(0.9rem, 1vw, 1rem);
    }

    .landing_right {
        display: flex;
        width: 100%;
        align-items: center;     
        overflow: hidden; 
        margin-top: 10rem;       
        flex-direction: column; 
    }

    .img_container_landing {
      padding: 3rem;
    }

    .img_container_landing img{
        display: block;
        position: relative;
        object-fit:cover; 
        border: none;   
        height: 400px;  
        width: auto; 
        border-radius: 25px;   
    }




/* ############ Sektion : Team #############*/

.grid_container_about{
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 25fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: 
    "left_arrow center_about right_arrow";
    width: 100%;
    padding: 0 1rem 0 1rem;
}

#arrow_left {
    max-width: 64px;
    min-width: 64px;
    width: 100%;
    height: auto;
    justify-self: right;
}

#arrow_right {
    max-width: 64px;
    min-width: 64px;
    height: auto;
    width: 100%;
    justify-self: left;
}

.arrow_about{
  display:flex;
  justify-content:center;
  align-items:center;
  width:128px;
  min-width:64px;
  height:128px;
  color:#867666;                 
  cursor:pointer;
  transition:transform .3s ease, color .3s ease;
  position:relative;
  z-index:5;
}

.arrow_about:hover{ color:#5f5145; transform:scale(1.08); }

.arrow_about svg{
  display:block;
  width:60px;     /* fix, unabhängig von globalem svg{height:auto} */
  height:60px;
}

.center_about{
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: var(--vh);
    height: auto;
}

.card_about {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: absolute;       
    top: 0;
    left: 0;              
    transition: opacity 0.5s ease-in-out;
}

.flex_container_about {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 63%;
    margin-left: 5rem;
    background-color: #EAE2D6;
    padding: 1rem;
    border-radius: 25px;
    overflow: visible;
    gap: 2rem; /* optional: Abstand zwischen Bild und Text */
}

.flex_container_about img {
    border-radius: 25px;
    width: 400px;
    height: auto;
    margin-top: -5rem; 
    margin-bottom: 2rem;  
    margin-left: -6rem;
    margin-right: 0; 
    object-fit: cover;
}


.text_wrapper_about {
    position: relative;
    height: 100%;
    width: 100%;
  }

.text_container_about {
  position: absolute;     /* bleibt immer absolut */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 0;             /* liegt hinten */
}

.text_container_about.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;  
    padding: 1rem;
  }


.text_container_about h2 {
    font-size: clamp(1.5rem, 4vw, 4rem);
    padding: 0 0 0 0;
    text-align: left;
    font-weight: 500;
}

.text_container_about h3 {
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-align: left;
    padding: 0 0 2rem 0;
    font-weight: 100;
    position: relative;
    padding-left: 60px; 
}

.text_container_about h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 25%;
    transform: translateY(-50%);
    width: 50px;           /* Länge des Strichs */
    height: 1px;           /* Dicke des Strichs */
    background-color: #867666; /* Farbe */
}

.text_container_about p {
    font-size: clamp(0.6rem, 1.3vw, 1rem);
    line-height: 1.3;
    text-align: left;
}

.text_container_about ul {
    list-style: disc;
    font-size: clamp(0.6rem, 1.3vw, 1rem);
    line-height: 1.4;
    text-align: left;
    padding: 1rem 0 1rem 1rem;
}

.text_container_about li {
    padding-top: 0.2rem;
}

.h2_smaller {
    font-size: clamp(1rem, 2.5vw, 2rem)!important;
    text-align: left;
    font-weight: 100;
}


/* Der Bereich mit den Karten */
.center_about {
  position: relative; /* Bezugsfläche für absolute Kinder */
}

/* Karten liegen unter den Thumbnails */
.card_about {
  position: absolute;
  z-index: 1;
}




/* Thumbnails über den Karten, mittig am unteren Rand fixieren */
.team_thumbnails {
  position: absolute;
  left: 50%;
  bottom: 4svw;
  transform: translateX(-50%);
  z-index: 3;             /* WICHTIG: über .card_about */
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0;          /* nicht nötig bei absoluter Position */
  pointer-events: auto;   /* sicherstellen, dass Klicks ankommen */
}

/* Einzelne Thumbs klickbar + Hover sichtbar */
.team_thumbnails img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.6;
  transition: transform .3s ease, opacity .3s ease, border-color .2s ease;
  pointer-events: auto;
}

@media (hover: hover) {
  .team_thumbnails img:hover {
    opacity: 1;
    transform: scale(1.2);
  }
}



.team_thumbnails img.active {
  opacity: 1;
   transform: scale(1.2);
}



    
/* ############ Sektion : Service #############*/

.grid_container_service {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-width: 1320px;
    width: 100%;
  }
  
  .service_cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
    "understand  change"
    "support  help";
    gap: 2rem;
    max-width: 1320px;
    justify-items: center;
    margin-bottom: 3rem;
}

  .service_card {
    background: #eae2d66a;
    padding: 2rem;
    border-radius: 1rem;
    width: 35svw;
    height: 42svh;
    text-align: left;
    text-align: center;
  }

  
  .service_card h3 {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 0.5rem;
  }

  .img_container_card{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 22vh;
    overflow: hidden;
  }

  .service_card img {
    border-radius: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    height: 100%;
    object-fit:scale-down;
  }

  /* Flip Card Basis */
.flip-card {
  background-color: transparent;
  perspective: 1000px; /* Tiefe für 3D-Effekt */
}

/* Inner Container */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
  transform-style: preserve-3d;
}

.flip-card-inner {
  transition: transform 1s;
  transform-style: preserve-3d;
}

.flip-card-inner.flipped {
  transform: rotateY(180deg);
}

/* Vorder- und Rückseite */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* blendet Rückseite aus */
  border-radius: 1rem; /* gleiche Rundung */
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Vorderseite Style */
.flip-card-front {
  background: #eae2d66a;
}

/* Rückseite Style */
.flip-card-back {
  background-color: #EAE2D6;
  transform: rotateY(180deg);
  
}

.flip-card-back p {
  font-size: clamp(0.9rem, 1.8vh, 1.4rem); /* dynamisch größer */
  line-height: 1.6; /* angenehmer Zeilenabstand */
  color: #333; /* gut lesbare Farbe */
  padding: 0.5rem 1rem; /* innenabstand für Luft */
  text-align: center; /* linksbündig für Lesbarkeit, bei Bedarf center ändern */
}


.flip-card {
  perspective: 1000px;
  position: relative;
  cursor: pointer;
  touch-action: manipulation;              /* schnellere Taps */
  -webkit-tap-highlight-color: transparent;
  z-index: 1;                              /* falls Overlays darüber liegen */
}

/* Ein einziger “Wert-Schalter”: */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform .6s ease;
  will-change: transform;
  transform: rotateY(var(--rot, 0deg));
  -webkit-transform: rotateY(var(--rot, 0deg));
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;    /* iOS wichtig */
}

.flip-card-back {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

/* Wenn gekippt, setzen wir nur die Variable – keine Spezifizitätskämpfe */
.flip-card.is-flipped { --rot: 180deg; }

/* Hover nur Desktop (lass deinen vorhandenen Block stehen) */
@media (hover: hover) and (pointer: fine) {
  .flip-card:hover { --rot: 180deg; }
}


  


/* ================= Costs ================= */

.grid_container_costs{
  display: grid;
  grid-template-columns: 1fr;        /* Text – Bild */
  gap: 2rem;
  width: 100%;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
  padding: 1rem;
}

.costs_text { display: grid; gap: 1rem; }

.costs_header h2{
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  color: #867666;
  margin-bottom: 0.5rem;
}
.costs_header p{
  margin-bottom: 1rem;
}

.costs_header .lead{
  color: #555;
  font-size: clamp(1rem, .9rem + .4vw, 1.125rem);
}

.costs_card{
  background: #eae2d66a;
  border: 1px solid rgba(134,118,102,.2);
  border-radius: 1rem;
  box-shadow: 0 6px 12px rgba(0,0,0,.05);
  padding: clamp(1rem, 1.5vw, 1.5rem);
}
.costs_card h3{
  font-size: clamp(1.1rem, .95rem + .6vw, 1.4rem);
  margin: 0 0 .35rem 0;
  color: #333;
}
.costs_card p{ line-height: 1.6; color: #333; }
.costs_card .note{ color: #5c5c5c; }

.costs_media{
  display: block;
  position: relative;
  align-self: start;
}
.img_container_costs{
  overflow: hidden;
  border-radius: 1rem;
  background: #EAE2D6;
}
.img_container_costs img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;                /* stabilisiert Layout (CLS) */
  object-fit: cover;
  border-radius: 1rem;
}




/* ############ Sektion : Kontakt #############*/

.grid_container_contact {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: auto;
     grid-template-areas: 
    "contact_left contact_right";
    gap: 2rem;
    max-width: 1320px;
    justify-items: center;
    width: 100%;
}

.left_contact {
    display: flex;
    grid-area: contact_left;
    flex-direction: column;
    padding: 2rem;
}
.right_contact {
    display: flex;
    grid-area: contact_right;
    flex-direction: column;
    padding: 2rem;
}

/* ############ Formular #############*/

.contact-form {
  width: 100%;
  max-width: 800px;
  max-height: none;
  background-color: #EAE2D6;
  padding: clamp(1rem, 2vw, 2rem);
  border-radius: 1rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 1.5vw, 1rem);
}

.contact-form h2 {
  width: 100%;
  font-size: clamp(1rem, 2vw, 1.5rem); /* kleinerer Maximalwert */
  margin-bottom: clamp(0.4rem, 0.8vw, 0.8rem);
  text-align: center;
  color: #867666;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-form .half-width {
  width: calc(50% - 0.5rem);
}

.contact-form .full-width {
  width: 100%;
}

.contact-form label {
  font-size: clamp(0.7rem, 1.5vw, 0.9rem); /* insgesamt kleiner */
  margin-bottom: 0.4rem;
  color: #867666;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: clamp(0.3rem, 0.8vw, 0.6rem) clamp(0.5rem, 1.5vw, 0.8rem);
  border: 1px solid #8676668c;
  border-radius: 0.4rem;
  background-color: #fff;
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #867666;
  outline: none;
  box-shadow: 0 0 0 2px rgba(134, 118, 102, 0.2);
}

.contact-form button.sent_button {
  background-color: #D5C3AA;
  color: #333;
  border: none;
  padding: clamp(0.5rem, 1vw, 0.8rem) clamp(0.8rem, 2vw, 1.5rem);
  border-radius: 0.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
}

.contact-form button.sent_button:hover {
  background-color: #c1ad93;
  transform: translateY(-2px);
}

/* Kontaktinfo Styling */
.contact-info {
  background-color: #EAE2D6;
  padding: clamp(1rem, 2vw, 2rem);
  border-radius: 1rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 400px;
  text-align: left;
}

.contact-info h2 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
  color: #867666;
}

.contact-info h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 0.5rem;
}

.contact-info p {
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: inherit; /* gleiche Farbe wie Text */
  text-decoration: none; /* kein Unterstrich */
}

.contact-info a:hover {
  text-decoration: underline; /* Unterstrich beim Hover */
}


/* Kontakt – Telefonzeiten */
.contact-info .contact-hours { margin-top: .5rem; }
.contact-info .hours {
  display: grid;
  grid-template-columns: 3.5ch 1fr; /* Tag | Zeit */
  column-gap: .75rem;
  row-gap: .25rem;
  margin: .25rem 0 0;
  padding: .25rem 0 0;
  border-top: 1px solid rgba(134,118,102,.25); /* feine Trennung */
  font-size: clamp(0.8rem, 1.8vw, 1rem);
}
.contact-info .hours dt {
  color: #867666;
  font-weight: 600;
}
.contact-info .hours dd {
  margin: 0;
  color: #333;
}


#birthday_label {
  margin-top: 1rem;
}

.birthdate-input {
  width: 250px;
  max-height: 100px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  background: #fff;
}
.birthdate-input:focus {
  border-color: #867666;
  outline: none;
}






/* ############ Sektion : Route #############*/


/* -------------------------------------------------- */
/*                        Sektion Route               */
/* -------------------------------------------------- */

.grid_container_route {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  gap: 1rem;
  max-width: 1320px;
  margin: 0rem auto;
  width: 100%;
  padding: 0;
  border-radius: 1rem;
  margin-top: 5rem;
}

.route_top {
  display: flex;
  justify-self: center;
  width: 90%;
  height: 25svh; 
  max-width: 1320px;
}

.route_top iframe {
  width: 100%;
  height: 100%; /* etwas kleiner als 450px */
  border: none;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.route_top iframe:hover {
  transform: scale(1.01);
}


.route_bottom {
  text-align: center; /* zentriert alles */
  background-color: #EAE2D6;
  padding: 1rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 90%;
  max-width: 1320px; /* etwas schmaler für elegantere Linie */
  min-height: 30svh; 
  height: auto;
  margin: 0 auto;
}

.route_bottom:hover {
   transform: scale(1.01);
}

.route_bottom h2 {
  font-size: clamp(1.1rem, 3vh, 3rem); /* vorher min 1.5rem */
  margin-bottom: 1rem;
  color: #867666;
  font-weight: 600;
  letter-spacing: 1px;
}
.route_bottom h3 {
  font-size: clamp(1rem, 2vh, 1.5rem); /* vorher min 1.3rem */
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #867666;
  font-weight: 500;
  border-bottom: none; /* clean look */
  padding-bottom: 0;
}

.route_bottom p {
  font-size: clamp(0.9rem, 1.2vh, 1.2rem); /* vorher fix 1.05rem */
  line-height: 1.4;
  color: #333;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}



.route_bottom ul li {
  font-size: clamp(1rem, 1.5vh, 1.1rem); /* vorher fix 1.05rem */
  line-height: 1.4;
  list-style-position: inside;
  color: #333;
  margin-bottom: 0.3rem;

}

/* ================================
   Impressum & Datenschutz – Add-on
   ================================ */

/* Fallback-Variablen (werden nur genutzt, wenn du keine eigenen hast) */
:root {
  --accent: #867666;               /* dein Menü-Akzent (rgba(134,118,102,0.3) verwandt) */
  --text: #1f1f1f;
  --muted: #5c5c5c;
  --surface: #ffffff;
  --border: rgba(134,118,102,.25);
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 18px rgba(0,0,0,.06);
}

/* Wrapper für den Seiteninhalt */
.content_container {
  max-width: 72ch;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 40px) 16px;
  line-height: 1.7;
  color: var(--text);
  font-size: clamp(1rem, .95rem + .25vw, 1.0625rem);
}

/* Überschriften */
.content_container h1 {
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 .75rem;
  letter-spacing: .2px;
}
.content_container h1 + p { color: var(--muted); }

.content_container h2 {
  font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem);
  margin: 2rem 0 .75rem;
  padding-top: .5rem;
  border-top: 1px solid var(--border);
}

/* Abschnittskarten */
.content_container section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
  margin: 1rem 0;
}

/* Adressblöcke & Telefonnummern */
.content_container address,
.content_container .address {
  font-style: normal;
  white-space: pre-line; /* Zeilenumbrüche aus dem HTML übernehmen */
}
.content_container a[href^="tel:"] {
  text-decoration: none;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 1px;
}
.content_container a[href^="tel:"]:hover {
  border-bottom-color: var(--accent);
}

/* Listen */
.content_container ul {
  list-style: none;
  padding-left: 0;
  margin: .5rem 0 0;
}
.content_container ul li {
  position: relative;
  padding-left: 1.25rem;
  margin: .25rem 0;
}
.content_container ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: .5em;
  height: .5em;
  border-radius: 50%;
  background: var(--accent);
  opacity: .75;
}

/* Links */
.content_container a {
  color: var(--accent);
  text-underline-offset: 2px;
}
.content_container a:hover,
.content_container a:focus-visible {
  text-decoration: underline;
}

/* „Download …“-Linkliste (falls du eine eigene Liste dafür nutzt) */
.content_container .download-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
  margin-top: .5rem;
}
.content_container .download-list a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .6rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
}
.content_container .download-list a::before {
  content: "⬇︎";
  line-height: 1;
}
.content_container .download-list a:hover {
  border-color: var(--accent);
}

/* Kleinere Feinheiten */
.content_container p { margin: .4rem 0 .9rem; }
.content_container strong { color: var(--text); }
.content_container .note { color: var(--muted); }

/* Barrierefreiheit/Focus */
.content_container a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive Tuning */
@media (min-width: 768px) {
  .content_container { padding: clamp(24px, 5vw, 56px); }
  .content_container section { padding: 1.25rem 1.5rem; }
  .content_container .download-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}


/* Druckansicht – schlank & ohne Navigation */
@media print {
  nav, .route_footer, #backToTop { display: none !important; }
  .content_container {
    max-width: none;
    padding: 0;
    box-shadow: none;
  }
  .content_container section {
    border: none;
    box-shadow: none;
    padding: 0;
    margin: .5rem 0;
  }
  a::after {
    content: " (" attr(href) ")";
    font-size: .9em;
    color: #444;
  }
}



/* -------------------------------------------------- */
/*                        Footer                      */
/* -------------------------------------------------- */

.route_footer {
  background-color: #ebe2d6;
  border-top: 1px solid #ddd;
  padding: 1.5rem 2rem;
  font-size: 1rem;
  color: #555;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* links – mitte – rechts */
  grid-template-rows: 1fr;
  align-items: center;
  gap: 1rem;
  max-width: 1320px;
  margin: 0 auto;
}

.footer-left {
  text-align: left;
}

.footer-center {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-right {
  text-align: right;
}

.route_footer a {
  color: #555;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.route_footer a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #867666;
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: right;
}

.route_footer a:hover {
  color: #000;
}

.route_footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}




/* -------------------------------------------------- */
/*                        Cards                     */
/* -------------------------------------------------- */

#card1 {
    /* background-color: red; */
    opacity: 1;
}

#card2,
#card3,
#card4,
#card5,
#card6 {
    opacity: 0;
}



/* -------------------------------------------------- */
/*                  Impressum                         */
/* -------------------------------------------------- */

/* ===== Hash-Route: Impressum eingebettet ===== */
/* =========================
   Impressum / Datenschutz
   Mittelspalte mit Grid
   ========================= */

.impressum .content-container{
  display: grid;
  grid-template-columns: 1fr minmax(0, 765px) 1fr; /* Mitte fixiert, Seiten flexibel */
  gap: 0;
  margin: 0 auto;
  padding: clamp(12px, 3vw, 24px);
  padding-top: clamp(72px, 10vw, 120px);           /* Platz unter Nav */
  background: #ffffffb3;                           /* leichtes Weiß */
  min-height: 100dvh;
}

/* Farben/Typo abgestimmt auf eure CI */
.impressum{
  --ink: #1f1e1c;
  --muted: #5b584f;
  --brand: #987239;            /* Akzent */
  --brand-30: #9872394d;
  --line: rgba(0,0,0,.08);
  --card-bg: #fff;
  --card-shadow: 0 2px 10px rgba(0,0,0,.08);
  --radius: 16px;
}

.impressum .content-section{
  grid-column: 2;
  margin: 0 0 1.25rem 0;
  padding: clamp(14px, 2.2vw, 22px);
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

/* Überschriften */
.impressum .section-title,
.impressum .subsection-title{
  color: color-mix(in oklab, var(--brand) 85%, #000 0%);
  margin: 0 0 .75rem 0;
  line-height: 1.2;
}
.impressum .section-title{
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--brand-30);
}
.impressum .subsection-title{
  font-size: clamp(1.05rem, .95rem + .6vw, 1.35rem);
  display: inline-flex; align-items: center; gap: .5rem;
}
.impressum .subsection-title::before {
  content: none;
}

/* Fließtext & Abstände */
.impressum p{ 
  color: var(--muted); 
  line-height: 1.7; 
  margin: .35rem 0 .65rem;
}
.impressum strong{ color: var(--ink); }

/* Listen */
.impressum .data-list {
  padding-left: 0;       /* Kugeln raus → Einzug auch entfernen */
  margin: .4rem 0 .8rem;
}

/* Links */
.impressum .link{
  color: var(--brand); 
  text-decoration: none; 
  border-bottom: 1px dashed color-mix(in oklab, var(--brand) 50%, transparent);
  transition: color .2s ease, border-color .2s ease;
}
.impressum .link:hover{
  color: #714f26; 
  border-bottom-color: currentColor;
}

/* Highlight-Box (Hinweise/Downloads) */
.impressum .highlight-box{
  background: #00000008;
  padding: .75rem .9rem;
  border-left: 4px solid var(--brand-30);
  border-radius: 10px;
  margin: 1rem 0;
}

/* Karten-Header-Zierleiste (dezent) */
.impressum .content-section::before{
  content:"";
  position:absolute; inset: 0 0 auto 0; height:6px; border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--brand), #b58b58 60%, #d8b88f);
  opacity:.12;
}

/* Scroll-Anker nicht unter Nav */
.impressum [id]{ scroll-margin-top: 92px; }


/* Print kompakt */
@media print{
  nav, .route_footer, #backToTop { display:none !important; }
  .impressum .content-container{ grid-template-columns: 1fr; padding: 0; }
  .impressum .content-section{ grid-column: 1; border:1px solid #bbb; box-shadow:none; break-inside: avoid; }
}
/* ========= Impressum-Modus: Main darf nicht mehr "riesig" sein ========= */
.mode-impressum main {
  /* Grid & Snap komplett neutralisieren */
  display: block !important;
  grid-template-areas: none !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
  gap: 0 !important;
  scroll-snap-type: none !important;

  /* Höhe dynamisch */
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;

  /* Falls du transform/translate fürs Snap nutzt: aus */
  transform: none !important;
}

/* Die 100vh-Abschnitte ausschalten */
.mode-impressum main > section.pages { 
  display: none !important; 
}

/* Impressum normal anzeigen */
.mode-impressum .impressum { 
  display: block !important; 
  height: auto !important; 
  min-height: 0 !important; 
}

/* Generell 100vh/Snap in diesem Modus neutralisieren */
.mode-impressum section { 
  height: auto !important; 
  min-height: 0 !important; 
  scroll-snap-align: unset !important;
}

/* Optional: html/body, falls dort snap/height gesetzt ist */
.mode-impressum html,
.mode-impressum body {
  height: auto !important;
  scroll-snap-type: none !important;
}


/* -------------------------------------------------- */
/*                  Pop Up                            */
/* -------------------------------------------------- */

/* Modal Layer */
.consent-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.4);
  display: grid; place-items: center; padding: 16px; }
.consent-modal[hidden] { display: none !important; }
.consent-card { max-width: 720px; width: 100%; background: #fff; color: #1f1f1f;
  border: 1px solid rgba(134,118,102,.25); border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15); padding: clamp(16px,3vw,24px); }

.consent-group { display: grid; gap: 12px; margin: 12px 0 16px; }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* Buttons */
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.consent-actions .btn { cursor: pointer; padding: .6rem .9rem; border-radius: 10px;
  border: 1px solid rgba(134,118,102,.25); background: #fff; transition: .15s; }

.consent-actions .btn:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.consent-actions .btn.primary { background: #867666; color: #fff; border-color: #867666; }

/* Toggle Switch */
.switch { position: relative; display: inline-block; width: 52px; height: 30px; }
.switch input { display: none; }
.slider { position: absolute; inset: 0; background: #ddd; border-radius: 999px; transition: .2s; }
.slider:before { content: ""; position: absolute; height: 22px; width: 22px; left: 4px; top: 4px;
  background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .slider { background: #867666; }
.switch input:checked + .slider:before { transform: translateX(22px); }

/* Fokus & Links */
.consent-actions .btn:focus-visible { outline: 2px solid #867666; outline-offset: 2px; }
.consent-links { margin-top: 10px; text-align: center; }
.consent-links a { color: #867666; }





/* -------------------------------------------------- */
/*                 Responsive Design (Media Queries)  */
/* -------------------------------------------------- */

/* 1) ≤1024px: Mobile-Variante im #mobile-menu stylen.
      Desktop-Variante im nav ul ausblenden (du hast sie eh auf display:none). */
@media (max-width: 1024px) {
  /* du siehst diesen Switcher bei ≤1024px */
    #mobile-menu .language-switcher {
      position: relative;
      width: 7rem;
      height: 4rem;
      top: 0rem;
      left: 0rem;
      appearance: none; -webkit-appearance: none; -moz-appearance: none;
      border-radius: .5rem;
      padding: 0.5rem .75rem;
    }


    .nav_container{
      padding: 1rem;
    }
    .nav_right {
      position: absolute;
      right: 75px;
    }
  }

  @media (max-width: 700px) {

    .nav_right {
      position: absolute;
      right: 100px;
    }
  }

    @media (max-width: 500px) {
  
    .nav_right {
      position: absolute;
      right: 90px;
    }
  }


    
/* ########### 1024px für Landing Page ########### */
@media (max-width: 1024px) {

  .img_container_landing{
    padding: 1rem;
  }

  .text_container {
    margin: 10rem 0 0 0;
  }

  .text_container h1 {
    margin-top: 1rem;
    font-size: clamp(2.5rem, 4vw, 4rem);
  }

    .text_container h2 {
    margin-top: 1rem;
    font-size: clamp(1.5rem, 2vw, 3rem);
  }

    .text_container ul li {
    font-size: clamp(0.7rem, 1.5vw, 3rem);
  }


  nav { position: fixed; }
  nav ul { display: none; }


  .switcher_container {
    display: none;
  }

    .flag {
    position: relative;
    top: -2px;
    right: 2rem;
    height: 25px;
  }

  #mobile-menu {
    position: fixed;
    top: 90px;
    right: 0;
    width: 35svh;
    height: 100%;
    background-color: #ebe2d6;
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    text-align: right;
    z-index: 60;
    transition: transform 0.5s ease-in-out;
  }

  #menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
  }
  #menu-overlay.active { opacity: 1; pointer-events: all; }

  #mobile-menu.open { transform: translateX(0); }

  #mobile-menu li {
    padding: 0 2rem 0 0rem;
    line-height: 5rem;
  }
  #mobile-menu li a {
    display: block;
    color: inherit;
    font-size: 1.5rem;
    text-decoration: none;
  }
  /* Burger-Button sichtbar auf Mobile */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: black;
    position: fixed;
    top: 20px; right: 30px;
    z-index: 70; /* über #mobile-menu (60) und Overlay (50) */
    width: 44px; height: 44px;
    display: inline-flex; align-items:center; justify-content:center;
  }
  /* Drei Balken */
  .menu-toggle .bar {
    position: absolute;
    width: 26px; height: 2px;
    background: currentColor;
    transition: transform .35s ease, opacity .25s ease, top .35s ease;
  }
  /* Ausgangspositionen */
  .menu-toggle .bar:nth-child(1){ top: 14px; }
  .menu-toggle .bar:nth-child(2){ top: 21px; }
  .menu-toggle .bar:nth-child(3){ top: 28px; }
  /* Offen = X */
  .menu-toggle.is-open .bar:nth-child(1){ top: 21px; transform: rotate(45deg); }
  .menu-toggle.is-open .bar:nth-child(2){ opacity: 0; transform: scaleX(0); }
  .menu-toggle.is-open .bar:nth-child(3){ top: 21px; transform: rotate(-45deg); }

  .backToTopContent { 
    display: none; 
  }
  #backToTop {
    display: none !important;
  }
}

/* Nicht in ein anderes @media hinein verschachteln */
@media (prefers-reduced-motion: reduce) {
  .menu-toggle .bar { transition: none; }
}

/* ########### 768px für Landing Page ########### */
  @media (max-width: 768px) {
      .grid_container_landing {
      display: grid;
      height: 100%;
      gap: 0;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      grid-template-areas:
        "landing_right"   /* Bild zuerst */
        "landing_left";   /* Text darunter */
    }
    .img_container_landing{
    padding: 0;
    margin: 0;
    }
    .img_container_landing img{
      border-radius: 0;
      height: 40svh;
      width: 100%;
    }
    .landing_right {
      display: block;
      margin: 0;
    }
    .landing_left{
      margin: 0;
      padding-bottom: 6rem;
    }
    .text_container {
      margin: 0;
      padding: 0;
    }
    }


/* ########### 500px für Landing Page ########### */

@media (max-width: 500px) {
        .grid_container_landing {
          display: grid;
          grid-template-columns: 1fr;   
          grid-template-rows: 1fr 2fr;
      }
  
      .landing_left{
        margin: 0;
        padding: 2rem;
      }
      .text_container,
      .text_container h1,
      .text_container h2,
      .text_container h3 {
        margin: 0;
      }

      .text_container h1 {
        margin-top: 3rem;
        font-size: clamp(1.8rem, 4vw, 3rem);
        justify-self: center;
      }
       .text_container ul li {
        font-size: clamp(0.9rem, 2vw, 3rem);
      }
      .button_container{
        margin: 0;
        padding-top: 1rem;
      }
        .img_container_landing img{
        border-radius: 0;
        height: 35svh;
        width: 100svw;
      }
      .flag {
        position: relative;
        top: -2px;
        right: 0rem;
        height: 20px;
      }
    }



/* ########### 800px Team ########### */
@media (max-width: 1024px) {
  .flex_container_about{
    height: 52svh;
  }
}
/* ########### 800px Team ########### */
@media (max-width: 850px) {
  .flex_container_about{
    gap: 0;
  }
  .flex_container_about img {
      width: 250px;
      height: 400px;  
      margin-left: -4rem;
  }
  .flex_container_about{
    height: 45svh;
  }
  .flex_container_about {
    margin-left: 3rem;
  }
    .arrow_about {
    width: 40px;
    height: 40px;
    color: #867666;
  }
  .arrow_about svg {
    width: 40px;
    height: 40px;
  }
}
/* ########### 700px Team ########### */
  @media (max-width: 700px) {

    #portrait1 { content: url("/images/portrait1_small.webp"); }
    #portrait2 { content: url("/images/portrait2_small.webp"); }
    #portrait3 { content: url("/images/portrait3_small.webp"); }
    #portrait4 { content: url("/images/portrait4_small.webp"); }
    #portrait5 { content: url("/images/portrait5_small.webp"); }
    #portrait6 { content: url("/images/portrait6_small.webp"); }


    .center_about{
    margin: 0;
    padding: 0;
    }
    .card_about {
      margin: 0;
      padding: 0;
    }

    .flex_container_about {
      display: block;
      margin: 0;
      padding: 1rem;
      height: 55svh;
      margin-top: 10rem;
      text-size-adjust: none;
    }
    .text_container_about h2 {
      margin: 0;
      padding: 0;
      font-size: clamp(1rem, 4vw, 4rem);
    }
      .h2_smaller {
      padding-bottom: 0.3rem !important;
      padding-top: 0.5rem!important;
      }   
     .text_container_about h3 {
      font-size: clamp(0.7rem, 3.5vw, 3rem);
      padding-bottom: 0.6rem;
    }
      .text_container_about p {
      font-size: clamp(0.5rem, 0.5rem + 1vw, 0.65rem);
      line-height: 1.5;
    }
    .text_container_about ul {
      padding: 0.2rem 0 0.25rem 1rem;
    }
    .text_container_about li {
      padding-top: 0rem;
      font-size: clamp(0.5rem, 1vh, 2rem);
    }
    .flex_container_about img {
        margin: -10rem 0 0 0.5rem;
        padding: 0;
        width: 120px;
        height: 180px;
    }
    .text_wrapper_about {
      position:relative;
      margin: 1.1rem 0 0 0;
      padding: 1rem;
      width: 100%;
    }
    .text_wrapper_about p {
      height: 100%;
      width: 100%;
      padding: 0;
      margin: 0;
    }
    #arrow_left  { grid-area: left_arrow; justify-self: start; }
    #arrow_right { grid-area: right_arrow; justify-self: end; }
    .arrow_about {
    width: 30px;
    height: 30px;
    color: #867666;
  }
  .arrow_about svg {
    width: 24px;
    height: 24px;
  }
  .team_thumbnails {
  position: absolute;
  left: 50%;
  bottom: 1svw;
  transform: translateX(-50%);
  }
}
/* ########### 500px Team ########### */
@media (max-width: 500px) { 
    .grid_container_about{
        display: grid;
        margin: 0;
        padding: 0;
        height: 100%;
        grid-template-columns: 3rem 1fr 3rem;
        grid-template-areas: "left_arrow center_about right_arrow";
        align-items: center;
        position: relative;
        gap: 0.5rem;
    }
    .center_about{
        margin: 0;
        padding: 0;
    }
    .card_about {
      margin: 0;
      padding: 0;
    }
    .flex_container_about {
      margin: 0;
      padding: 0;
      height: 28rem;
      margin-top: 10rem;
      text-size-adjust: none;
    }
    .text_container_about h2 {
      margin: 0;
      padding: 0;
      font-size: clamp(1rem, 4vw, 4rem);
    }
      .h2_smaller {
      padding-bottom: 0.3rem !important;
      padding-top: 0.5rem !important;
    }   
     .text_container_about h3 {
      font-size: clamp(0.7rem, 3.5vw, 3rem);
      padding-bottom: 0.6rem;
    }
      .text_container_about p {
      font-size: clamp(0.65rem, 0.35rem + 1vw, 0.65rem);
      line-height: 1.5;
    }
    .text_container_about ul {
      padding: 0.2rem 0 0.25rem 1rem;
    }
    .text_container_about li {
      padding-top: 0rem;
      font-size: clamp(0.65rem, 1vh, 2rem);
    }
    .flex_container_about img {
        margin: -10rem 0 0 0.5rem;
        padding: 0;
        width: 120px;
        height: 180px;
    }
    .text_wrapper_about {
      position: absolute;
      padding: 1rem;
      margin: 0;
    }

    .text_wrapper_about p {
      height: 100%;
      width: 100%;
      padding: 0;
      margin: 0;
      }
    #arrow_left  { grid-area: left_arrow; justify-self: start; }
    #arrow_right { grid-area: right_arrow; justify-self: end; }
    .arrow_about {
    width: 30px;
    height: 30px;
    color: #867666;
    }
    .arrow_about svg {
      width: 24px;
      height: 24px;
    }
    .team_thumbnails {
    position: absolute;
    left: 50%;
    bottom: 3vh;
    transform: translateX(-50%);
    }
    /* Einzelne Thumbs klickbar + Hover sichtbar */
    .team_thumbnails img {
      width: 35px;
      height: 35px;
      border-radius: 50%;
    }
  }


/* ########### 1024px Service ########### */
@media (max-width: 1024px) {
  .service_cards {
    gap: 1rem;
    padding: 1rem;
    height: 100%;
  }
  .service_card {
    padding: 1.5rem;
  }
}

/* ########### 768px Service ########### */
@media (max-width: 768px) {
  .service_card {
    margin-top: 0rem;
    padding: 0.5rem;
  }
    .img_container_card { height: 150px; margin: 0; padding: 0; }
    .flip-card-front { margin: 0; padding: 0.5rem; }
    .flip-card-front p { font-size: clamp(1rem, 1.5vw, 1.5rem); }
    .flip-card-back { margin: 0; padding: 0rem; }
    .flip-card-back p { font-size: clamp(1rem, 1.2vw, 1.4rem); }
    .flip-card-back h3 { margin: 0; }
}

/* ########### 500px Service ########### */
@media (max-width: 500px) {
  .service_cards {
    width: 100%;
    height: 100%;
    gap: 0;
    margin: 0;
  }
  .service_cards .flip-card {
    padding: 0.5rem;
    margin: 0;
    justify-self: center;
    width: 100%;
    height: 38svh;
  }
  .img_container_card { height: 150px; margin: 0; padding: 0; }
  .flip-card-front { margin: 0; padding: 0.5rem; }
  .flip-card-front p { font-size: clamp(0.8rem, 1vw, 1.2rem); }
  .flip-card-back { margin: 0; padding: 0rem; }
  .flip-card-back p { font-size: clamp(0.8rem, 1vw, 1rem); }
  .flip-card-back h3 { margin: 0; }
}
  /* Flip auf Hover nur bei großen Bildschirmen */
    @media (hover: hover) and (pointer: fine) {
      .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
      }
    }

/* ########### 1024px Costs ########### */

  @media (max-width: 1024px) {
    
      .costs_text{
        gap: 1rem;
      }

       .costs_card {
        font-size: clamp(0.8rem, 1.8vw ,2.5rem);
      }

      .costs_media{
        display: none;
      }  

    .grid_container_costs{
      grid-template-columns: 1fr;       /* Bild unter Text */
      gap: 1.25rem;
    }
}



 /* ########### 768px Costs ########### */

  @media (max-width: 768px) {
 
       .costs_card {
        font-size: clamp(0.8rem, 2vw ,3rem);
      }

    .grid_container_costs{
      grid-template-columns: 1fr;       /* Bild unter Text */
      gap: 1.25rem;
    }
}


 /* ########### 500px Costs ########### */

  @media (max-width: 500px) {
  
      .costs_header h2{
      font-size: clamp(1.3rem, 1vw ,2rem);
      margin-bottom: 0.5rem;
    }

      .costs_text{
        gap: 1rem;
      }

      .costs_card {
        font-size: clamp(0.65rem, 2.5vw ,3rem);
        line-height: 1.7;
      }


    .grid_container_costs{
      grid-template-columns: 1fr;       /* Bild unter Text */
      gap: 1.25rem;
    }
}




 












    
/* ########### 1024px Contact ########### */


@media (max-width: 768px) {
    .grid_container_contact {
          display: grid;
          grid-template-columns: 1fr;
          grid-template-rows: 1fr;
          grid-template-areas: 
          "contact_left"
          "contact_right";
          gap: 0;
          margin: 0;
          padding: 1rem;
        }

        .right_contact{
          display: block;
          position: relative;
          h{ height: auto; min-height: 0;
          padding: 2rem;
          margin: 0;
          max-width: 100vw;
        }

        .contact-form {
          padding: 0.4rem 0.5rem 0.25rem 0.5rem;
        }

        .contact-form {
          height: 100%;
        }
     
      .left_contact{
      display: none;
      }
    }
}


/* ########### 500px Contact ########### */
@media (max-width: 500px) {
  .grid_container_contact {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        grid-template-areas: 
        "contact_left"
        "contact_right";
        gap: 0;
        margin: 0;
        padding-top: 0rem;
        padding-bottom: 2rem;
      }

      .right_contact{
        display: flex;
        position: relative;
        height: auto;
        width: 100%;
        padding: 0 0.5rem 0 0.5rem;
        margin: 0;
      }

      .contact-form {
        padding: 0.4rem 0.5rem 0.25rem 0.5rem;
      }

      .contact-form {
        height: 100%;
      }
   } 


   /* ########### 1024px Route ########### */
   @media (max-width: 1024px) {
  
    .route_bottom h2 {
      font-size: clamp(1rem, 3vh, 3.5rem); /* vorher min 1.5rem */
      margin-bottom: 0.5rem;
    }
    .route_bottom h3 {
      font-size: clamp(1rem, 1.2vh, 1.2rem); /* vorher min 1.3rem */
      margin: 0.5rem 0 0.5rem 0;
    }

    .route_bottom p {
      font-size: clamp(1rem, 1vh, 1rem); /* vorher fix 1.05rem */
      line-height: 1.6;
      margin: 0;
    }

    .route_bottom ul {
      margin: 0;
      padding: 0;
    }

    .route_bottom ul li {
      font-size: clamp(0.9rem, 1.2vh, 1.2rem); /* vorher min 1.3rem */
      margin: 0;
      padding: 0;
    }
   }

     /* ########### 768px Route ########### */
   @media (max-width: 768px) {

    .route_bottom h2 {
      font-size: clamp(1rem, 3vh, 3rem); /* vorher min 1.5rem */
      margin-bottom: 0.5rem;
    }
    .route_bottom h3 {
      font-size: clamp(1rem, 1.4vh, 1.4rem); /* vorher min 1.3rem */
      margin: 0.5rem 0 0.5rem 0;
    }

    .route_bottom p {
      font-size: clamp(0.9rem, 1.1vh, 1rem); /* vorher fix 1.05rem */
      line-height: 1.8;
      margin: 0;
    }

    .route_bottom ul {
      margin: 0;
      padding: 0;
    }

    .route_bottom ul li {
      font-size: clamp(0.5rem, 1.2vh, 1.2rem); /* vorher min 1.3rem */
      margin: 0;
      padding: 0;
    }
   }


   /* ########### 500px Route ########### */
   @media (max-width: 500px) {
      
    .grid_container_route{
      margin-top: 90px;
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: 0.5fr 1fr;
    }

    .route_top iframe {
      padding: 0;
      margin: 0;
    }
    .route_bottom {
      padding: 0.6rem;
      width: 90%;
      height: 25rem;
      margin: 0 auto;
    }

    .route_bottom h2 {
      font-size: clamp(0.7rem, 2vh, 2rem); /* vorher min 1.5rem */
      margin-bottom: 0.5rem;
    }
    .route_bottom h3 {
      font-size: clamp(0.75rem, 1.2vh, 1.2rem); /* vorher min 1.3rem */
      margin: 0.5rem 0 0.5rem 0;
    }

    .route_bottom p {
      font-size: clamp(0.7rem, 1.2vh, 1rem); /* vorher fix 1.05rem */
      line-height: 2;
      margin: 0;
    }

    .route_bottom ul {
      margin: 0;
      padding: 0;
    }

    .route_bottom ul li {
      font-size: clamp(0.5rem, 1.2vh, 1.2rem); /* vorher min 1.3rem */
      margin: 0;
      padding: 0;
    }
   } 
   
   /* ########### 500px Impressum ########### */
   @media (max-width: 500px) {
   .impressum{
    padding-top: 2rem;
   }

   .route_footer {
    padding: 0.7rem;
   }

   .footer-left p  {
    font-size: clamp(0.6rem, 1vh, 1rem); /* vorher min 1.3rem */
    }

    .footer-center a {
          font-size: clamp(0.5rem, 1.2dvh, 1rem); /* vorher min 1.3rem */
    }

  }

/* -------------------------------------------------- */
/*                Animationen und Effekte             */
/* -------------------------------------------------- */



/* Globale Sicherheitsgurte für deine Layout-Container */
.grid_container_landing > *,
.grid_container_about  > *,
.flex_container_about  > *,
.grid_container_service > *,
.service_cards > *,
.grid_container_costs  > *,
.grid_container_contact > *,
.center_about > *,
.card_about > *,
.text_wrapper_about,
.text_container_about,
.landing_left,
.landing_right {
  min-width: 0;   /* <- entscheidend bei flex/grid */
  overflow-wrap: anywhere;  /* lange Wörter/URLs umbrechen */
}