:root {
    --beige-light: #f6f1e7;
    --beige: #e9dfd2;
    --beige-dark: #d8c9b8;
    --text: #502f13;
    --shadow: rgba(0,0,0,0.08);
    --radius: 16px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "The Seasons";
    background: var(--beige-light);
    color: var(--text);
    line-height: 1.55;
    font-size: 1.05rem;
    background: url("Bilder/hintergrund2.jpg") no-repeat center center fixed;
    background-size: cover;
    position: relative;

       
    }
    
   
   
  

/* HEADER */
header {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

}


nav a {
    margin-right: 0.8rem;
    text-decoration: none;
    color: var(--text);
}

/* SECTIONS */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 5%;
}

#ueber-uns .row {
    display: flex;
    gap: 100px; /* Abstand zwischen Text und Bildern */
}

h2 {
    font-family: "TheSeasons";
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-family: "TheSeasons";
    font-size: 1.25rem;
    margin: 0 0 0.6rem 0;
}

/* GRID */
.items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    width: 99% !important;   /* Scroll-Fix */
    margin: 0 auto;
}

.full {
    grid-column: 1 / -1;
}

/* TEXTBOX */
.textbox {
    background: #ffffffd9;
    padding: 1.1rem;
    border-radius: var(--radius);
    border: 1px solid var(--beige);
    box-shadow: 0 4px 14px var(--shadow);
    font-size: 1rem;
    line-height: 1.45;
    width: 98%;              /* Scroll-Fix */
    margin: 0 auto;
}

/* BUTTONS */
input[type="submit"] {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    border: none;
    background: var(--beige-dark);
    cursor: pointer;
    margin-top: 0.6rem;
    max-width: 100%;         /* Scroll-Fix */
}
/* Textbox ohne Hintergrund (für Über uns & Fähigkeiten) */
.textbox.transparent {
    background: none;
    border: none;
    box-shadow: none;
padding-inline-end: 2.5rem;
   
    max-width: 100%;
}

/* IMAGES */
.imgwrap {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 2/ 3;
    width: 80%;              /* Scroll-Fix */
    margin: 0 auto;
    height: auto;
    max-height: 700px;
    object-fit: cover;
}

.imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 6px 18px var(--shadow);
}

/* FOOTER */
footer {
  
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

#feedback .items {
    grid-template-columns: 1fr 1fr;
}

#feedback .textbox {
    width: 95%;
}

.row {
    display: flex;
    width: 100%;
    align-items: stretch; /* beide Spalten exakt gleich hoch */
    gap: 0; /* kein unnötiger Abstand */
  }
  
  /* Linke Spalte */
  .text {
    flex: 1;
    margin: 0;
    padding: 0;
    overflow: hidden; /* verhindert Überlauf */
  }
  
  /* Rechte Spalte mit mehreren Bildern */
  .bilder {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    height: 600px; /* feste Höhe – verhindert Springen */
    padding-bottom: 1rem;
}

  
  /* Bilder teilen sich die Höhe gleichmäßig */
  .bilder img {
    flex: 1 0 auto;   /* verhindert dynamisches Strecken */
    width: 100%;
    height: auto;     /* Bildhöhe bleibt stabil */
    max-height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}


 


  /* ✧ ACCORDION – Überschrift NICHT weiß, NICHT blockig */
details {
    margin: 1.2rem 0;
    border-radius: var(--radius);
    background: transparent;
    border: none;
    box-shadow: none;
    padding-bottom: 0.4rem;
}

/* Header – transparent, nur Text + Linie */
details summary {
    cursor: pointer;
    padding: 0.4rem 0;
    background: transparent;
    font-family: "TheSeasons";
    font-size: 1.2rem;
    font-weight: 500;
    list-style: none;
    position: relative;
    user-select: none;
    border-bottom: 1px solid var(--beige-dark);
}

/* Hover – nur Textfarbe leicht dunkler */
details summary:hover {
    color: #1f1a17;
}

/* Default arrow entfernen */
details summary::-webkit-details-marker {
    display: none;
}

/* Pfeile für ALLE Details-Ebenen aktivieren */
details summary::after,
details details summary::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
    opacity: 0.7;
}

/* Pfeil dreht sich für alle offenen Details */
details[open] > summary::after,
details details[open] > summary::after {
    transform: translateY(-50%) rotate(225deg);
}


.row.reverse {
    flex-direction: row-reverse;
}




.sprache button {
    background-color: #ffffff;   /* deine Wunschfarbe */
    color:  #502f13;             /* Textfarbe */
    border: 1px solid #ccc;      /* optional */
    padding: 6px 25px;
    border-radius: 20px;          /* abgerundete Ecken */
    cursor: pointer;


}

.sprache button:hover {
    background-color: #e6e6e6;   /* Hover-Farbe */
}

/* Google Banner entfernen */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important;
}

#google_translate_element {
    visibility: hidden;
    height: 0;
}

.goog-te-gadget {
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 40px 0 20px 0;
  }
  
  .social-links .icon {
    width: 48px;
    height: 48px;
    color: #5a3a24; /* deine Braunfarbe */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  .social-links .icon svg {
    width: 100%;
    height: 100%;
  }
  
  .social-links .icon:hover {
    transform: scale(1.08);
    opacity: 0.85;
  }
  




/* --- MOBILE (max 768px) --- */
@media (max-width: 768px) {

    body {
        background-attachment: scroll; /* Fix für Handy-Ruckeln */
        font-size: 1rem;
        text-align: center;
    }
    
    section {
        padding: 30px 0.5rem;
    }

    /* GRID auf 1 Spalte */
    .items {
        grid-template-columns: 1fr;
        width: 100%;
    }

    /* ÜBER UNS – Reihen untereinander statt nebeneinander */
    #ueber-uns .row {
        flex-direction: column;
        gap: 0rem;
    }

    /* Textbox */
    .textbox {
        width: 100%;
        font-size: 1rem;
      
    }

    /* Bilder-Spalte */
    .bilder {
        align-items: center;
        aspect-ratio: auto;
        max-height: none;
    }

    .bilder img {
        height: 300px;
        width: 80%;
        aspect-ratio: auto;
        max-height: none;
        
    }

    /* Einzelnes Bild */
    .imgwrap {
        width: 80%;
        height: 300px;
        aspect-ratio: auto;
        max-height: none;
    }

    /* Header Navigation */
    nav a {
        margin-right: 0.4rem;
        font-size: 0.95rem;
    }

    /* Accordion */
    details summary {
        font-size: 1.1rem;
    }

    header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
      
    
    }

    /* SPRACHE nach oben */
    .sprache {
        order: -1;
    }

    /* NAVIGATION bleibt darunter */
    nav {
        order: 1;
    }

    nav a {
        font-size: 1rem;
        margin-right: 0.5rem;
    }

    h2 {
        font-family: "TheSeasons";
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    
    h3 {
        font-family: "TheSeasons";
        font-size: 1.2rem;
        margin: 0 0 0.6rem 0;
    }
}

