/* ==========================================================================
   CSS-Variablen
   ========================================================================== */
:root {
    --main-color: #2c3e50;
    --accent-color: #3498db;
    --bg-color: #f9f9f9;
    --text-color: #2d2d2d;
    --header-bg: #ffffff;
    --footer-bg: #f1f1f1;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    --border-radius: 10px;
    --transition: 0.2s ease;
}
/* ==========================================================================
   Stile für profil_bearbeiten.php
   ========================================================================== */

/* Globale Dashboard-Stile (falls nicht schon in deiner Haupt-CSS) */
.dashboard {
    max-width: 1100px; /* Oder dein Standard-Wert */
    margin: 2em auto;
    padding: 1.5em; /* Konsistentes Padding */
}
.dashboard h2 {
    font-size: 1.8em; /* Konsistente Überschriftengröße */
    margin-bottom: 1em;
    color: var(--main-color, #2c3e50);
    border-bottom: 2px solid var(--accent-color, #3498db);
    padding-bottom: 0.5em;
}
.dashboard h2 i {
    margin-right: 0.5em;
}
.dashboard p {
    margin-bottom: 1.5em;
    line-height: 1.6;
    color: var(--text-color, #333);
}

/* Spezifisches Formular-Styling für Profil bearbeiten */
.profile-edit-form {
    max-width: 750px; /* Etwas breiter für mehr Felder */
    margin: 1.5em auto; /* Zentriert */
    background: var(--header-bg, #fff); /* Nutzt Variable, sonst Fallback */
    padding: 2em 2.5em; /* Mehr Padding */
    border-radius: var(--border-radius, 10px);
    box-shadow: var(--box-shadow, 0 4px 10px rgba(0,0,0,0.06));
    border: 1px solid #e0e0e0; /* Leichter Border */
}

.form-group {
    margin-bottom: 1.5em; /* Konsistenter Abstand */
}

.form-group label {
    display: block;
    margin-bottom: 0.5em; /* Abstand zum Input */
    font-weight: bold;
    color: var(--main-color, #2c3e50);
    font-size: 0.95em;
}

/* .form-control ist vermutlich schon global definiert, hier ggf. Anpassungen */
.form-control {
    width: 100%;
    padding: 0.8em 1em; /* Einheitliches Padding */
    border: 1px solid #ccc;
    border-radius: 6px; /* Einheitlicher Radius */
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color var(--transition, 0.2s ease), box-shadow var(--transition, 0.2s ease);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-color, #3498db);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25); /* Fokus-Indikator */
}
select.form-control {
    background-color: white; /* Stellt sicher, dass Selects auf allen Browsern ähnlich aussehen */
    height: calc(1.6em + 1.6em + 2px); /* Höhe an Inputs anpassen (font-size * line-height + padding * 2 + border * 2) */
    appearance: none; /* Standard-Pfeil entfernen für Custom Pfeil (optional) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 0.8em;
    padding-right: 2.5em; /* Platz für den Pfeil */
}
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Aktuelle Skills Anzeige */
.current-skills-display {
    margin-bottom: 1em; /* Mehr Abstand zum nächsten Feld */
}
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6em;
    padding-top: 0.3em;
}
.skill-tag {
    background: #e0e9f3; /* Heller Blauton */
    color: var(--main-color, #2c3e50);
    padding: 0.4em 0.8em;
    border-radius: 15px; /* Runde Ecken */
    font-size: 0.85em;
    font-weight: 500;
}

/* Skill Vorschlags-Box */
.skill-suggestion-box {
    border: 1px solid #ddd;
    max-height: 150px;
    overflow-y: auto;
    margin-top: 5px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: none; /* Wird per JS eingeblendet */
    z-index: 10; /* Über anderen Elementen */
    position: relative; /* Für z-index */
}
.suggestion-item { /* Klasse wird per JS hinzugefügt */
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9em;
}
.suggestion-item:hover {
    background-color: #f0f5fa; /* Heller Hover-Effekt */
}

/* Spezielle Gruppen hervorheben */
.password-change-group {
    padding: 1.2em;
    border: 1px dashed #ccc;
    border-radius: var(--border-radius, 10px);
    background-color: #fdfdfd;
    margin-top: 1.5em;
}
.password-change-group small,
.visibility-group small {
    display: block;
    margin-top: 0.4em;
    font-size: 0.85em;
    color: #666;
}

.visibility-group label.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px; /* Mehr Abstand zwischen Checkbox und Text */
    font-weight: normal; /* Normale Schriftstärke für Checkbox-Label */
    cursor: pointer;
}
.visibility-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.2em; /* Kleinere Anpassung des Abstands */
    accent-color: var(--accent-color, #3498db); /* Färbt die Checkbox */
    cursor: pointer;
}

/* Formular Aktionen / Button */
.form-actions {
    margin-top: 2em;
    text-align: right; /* Button rechtsbündig */
    border-top: 1px solid #eee;
    padding-top: 1.5em;
}
.form-actions .cta-button {
    padding: 0.8em 1.8em; /* Größerer Button */
    font-size: 1.05em;
    /* Nutzt .cta-button Stile aus deiner Haupt-CSS, ggf. hier überschreiben */
}

/* Feedback Nachrichten (falls nicht schon global gestyled) */
.feedback-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin: 1em 0 1.5em 0;
    text-align: center;
    font-weight: 500;
    border: 1px solid transparent;
}
.feedback-message.success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.feedback-message.error { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }

/* ==========================================================================
   Dark Mode für Profil bearbeiten
   ========================================================================== */
.dark-mode .profile-edit-form {
    background: #383838; /* Dunklerer Hintergrund für das Formular */
    border-color: #555;
}
.dark-mode .form-group label {
    color: #ccc;
}
.dark-mode .form-control {
    background-color: #444;
    color: #f0f0f0;
    border-color: #666;
}
.dark-mode .form-control::placeholder {
    color: #999;
}
.dark-mode select.form-control {
    background-color: #444; /* Wichtig für Select im Dark Mode */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ccc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
}
.dark-mode .skill-tag {
    background: #4a5a6a;
    color: #c0d0e0;
}
.dark-mode .skill-suggestion-box {
    background-color: #404040;
    border-color: #555;
}
.dark-mode .suggestion-item {
    color: #ddd;
}
.dark-mode .suggestion-item:hover {
    background-color: #4f4f4f;
}
.dark-mode .password-change-group {
    background-color: #303030;
    border-color: #555;
}
.dark-mode .password-change-group small,
.dark-mode .visibility-group small {
    color: #aaa;
}
.dark-mode .feedback-message.success { color: #d4edda; background-color: #1c4a23; border-color: #2f6e36; }
.dark-mode .feedback-message.error { color: #f8d7da; background-color: #5b141a; border-color: #8a2f37; }
/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header {
    background-color: var(--header-bg);
    box-shadow: var(--box-shadow);
    position: sticky; top: 0; left: 0;
    width: 100%; z-index: 999;
}

.navbar {
    max-width: 1200px; margin: 0 auto;
    padding: 0.5em 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    position: relative;
}

.navbar .logo {
    font-size: 1.8em; font-weight: bold;
    color: var(--main-color); text-decoration: none;
    padding: 0.5em 0; white-space: nowrap;
    flex-shrink: 0;
}

.navbar .logo img {
    height: 40px;
    display: block;
    margin-top: 4px;
}

.navbar .burger {
    display: none;
    background: none; border: none; font-size: 1.8em;
    color: var(--main-color); cursor: pointer; padding: 0.5em;
    z-index: 1001;
    margin-left: auto;
}

.navbar ul#nav-links {
    list-style: none; margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.navbar ul#nav-links li {
    position: relative;
}

.navbar ul#nav-links li a {
    text-decoration: none; color: var(--main-color); font-weight: 500;
    padding: 0.8em 1em; border-radius: 6px;
    transition: background var(--transition), color var(--transition);
    display: flex; align-items: center; gap: 0.5em;
    white-space: nowrap;
}

.navbar ul#nav-links li a .fa-caret-down {
    transition: transform 0.3s ease;
}

.navbar ul#nav-links li a:hover,
.navbar ul#nav-links li a:focus {
    background-color: var(--accent-color); color: white;
}

.navbar ul#nav-links .dropdown-content {
    display: none;
    position: absolute; top: 100%; left: 0;
    background: var(--header-bg); border: 1px solid #e0e0e0;
    padding: 0.5em 0; z-index: 1000; min-width: 220px;
    box-shadow: var(--box-shadow);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    list-style: none; margin: 0;
}

