/* Allgemeine Stile */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f4f4f4;
    height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

/* Container-Stil */
.container {
    width: 80%;
    margin: 0 auto;
}

/* Header- und Navigationsstile */
.header {
    background-color: #668db3;
    padding: 20px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Spezifische Stile für das Logo */
.logo img {
    width: 180px; /* Feste Breite für das Logo */
    height: auto; /* Höhe proportional zur Breite */
    object-fit: contain; /* Verhindert Zuschneiden des Logos */
    margin: 0; /* Kein zusätzlicher Abstand */
    padding: 0; /* Kein zusätzlicher Innenabstand */
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    font-size: 1.1em; /* Größere Schriftgröße für das gesamte Menü */
}

.navbar ul li {
    margin-right: 35px;
    position: relative; /* Positionierung für Dropdown */
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em; /* Größere Schriftgröße für die Menüpunkte */
    font-weight: bold; /* Fettere Schrift für bessere Sichtbarkeit */
    padding: 8px 12px; /* Mehr Padding für größere Klickfläche */
}

.navbar ul li a:hover {
    text-decoration: underline;
}

/* Überschriften */
h1 {
    font-size: 3em; /* Große Schriftgröße für h1 */
}

h2 {
    font-size: 2.5em; /* Mittelgroße Schriftgröße für h2 */
}

h3 {
    font-size: 2em; /* Etwas größere Schriftgröße für h3 */
}

/* Absätze */
p {
    font-size: 1.2em; /* Etwas größere Schriftgröße für Absätze */
    line-height: 1.8; /* Größere Zeilenhöhe für bessere Lesbarkeit */
}
/* Globale Stile für Überschriften */

h2, h3 {
    margin-top: 60px; /* Mehr Abstand nach oben */
    margin-bottom: 40px; /* Mehr Abstand nach unten */
}

/* Spezifische Anpassungen für die Überschriften in Sektionen */
.about h2, 
.highlights h2, 
.locations-overview h2, 
.contact-cta h2 {
    margin-top: 80px; /* Noch mehr Abstand über den Sektionstiteln */
    margin-bottom: 15px; /* Noch mehr Abstand unter den Sektionstiteln */
}

.locations-overview p,
.about p,
.highlights p,
.contact-cta p {
    margin-top: 5px; /* Weniger Abstand über dem Text */
}

/* Dropdown Menü */
.dropdown {
    position: relative;
}

.dropdown .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%; /* Zurück zur zentrierten Position */
    transform: translateX(-50%);
    background-color: #668db3; /* Dunkelblauer Hintergrund */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 10px; /* Abgerundete Ecken */
    padding: 15px 40px; /* Mehr Padding für zusätzlichen Platz */
    width: 450px; /* Vergrößerte Box */
    min-width: 450px; /* Mindestbreite der Box */
    text-align: center;
    z-index: 10;
}

.dropdown:hover .dropdown-content,
.dropdown .dropdown-content:hover {
    display: flex;
    justify-content: center; /* Inhalt zentrieren */
    gap: 25px; /* Abstand zwischen den Dropdown-Items */
}

.dropdown-content li {
    padding: 10px 0; /* Padding innerhalb der Listenelemente */
    margin: 0 15px; /* Zusätzliche Abstände links und rechts der Items */
}

.dropdown-content li a {
    color: #fff; /* Weißer Text */
    text-decoration: none;
    font-size: 1.2em; /* Gleiche Schriftgröße wie das Hauptmenü */
    font-weight: bold;
}

.dropdown-content li a:hover {
    color: #cddcfd; /* Helleres Blau beim Hover */
}

/* Dropdown-Box Positionierung */
.dropdown-content li:first-child {
    margin-left: 0; /* Kein zusätzlicher Abstand links für das erste Item */
}

.dropdown-content li:last-child {
    margin-right: 0; /* Kein zusätzlicher Abstand rechts für das letzte Item */
}

/* Hero-Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .hero-text {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Textschatten für bessere Lesbarkeit */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-background.jpg'); /* Standard-Hintergrundbild */
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Parallax-Effekt und sichtbare Elemente */
.hero-bg.visible {
    opacity: 1;
    transform: translateY(0px);
}

/* Einheitliche Bildgröße */
img, .location-img {
    width: 100%; /* Standardgröße für alle Bilder */
    height: 400px; /* Einheitliche Höhe für Standortbilder */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Highlights und Locations nebeneinander */
.highlights-grid, .locations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Abstand zwischen den Boxen */
    justify-content: space-around;
    align-items: flex-start;
}

.highlight, .location {
    flex: 1 1 45%;
    max-width: 45%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;
}

/* Buttons */
.btn, .btn-small {
    background-color: #668db3;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em; /* Größere Schriftgröße für Buttons */
    padding: 12px 25px; /* Etwas größeres Padding für bessere Darstellung */
}

.btn:hover, .btn-small:hover {
    background-color: #4d7598;
}

.btn-small {
    padding: 5px 15px;
}

/* Footer */
footer {
    background-color: #668db3;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

footer a {
    color: #fff;
    text-decoration: none;
}

/* Flex-Container für nebeneinander stehende Elemente */
.about-flex-container {
    display: flex;
    gap: 40px; /* Abstand zwischen den Boxen */
    flex-wrap: wrap;
}

.about-item {
    flex: 1 1 45%;
    max-width: 45%;
    padding: 10px; /* Weniger Padding innerhalb der Box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;
    margin-bottom: 30px; /* Abstand unter den Boxen */
}

.about-item h2 {
    margin-top: 10px; /* Weniger Abstand über der Überschrift */
    margin-bottom: 10px; /* Weniger Abstand unter der Überschrift */
}

.about-item p {
    margin-top: 10px; /* Weniger Abstand über dem Text */
}

/* Bildanpassungen für die Boxen */
.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 20px;
}

/* Weitere Layoutanpassungen */
.about-introduction, .about-values {
    margin-top: 60px;
    margin-bottom: 60px;
}

.about-introduction p, .about-history p, .about-innovation p, .about-values p {
    font-size: 1.2em;
    line-height: 1.8;
}

/* Flex-Container für die Team-Mitglieder */
.team-flex-container {
    display: flex;
    flex-wrap: wrap; /* Elemente umbrechen, falls der Platz nicht ausreicht */
    gap: 40px; /* Abstand zwischen den Elementen */
}

.team-member {
    flex: 1 1 30%;
    max-width: 30%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;
    margin-bottom: 30px;
}

.team-member img {
    width: 100%;
    height: 300px; /* Einheitliche Größe für Team-Bilder */
    object-fit: cover;
    border-radius: 10px;
}

.contact-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Kontaktformular */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    font-size: 1.1em; /* Einheitliche Schriftgröße für Formulare */
    margin-bottom: 20px; /* Abstand unter den Eingabefeldern */
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact-form button {
    background-color: #668db3;
    color: #fff;
    padding: 12px 25px;
    font-size: 1.1em;
    border-radius: 5px;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #4d7598;
}

/* Für sehr kleine Bildschirme */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .header .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .navbar ul {
        display: flex;
        width: 100%;
	display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    .navbar ul li {
        margin:  0;
    }

    .navbar ul li a {
        font-size: 0.7em;
        padding: 5px;
    }

    .hero {
        height: 300px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .highlights-grid, .locations-grid {
        flex-direction: column;
        align-items: center;
    }

    .highlight, .location {
        flex: 1 1 90%;
        max-width: 90%;
        padding: 15px;
    }

    .team-flex-container, .about-flex-container {
        flex-direction: column;
        gap: 20px;
    }

    .team-member, .about-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .about-item img, .team-image {
        height: 250px;
    }

    .btn, .btn-small {
        font-size: 1em;
        padding: 8px 16px;
    }

    .project-image, .location-img {
        height: 250px;
    }

    .contact-form input, .contact-form textarea {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }

    .navbar ul {
        text-align: center;
    }

    .navbar ul li {
        margin: 8px 0;
    }

    .highlight, .location {
        padding: 10px;
    }

    .team-member {
        padding: 10px;
        margin-bottom: 20px;
    }

    .contact-form input, .contact-form textarea {
        font-size: 0.9em;
    }

    .team-image {
        height: 250px;
    }
}
/* ================================================================= */
/* Modernes Grid-Layout für den Generator                           */
/* ================================================================= */
/* ================================================================= */
/* Moderner Generator-Style ohne Boxen                               */
/* ================================================================= */
.generate-section {
  padding: 2rem 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}
.generate-section:last-child {
  border-bottom: none;
}

/* Überschriften etwas größer und mit Abstand */
.generate-section h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Inputs und Textareas nur mit Underline */
.generate-section input[type="text"],
.generate-section textarea {
  width: 100%;
  padding: 0.5rem 0;
  margin-bottom: 1.5rem;
  border: none;
  border-bottom: 2px solid #cbd5e1;
  background: transparent;
  font-size: 1rem;
  transition: border-color .2s;
}
.generate-section input:focus,
.generate-section textarea:focus {
  outline: none;
  border-bottom-color: #3182ce;
}

/* Radio-Labels inline mit Platz */
.generate-section .toggle-group label {
  display: inline-flex;
  align-items: center;
  margin-right: 1.5rem;
  font-size: 1rem;
}
.generate-section .toggle-group input {
  margin-right: .5rem;
}

/* Buttons modern */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1.05rem;
  border-radius: .375rem;
  border: none;
  cursor: pointer;
  transition: background-color .2s, box-shadow .2s;
}
.btn-primary {
  background-color: #3182ce;
  color: #fff;
}
.btn-primary:hover {
  background-color: #2b6cb0;
}
.btn-outline {
  background: none;
  border: 2px solid #3182ce;
  color: #3182ce;
}
.btn-outline:hover {
  background-color: rgba(49, 130, 206, .1);
}