.navbar ul#nav-links li.dropdown-active > .dropdown-content {
    display: block;
}

.navbar ul#nav-links li.dropdown-active > a > .fa-caret-down {
    transform: rotate(180deg);
}

.navbar ul#nav-links .dropdown-content li { width: 100%; }
.navbar ul#nav-links .dropdown-content li a {
    padding: 0.7em 1.2em; color: var(--main-color); font-weight: normal;
    width: 100%; box-sizing: border-box; white-space: nowrap;
}
.navbar ul#nav-links .dropdown-content li a:hover,
.navbar ul#nav-links .dropdown-content li a:focus {
    background-color: #f0f0f0; color: var(--main-color);
}

/* Badge Stile (Hier definieren, wenn benötigt) */
.badge, .badge-sm { /* Fügen Sie hier Ihre Badge-Stile ein */ }

/* ==========================================================================
   Responsive Anpassungen - KONSOLIDIERT
   ========================================================================== */
@media (max-width: 768px) { /* Nur EIN Breakpoint für das Burger-Menü */
    .navbar .burger { display: block; }
    .navbar .logo img {
        height: 32px; /* kleineres Logo auf Mobilgeräten */
    }
    .navbar ul#nav-links {
        display: none; /* Standardmäßig ausblenden */
        flex-direction: column; align-items: stretch;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--header-bg); border-top: 1px solid #e0e0e0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 0; gap: 0; z-index: 1000;
        margin-left: 0;
    }
    .navbar ul#nav-links.active { display: flex; } /* Menü anzeigen */

    .navbar ul#nav-links li { width: 100%; border-bottom: 1px solid #f0f0f0; }
    .navbar ul#nav-links li:last-child { border-bottom: none; }
    .navbar ul#nav-links li a {
        padding: 1em 1.5em; width: 100%; box-sizing: border-box;
        text-align: left; font-weight: 600;
        justify-content: space-between; /* Pfeil rechts */
    }

    /* Mobile Dropdown-Anpassungen */
    .navbar ul#nav-links li .dropdown-content {
        position: static; /* Im Fluss bleiben */
        display: none; /* IMMER standardmäßig ausblenden */
        box-shadow: none; background: #f8f8f8; border: none;
        min-width: auto; padding: 0; border-top: 1px dashed #e7e7e7;
        border-radius: 0;
    }

    .navbar ul#nav-links li.dropdown-active > .dropdown-content {
        display: block;
    }

    .navbar ul#nav-links li .dropdown-content li a {
        padding: 0.8em 1.5em 0.8em 2.5em; font-weight: normal;
        justify-content: flex-start; /* Links ausrichten */
    }
} /* Ende @media */