/* Abstand für Copy-Button */
.btn-copy {
  margin-left: .5rem;
  font-size: .9rem;
  vertical-align: middle;
}

/* Card-Wrapper */
.card {
  background: #fff;
  border-radius: .5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

/* Segmentierte Controls */
.segmented-control {
  display: inline-flex;
  border: 1px solid #ddd;
  border-radius: .375rem;
  overflow: hidden;
  background: #fff;
}
.segmented-control .segment {
  flex: 1;
}
.segmented-control .segment input {
  display: none;
}
.segmented-control .segment label {
  display: block;
  padding: .75rem 1rem;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
  background: #fff;
  color: #333;
}
.segmented-control .segment input:checked + label {
  background: #48bb78; /* grün für Komplexität */
  color: #fff;
}
.segmented-control.duration .segment input:checked + label {
  background: #e53e3e; /* rot für Dauer */
  color: #fff;
}
.segmented-control .segment input:not(:checked) + label:hover {
  background: #f7fafc;
}

/* Buttons */
.btn {
  border: none;
  border-radius: .375rem;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.btn-primary {
  background: #3182ce;
  color: #fff;
}
.btn-primary:hover {
  background: #2b6cb0;
}
.btn-outline {
  background: #fff;
  color: #3182ce;
  border: 2px solid #3182ce;
}
.btn-outline:hover {
  background: rgba(49,130,206,.1);
}
.fullwidth {
  width: 100%;
}

/* Copy-Button */
.btn-copy {
  display: inline-block;
  margin-top: .5rem;
  background: #3182ce;
  color: #fff;
  border-radius: .375rem;
  padding: .5rem 1rem;
  font-size: .9rem;
}
/* ========================================================================== */
/* Karte (Card)                                                               */
/* ========================================================================== */
.card {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ========================================================================== */
/* Nachricht & Link Input                                                     */
/* ========================================================================== */
.message-section {
  position: relative;
 
.message-section .btn-copy {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}
}
.message-section input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-size: 1rem;
}
.btn-copy {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #3182ce;
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
}

/* ========================================================================== */
/* Buttons                                                                    */
/* ========================================================================== */
.btn {
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary {
  background: #3182ce;
  color: #fff;
  padding: 0.75rem 1.5rem;
  width: auto;
}
.btn-primary:hover {
  background: #2b6cb0;
}
/* Full-width für Erstellen-Button */
.btn-outline.fullwidth {
  display: block;
  width: 100%;
  background: #fff;
  color: #3182ce;
  border: 2px solid #3182ce;
  padding: 0.75rem;
}
.btn-outline.fullwidth:hover {
  background: rgba(49,130,206,0.1);
}

/* ========================================================================== */
/* Utility Klassen                                                            */
/* ========================================================================== */
.text-center    { text-align: center; }
.mt-8           { margin-top: 2rem; }
.mb-6           { margin-bottom: 1.5rem; }
.note           { color: #718096; font-size: 0.9rem; }
/* ========================================================================== */
/* Fortschrittsanzeige                                                        */
/* ========================================================================== */
.upload-progress {
  position: relative;
  width: 100%;
  height: 1rem;
  background: #e2e8f0;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.upload-progress .bar {
  height: 100%;
  width: 0;
  background: #48bb78;
  transition: width .2s;
}
.upload-progress .percent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  line-height: 1rem;
  color: #1a202c;
}

/* ========================================================================== */
/* Hinweis-Text                                                               */
/* ========================================================================== */
.note-strong {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #4a5568;
}

/* Alle Copy-Buttons sollen zunächst normal fließen */
.btn-copy {
  position: static;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  /* evtl. bg/colour beibehalten, hier nur das Positioning ändern */
}

/* Relative Wrapper für Textarea-/Link-Boxen */
.message-section,
.card {
  position: relative;
}

/* Copy-Button **innerhalb** dieser Wrapper absolut oben rechts */
.message-section .btn-copy,
.card .btn-copy {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}