/* Stellt sicher, dass der Hauptinhalt nicht über das Menü rutscht */
main {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Seiteninhalt (Hero, Features, etc.)
   ========================================================================== */

/* HERO SECTION */
.hero {
    background: url('../images/header-neu.png') center/cover no-repeat;
    min-height: 60vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    background: rgba(255, 255, 255, 0.85);
    padding: 1rem 2rem;
    border-radius: 12px;
    display: inline-block;
    font-size: 2.5em;
    color: black;
    margin-bottom: 0.5em;
}

/* FEATURE GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.feature-box {
    background: white;
    padding: 1.5em;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.feature-box i {
    font-size: 2.5em;
    color: var(--accent-color);
    margin-bottom: 0.75em;
}

.feature-box h3 {
    font-size: 1.3em;
    margin: 0.5em 0;
}

/* CTA SECTION */
.cta-section {
    text-align: center;
    margin: 4em 0;
}

.cta-box {
    background: var(--main-color);
    color: white;
    padding: 3em;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    max-width: 700px;
    margin: 0 auto; /* Zentrierung */
}

.cta-box h2 {
    font-size: 2em;
    margin-bottom: 1em;
}

.cta-box p {
    margin-bottom: 2em;
    font-size: 1.1em;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em;
}

.cta-buttons a {
    background: var(--accent-color);
    padding: 0.8em 1.5em;
    text-decoration: none;
    color: white;
    border-radius: var(--border-radius);
    font-weight: bold;
    display: inline-block;
    transition: background var(--transition);
}

.cta-buttons a:hover {
    background: #2980b9;
}

/* TESTIMONIALS */
.testimonials {
    margin-top: 3em;
    text-align: center;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    margin-top: 2em;
}

.testimonial-box {
    background: #f9f9f9;
    padding: 2em;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
}

.testimonial-box p {
    font-size: 1.1em;
    margin-bottom: 1em;
}

.testimonial-box footer {
    font-style: italic;
    color: #555;
}

/* ==========================================================================
   Stile für qr_verwalten.php
   ========================================================================== */
body { /* Ggf. diese globalen Stile an den Anfang verschieben */
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.qr-management-section {
    padding: 2em 1em;
}

.qr-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.qr-management-section h2 {
    text-align: center;
    margin-bottom: 1.5em;
    color: #2c3e50;
    font-size: 1.8em;
}

.qr-management-section h2 i {
    margin-right: 0.3em;
    color: #1abc9c;
}

.feedback-box {
    padding: 1em 1.5em;
    margin-bottom: 1.5em;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.feedback-box.warn {
    background-color: #ffe5e5;
    color: #c0392b;
    border: 1px solid #c0392b;
}

.feedback-box.success {
    background-color: #e0ffe0;
    color: #27ae60;
    border: 1px solid #27ae60;
}

.qr-form .form-section {
    margin-bottom: 2.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #eee;
}
.qr-form .form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.qr-form h3 {
    margin-bottom: 1em;
    color: #34495e;
    border-bottom: 2px solid #1abc9c;
    padding-bottom: 0.3em;
    display: inline-block;
}

.qr-options-group {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.qr-options-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    cursor: pointer;
    padding: 0.5em;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.qr-options-group label:hover {
    background-color: #f0f0f0;
}

.qr-options-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.qr-preview-area {
    text-align: center;
}

.qr-image-wrapper {
    min-height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
    background: #f0f2f5;
    border-radius: 8px;
    padding: 15px;
    border: 1px dashed #ccc;
}

#qrPreview {
    max-width: 250px;
    max-height: 250px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: none;
}

#qrLoader {
    color: #555;
    font-style: italic;
}

#qrDownloadContainer {
    margin: 15px 0;
}

.form-group {
    margin-bottom: 1.2em;
}

.form-group label {
    display: block;
    margin-bottom: 0.4em;
    font-weight: bold;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #1abc9c;
    box-shadow: 0 0 5px rgba(26, 188, 156, 0.5);
}

.shipping-address fieldset {
    padding: 1.5em 2em;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fdfdfd;
}

.shipping-address legend {
    font-weight: bold;
    padding: 0 0.8em;
    font-size: 1.2em;
    color: #34495e;
}

.form-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.form-row .form-group {
    flex-grow: 1;
}

.form-row .zip-code {
    flex-grow: 0;
    flex-basis: 120px;
}

.order-summary {
    text-align: center;
    padding-top: 1.5em;
}

.order-summary p {
    margin-bottom: 0.8em;
    font-size: 1.1em;
}

.order-summary strong {
    font-size: 1.2em;
    color: #2c3e50;
}

.order-summary .price {
    font-size: 1.3em;
    font-weight: bold;
    color: #1abc9c;
}

.order-summary .self-cost {
    font-size: 0.85em;
    color: #777;
    display: block;
    margin-bottom: 1.5em;
}

.cta-button { /* Allgemeiner CTA Button, wird von spezifischeren überschrieben */
    display: inline-block;
    padding: 12px 25px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-button:hover:not(:disabled) {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.cta-button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    opacity: 0.7;
}

.cta-button i {
    margin-right: 8px;
}

.download-button {
    display: inline-block;
    padding: 8px 15px;
    background: #7f8c8d;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.2s ease;
}

.download-button:hover {
    background: #95a5a6;
    color: #fff;
}

/* REGISTER CTA */
.cta-register {
    background: var(--main-color);
    color: white;
    text-align: center;
    padding: 3em 1em;
    margin-top: 3em;
    border-radius: var(--border-radius);
}

.cta-register h3 {
    font-size: 2em;
    margin-bottom: 1em;
}

.cta-register p {
    font-size: 1.2em;
    margin-bottom: 2em;
}

.cta-register .cta-button { /* Spezifischer */
    background: var(--accent-color);
    padding: 0.75em 1.5em;
    /* Andere Stile werden von .cta-button geerbt */
}

.cta-register .cta-button:hover {
    background: #2980b9;
}

/* FOOTER */
footer {
    background: var(--footer-bg);
    color: var(--main-color);
    text-align: center;
    padding: 2em 1em;
    font-size: 0.9em;
    margin-top: 3em;
}

footer a {
    color: var(--main-color);
    text-decoration: underline;
    margin: 0 0.5em;
}

footer a:hover {
    text-decoration: none;
}

/* DASHBOARD */
section.dashboard {
    max-width: 1100px;
    margin: 2rem auto 3rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

section.dashboard h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--main-color);
    border-left: 6px solid var(--accent-color);
    padding: 0.6em 0.8em;
    background: #f1f1f1;
    border-radius: 6px;
}

section.dashboard p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dashboard-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    text-decoration: none;
    color: var(--text-color);
    transition: all var(--transition);
}

.dashboard-tile:hover {
    background-color: #e9e9e9;
    box-shadow: var(--box-shadow);
    transform: translateY(-4px);
}

.dashboard-tile i {
    font-size: 2.2em;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
}

.dashboard-tile span {
    font-size: 1rem;
    font-weight: 500;
}

/* ANGEBOTE */
.angebot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.angebot-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
	align-items: center;
}

.angebot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}


.angebot-card-img {
  max-width: 250px;
  height: auto;        /* statt Prozent eher auto, um das Seitenverhältnis zu wahren */
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.75em; /* etwas Abstand nach unten */
}

.angebot-card-body {
    padding: 1.2em;
    background: #fafafa;
    border-top: 1px solid #eee;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.angebot-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 0.5em;
}

.angebot-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    flex-grow: 1;
    min-height: 4.5em;
    margin-bottom: 1em;
}

.angebot-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1em;
    border-top: 1px solid #f0f0f0;
}

.angebot-actions {
    display: flex;
    gap: 0.75em;
}

.angebot-actions button,
.angebot-actions a {
    background: var(--accent-color);
    border: none;
    padding: 0.5em 1em;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    font-size: 0.9em;
    transition: background var(--transition);
    text-decoration: none;
    font-weight: 500;
}

.angebot-actions button:hover,
.angebot-actions a:hover {
    background: #2980b9;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5em;
}
.status-online { background-color: #4CAF50; }
.status-offline { background-color: #f44336; }

.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em;
}

.dropdown-content.show {
    display: block !important;
}

.qr-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

#qrPreview {
    max-width: 250px;
    margin-bottom: 1em;
    background: white;
    padding: 1em;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

#qrDownloadContainer {
    margin-top: 10px;
    margin-bottom: 20px;
    width: auto;
}

#qrDownloadContainer .cta-button {
    display: inline-block;
}

.order-button-container {
    text-align: center;
    margin-top: 1em;
}

.order-button-container p {
    margin-bottom: 0.5em;
}

.admin-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5em;
    font-size: 0.9em;
}

.admin-orders-table th,
.admin-orders-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.admin-orders-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    white-space: nowrap;
}

.admin-orders-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.admin-orders-table tr:hover {
    background-color: #f1f1f1;
}

.admin-orders-table td a {
    color: var(--accent-color);
    text-decoration: none;
}
.admin-orders-table td a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .admin-orders-table {
        /* Hier könnte man die Tabelle scrollbar machen oder Spalten ausblenden */
    }
    .admin-orders-table th,
    .admin-orders-table td {
        font-size: 0.85em;
        padding: 6px 8px;
    }
}
/* Ergänzungen für feedback.php (falls nicht schon vorhanden) */

.feedback-form {
    max-width: 800px;
    margin: 2em auto;
    padding: 2em;
    background: #fff;
    border-radius: var(--border-radius, 10px);
    box-shadow: var(--box-shadow, 0 2px 4px rgba(0,0,0,0.1));
}

.form-group {
    margin-bottom: 1.5em;
}

.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

select.form-control {
    /* Ggf. spezifische Stile für Select, falls es nicht gut aussieht */
    height: 40px; /* An Input anpassen */
}

textarea.form-control {
    resize: vertical; /* Erlaubt nur vertikales Ändern der Größe */
}

/* Feedback Nachrichten (falls noch nicht global definiert) */
.feedback-message {
    padding: 15px;
    border-radius: 5px;
    margin: 1.5em 0;
    text-align: center;
    font-weight: 500;
    border: 1px solid transparent;
}
.feedback-message.success { background-color: #e8f5e9; border-color: #a5d6a7; color: #2e7d32; }
.feedback-message.error   { background-color: #ffebee; border-color: #ef9a9a; color: #c62828; }

/* Dark Mode Anpassungen für das Formular */
.dark-mode .feedback-form { background-color: #3c3c3c; }
.dark-mode .form-control { background-color: #555; color: #f9f9f9; border-color: #777; }
.dark-mode .form-group label { color: #ccc; }

/* Globale Formular Stile (ggf. schon in deiner Haupt-CSS) */
.form-control { width: 100%; padding: 0.6em 0.8em; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; font-size: 1em; margin-top: 0.2em; }
select.form-control { background-color: white; height: calc(1.6em + 1.2em + 4px); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8em center; background-size: 0.7em; padding-right: 2em; }
.form-group { margin-bottom: 1.2em; }
.form-group label { display: block; margin-bottom: 0.3em; font-weight: bold; }
.form-row { display: flex; gap: 1em; }
.form-row .form-group { flex: 1; }
.form-section { padding-bottom: 1.5em; margin-bottom: 1.5em; border-bottom: 1px solid #eee; }
.form-section:last-child { border-bottom: none; margin-bottom: 0;}
.form-section h3 { margin-top: 0; margin-bottom: 1em; font-size: 1.3em; color: var(--main-color); }
.form-section fieldset { border: 1px solid #ddd; border-radius:var(--border-radius, 8px); padding: 1em 1.5em; }
.form-section fieldset legend { font-weight: bold; padding: 0 0.5em; }

/* QR-Management spezifisch */
.qr-management-section { max-width: 800px; margin: 2em auto; }
.qr-form-container { background: #fff; padding: 2em; border-radius: var(--border-radius); box-shadow: var(--box-shadow); }
.qr-form-container h2 { text-align: center; margin-top: 0; margin-bottom: 1.5em; font-size: 1.6em; }
.qr-options-group label { display: flex; align-items: center; gap: 8px; margin-bottom: 0.5em; cursor:pointer; }
.qr-options-group input[type="checkbox"] { width: 18px; height: 18px; }
.qr-image-wrapper { min-height: 200px; display: flex; justify-content: center; align-items: center; background: #f0f2f5; border-radius: 8px; padding: 15px; border: 1px dashed #ccc; margin-bottom:1em; }
#qrPreview { max-width: 180px; max-height: 180px; background: #fff; padding: 10px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.download-button { display: inline-block; padding: 0.5em 1em; background: #6c757d; color: white; text-decoration: none; border-radius: 4px; font-size: 0.9em; }
.download-button:hover { background: #5a6268; }

/* Produktoptionen */
.product-options { margin-top: 1.2em; padding: 1.2em; border: 1px dashed #d0d0d0; border-radius: var(--border-radius, 8px); background-color: #fdfdfd;}
.product-options h4 { margin-top: 0; margin-bottom: 1em; font-size: 1.1em; color: var(--main-color); }
.example-image-label { font-size: 0.9em; color: #555; display: block; margin-bottom: 0.5em; }
.example-images { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 0.5em; }
.example-product-image { width: 120px; height: auto; border: 1px solid #ddd; border-radius: 4px; object-fit: cover; }

/* Bestellübersicht und Zahlung */
.order-summary { text-align: center; }
.item-summary-box {
    background-color: #f8f9fa;
    padding: 1em;
    border-radius: 6px;
    margin-bottom: 1em;
    border: 1px solid #e9ecef;
    text-align: left;
}
.item-summary-box p { margin: 0.3em 0; font-size: 1.1em;}
.item-summary-box strong { color: var(--accent-color, #3498db); }
.item-options-display { font-size: 0.9em; color: #555; margin-top: 0.3em; }

.order-summary .price { font-size: 1.4em; font-weight: bold; color: var(--main-color); margin-top: 0.5em; }
.order-summary .self-cost { font-size: 0.85em; color: #666; display: block; margin-bottom: 1.5em; }
.payment-method-group { margin-top: 1.5em; margin-bottom: 1.5em; text-align: left;}
.cta-button { /* Globale .cta-button Stile sollten hier greifen */ }

/* Feedback Boxen */
.feedback-box { padding: 1em; margin-bottom: 1.5em; border-radius: 5px; text-align: center; font-weight: 500; }
.feedback-box.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb;}
.feedback-box.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb;}
.feedback-box.warn { background-color: #fff3cd; color: #856404; border: 1px solid #ffeeba; } /* 'warn' für JS-generierte Nachrichten */

/* Dark Mode Anpassungen (Beispiele) */
.dark-mode .qr-form-container { background: #2d2d2d; }
.dark-mode .form-control { background-color: #444; color: #f0f0f0; border-color: #666; }
.dark-mode select.form-control { background-color: #444; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ccc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");}
.dark-mode .product-options { background-color: #3a3a3a; border-color: #555;}
.dark-mode .product-options h4 { color: #e0e0e0; }
.dark-mode .example-images img { border-color: #555; }
.dark-mode .item-summary-box { background-color: #3a3a3a; border-color: #555; }
.dark-mode .item-summary-box p { color: #ccc; }
.dark-mode .item-summary-box strong { color: var(--accent-color-light, #64b5f6); }
.dark-mode .item-options-display { color: #aaa; }
.dark-mode .order-summary .price { color: #e0e0e0; }
.dark-mode .order-summary .self-cost { color: #bbb; }
.dark-mode .feedback-box.error { background-color: #5b141a; color: #f8d7da; border-color: #8a2f37;}
.dark-mode .feedback-box.warn { background-color: #594a17; color: #fff3cd; border-color: #7c671e;}
.dark-mode .qr-image-wrapper { background: #3a3a3a; border-color: #555; }
.dark-mode #qrPreview { background: #2d2d2d; }

.privacy-policy .info-box {
  background-color: #f9f9f9; /* Ein sehr heller Grauton für den Hintergrund */
  border: 1px solid #e0e0e0; /* Ein dezenter Rand um die Box */
  padding: 20px;             /* Innenabstand in der Box */
  margin-bottom: 25px;       /* Abstand zwischen den Boxen */
  border-radius: 8px;        /* Abgerundete Ecken für einen moderneren Look */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Ein leichter Schatten für Tiefe */
}

/* Optional: Wenn Überschriften direkt in der Box sind, den oberen Rand anpassen */
.privacy-policy .info-box h3,
.privacy-policy .info-box h4 {
  margin-top: 0; /* Verhindert doppelten Abstand, falls die Überschrift das erste Element in der Box ist */
  color: #333; /* Dunklere Farbe für Überschriften in Boxen für besseren Kontrast */
}

.privacy-policy .info-box p,
.privacy-policy .info-box ul,
.privacy-policy .info-box li {
  line-height: 1.6; /* Verbesserte Lesbarkeit für Text innerhalb der Boxen */
}

.privacy-policy .info-box a {
  color: #007bff; /* Standard-Linkfarbe, oder deine Projektfarbe */
}
.privacy-policy .info-box a:hover {
  text-decoration: underline;
}

/* Spezielle Box für den Verantwortlichen oder wichtige Hinweise */
.privacy-policy .highlight-box {
  background-color: #eef7ff; /* Ein leichter Blauton zur Hervorhebung */
  border-left: 5px solid #007bff; /* Ein blauer Akzentstreifen links */
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 0 8px 8px 0; /* Abgerundete Ecken, aber links eckig wegen des Akzentstreifens */
}

.privacy-policy .highlight-box p strong {
    color: #333;
}

.final-cta-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
  margin: 3em 0 1em 0;
  padding: 2.5em 1em;
  background-color: #e9ecef;
  border-radius: 8px;
  text-align: left;              /* Text linksbündig */
}

.final-cta-section img.final-icon {
  max-width: 200px;              /* Bild-Größe anpassen */
  height: auto;
  flex-shrink: 0;                /* Bild behält seine Größe */
}

.final-cta-section .final-content {
  max-width: 500px;              /* sorgt für Zeilenlänge */
}

.final-cta-section .cta-button-main {
  margin-top: 1em;               /* Abstand zum Text */
}