/* Definiere globale Farben */
:root {
    --primary-color: #446680;       /* Hauptfarbe Blue */
    --secondary-color: #2F313C;     /* Sekundärfarbe GrayBlue */
    --accent-color: #E2E5E6;        /* Akzentfarbe Highlight-Silver */
    --2nd-accent-color: #9DA5A8;    /* Akzentfarbe Highlight-Gray */
    --background: #f4f4f9;          /* Hintergrund */
    --background-light: #fff;       /* Hintergrund Sidebar bspw. */
    --text-color-dark: #191E23;     /* Textfarbe Dark */
    --text-color-light: #fff;       /* Textfarbe Light */
    --link-color-dark: #191E23;     /* Linkfarbe Dark */
    --link-color-light: #fff;       /* Linkfarbe Light */
    --indicator-color-off: #e53935; /* rot */
    --indicator-color-on: #4CAF50;  /* grün */
}

/* Grundlayout für die Seite */
body {
    /*display: flex;*/
    margin: 0;
    padding: 0;
    background-color: var(--background);
    font-family: Arial, sans-serif;
}

/* index.php */

/* Hero-Section (Text + Bild) */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 30px;
    color: var(--text-color-light);
    background-color: var(--secondary-color);
}

.hero-section .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-section .text-column,
.hero-section .image-column {
    flex: 1 1 50%;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-section .cta-btn {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
    padding: 12px 30px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
}

.hero-section .cta-btn:hover {
    background-color: var(--2nd-accent-color);
    color: 
}

.hero-section .cta-btn i {
    margin-right: 10px;
}

.hero-section .image-column {
    flex: 1;
    text-align: center;
}

.hero-section .hero-image {
    max-width: 100%;
    height: auto;
}

/* Datenschutz-Section */
.privacy-section {
    padding: 60px 30px;
    background-color: var(--background-light);
}

.privacy-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.privacy-list {
    list-style: none;
    padding: 0;
}

.privacy-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    background-color: var(--accent-color);
}

.privacy-list strong {
    font-weight: bold;
}

/* End index.php */

@media screen and (min-width: 768px) {
    body.public .sidebar {
        display: none;
    }

    body.public .overlay {
        display: none;
    }
}

/* Login-Link im Header nur auf Desktop zeigen - Public Pages */
@media screen and (max-width: 767px) {
    .login-desktop {
        display: none;
    }

    .content {
        margin-left: 40px;
    }

    /* Und gleichzeitig diese im Header ausblenden */
    .user-menu .user-info,
    .user-menu .logout {
        display: none;
    }

    header .user-menu {
        width: 100%;
        justify-content: flex-end;
        margin-right: 20px;
    }
}

/* Top-Navigation */
header.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header .logo a {
    color: var(--link-color-light);
    text-decoration: none;
}

header .main-menu {
    display: flex;
    gap: 20px;
}

header .main-menu a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

header .user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification {
    position: relative;
    display: inline-block;
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: red;
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    padding: 3px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

/* Standard-Style für Links im user-menu */
.user-menu a {
    color: var(--text-color-light);
    text-decoration: none; 
    transition: all 0.2s ease;
}

/* Beim Hover: unterstreichen */
.user-menu a:hover {
    text-decoration: underline;
}

/* Spezielle Layouts für public pages */
.public-header {
    justify-content: space-between;
}

.public-page {
    margin-left: 0 !important; /* Kein Platz für Sidebar */
    padding: 2rem;
}

/* Glocken-Icon (Benachrichtigungen) */
.user-menu a i.fa-bell {
    color: var(--text-color-light);
}

/* Logout-Icon - rot */
.user-menu a i.fa-right-from-bracket {
    color: var(--link-color-light);
}

/* Optional: Hover-Effekte für die Icons */
.user-menu a i:hover {
    opacity: 0.7; /* Leicht transparent bei Hover */
}

/* Hamburger Button (nur auf mobilen Geräten sichtbar) */
header .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

header .hamburger div {
    width: 30px;
    height: 4px;
    background-color: var(--link-color-light);
    border-radius: 2px;
}

/* Sidebar (fixiert auf Desktop, ausgeblendet auf mobilen Geräten) */
aside.sidebar {
    width: 290px;
    background-color: var(--background-light);
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 50px; /* Damit es nicht unter der Top-Navigation ist */
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Stellt sicher, dass der Footer unten bleibt */
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    max-height: 100vh;
    -webkit-overflow-scrolling: touch;
}

/* Sidebar sichtbar machen bei mobile */
aside.sidebar.open {
    left: 0;
}

/* Main Content */
main.content {
    margin-left: 290px; /* Platz für Sidebar */
    padding: 50px 20px 20px 20px;
    flex: 1;
    transition: margin-left 0.3s ease;
}

/* ul li Design der Elemente in der home.php Liste */
ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    background-color: var(--background-light);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Erste Zeile: Status + Überschrift */
ul li .status-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Abstand zwischen Status und Überschrift */
}

ul li .status-header .status-indicator {
    margin-right: 10px;
}

ul li .status-header h4 {
    margin: 0; /* Entfernen des Margins für das h4 */
}

/* Status-Indikator (Ampel) */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.active {
    background-color: var(--indicator-color-on);
}

.status-indicator.inactive {
    background-color: var(--indicator-color-off);
}

/* Zweite Zeile: Connections (API-Icons) */
ul li .connections {
    margin-bottom: 10px; /* Abstand zwischen API-Verbindungen und Details */
    color: gray;
}

/* API-Icons unter der Überschrift */
ul li .api-labels {
    display: inline-flex;
    gap: 3px;
    flex-wrap: wrap; /* Falls nötig, um Icons in der mobilen Ansicht auf mehreren Zeilen anzuzeigen */
    margin-top: 5px;
}

/* Styling für jedes API-Icon */
.api-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/* Icons bei Hover */
.api-icon:hover {
    background-color: var(--indicator-color-on);
}

/* Beispiel für spezifische Icons */
.api-icon.trello {
    background-color: #0079bf; /* Trello Blau */
}

.api-icon.chatgpt {
    background-color: #74AA9C; /* ChatGPT */
}

.api-icon.gdrive {
    background-color: #eec100; /* Google Drive */
}

.api-icon.kit {
    background-color: #44B1FF; /* Kit.com */
}

.api-icon.ytstudio {
    background-color: rgb(244, 0, 0); /* YouTube Studio */
}

/* Dritte Zeile: Details */
ul li .details {
    margin-bottom: 10px;
}

ul li .details table td {
    padding: 6px 8px !important;
}

ul li .details table tr:nth-child(even) {
    background-color: var(--accent-color) !important;
}

ul li .details table td:nth-child(2) {
    text-align: left !important;
}

/* Vierte Zeile: Actions */
ul li .actions {
    display: flex;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 8px;
}

ul li .actions a {
    text-decoration: none;
}

/* Gemeinsame Styles für Actions */
ul li .actions button,
ul li .actions a button {
    border: none;
    padding: 8px 14px;
    height: 38px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

/* Konfigurieren */
ul li .actions .btn-config {
    background-color: var(--accent-color);
    color: var(--text-color-dark);               
    border: none;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 38px;
    font-size: 18px;
    padding: 0;
    cursor: pointer;
    text-decoration: none;     /* Keine Unterstreichung */
    transition: background-color 0.3s ease;
}

/* Konfigurieren Buttons ohne width */
ul li .actions .left-btn {
    background-color: var(--accent-color);
    color: var(--text-color-dark);               
    border: none;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    font-size: 14px;
    padding: 14px 8px;
    cursor: pointer;
    text-decoration: none;     /* Keine Unterstreichung */
    transition: background-color 0.3s ease;
}

/* Allgemeine Button-Stile für Aktions-Buttons */
ul li .actions button.btn {
    background-color: var(--accent-color);
    color: var(--text-color-dark);              
    border-radius: 5px;        /* Abgerundete Ecken */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Übergangseffekte */
    white-space: nowrap;
}

.error-message {
    color: var(--indicator-color-off);
    margin-bottom: 1rem;
    font-weight: bold;
}

/* Hinweistext unter dem Formular */
.auth-hint {
    margin-top: 20px;
    font-size: 1rem;
    text-align: center;
    color: var(--text-color-dark);
}

.auth-hint a {
    color: var(--2nd-accent-color);
    text-decoration: none;
}

.auth-hint a:hover {
    text-decoration: underline;
}

/* Passwortfeld */
input[type="password"] {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid var(--2nd-accent-color);
    border-radius: 5px;
    width: 100%;
    background-color: var(--background-light);
    color: var(--text-color-dark);
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

/* Passwortfeld Hover- und Focus-Effekte */
input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

input[type="password"]:hover {
    border-color: var(--accent-color);
}

/* Deaktivieren / Aktivieren */
ul li .actions button:nth-child(2) {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
}

/* Löschen */
ul li .actions button.delete {
    background-color: var(--indicator-color-off);
    color: var(--text-color-light);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Upgrade Button (lila oder grün) */
ul li .actions .btn-upgrade {
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px 0 0 5px; /* Nur äußere Ecken */
    transition: background-color 0.3s ease;
}

/* Buy More Tasks Button (rechts abgerundet) */
ul li .actions .btn-buy-more {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
    border-radius: 0 5px 5px 0; /* Nur äußere Ecken */
    transition: background-color 0.3s ease;
}

/* Cancel Subscription Button (rot) */
ul li .actions .btn-cancel {
    background-color: var(--indicator-color-off); /* Rote Farbe für den Cancel Button */
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* usage.php top filter */
.filter-buttons {
    display: inline-flex;
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.filter-buttons .btn-filter {
    padding: 8px 14px;
    background-color: var(--accent-color);
    color: var(--text-color-dark);
    height: 38px;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-buttons .btn-filter:not(:last-child) {
    border-right: 1px solid var(--accent-color);
}

.filter-buttons .btn-filter:hover {
    background-color: var(--2nd-accent-color);
}

.filter-buttons .btn-filter.active {
    background-color: var(--2nd-accent-color);
    color: var(--text-color-light);
}

#addFilterBtn {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
    border-radius: 50%;
    border: none;
    font-size: 18px;
    text-align: center;
    align-items: center;
    cursor: pointer;
    padding: 0 8px 2px 7px;
    margin-left: 8px;
}

#addFilterBtn:hover {
    background-color: var(--2nd-accent-color);
}

#activeFilters {
    display: flex;
    gap: 5px;
    margin-left: 8px;
}

.filter-tag {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-tag span.remove-filter {
    cursor: pointer;
    color: var(--text-color-dark);
    background-color: var(--2nd-accent-color);
    border-radius: 50%;
    padding: 0 5px 0 5px;
}

#automationFilters button {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    text-align: left;
    padding: 8px;
    transition: background-color 0.3s ease;
}

#automationFilters button:hover {
    background-color: var(--accent-color);
    cursor: pointer;
}

.automation-id {
    color: var(--2nd-accent-color);
    font-size: 0.8rem;
}

.close-btn, .add-filter-btn {
    background-color: var(--accent-color);
    color: var(--text-color-dark);
    border-radius: 50%;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.close-btn:hover, .add-filter-btn:hover {
    background-color: var(--2nd-accent-color);
}

/* filter popover layer */
#filterPopover {
    position: absolute;
    display: none;
    flex-direction: column;
    gap: 10px;
    background: white;
    border: 1px solid var(--2nd-accent-color);
    border-radius: 8px;
    padding: 16px;
    width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#filterPopover a {
    text-decoration: none;
    color: var(--link-color-dark);
    padding: 10px;
    border-radius: 5px;
    background-color: var(--accent-color);
    transition: background-color 0.3s ease;
    display: block;
    cursor: pointer;
    margin-bottom: 10px;
}

#filterPopover a:hover {
    background-color: var(--2nd-accent-color);
}

#filterPopover h5 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: bold;
}

#filterPopover h6 {
    margin: 15px 0 5px;
    font-size: 14px;
    color: var(--secondary-color);
}

#filterPopover .automation-id {
    font-size: 12px;
    color: var(--primary-color);
}

.popover-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.popover-layer.active {
    display: block;
}

/* Pagination Buttons */
.pagination {
    display: inline-flex;
    margin-top: 1rem;
}

.pagination a.btn {
    background-color: var(--primary-color);
    color: var(--text-color-light);              
    font-size: 14px;
    padding: 0px 14px 0px 14px;         /* Innenabstand */
    text-decoration: none;     /* Kein Unterstrich */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;             /* Abstand zwischen den Buttons */
    height: 38px;
    text-align: center;        /* Text mittig ausrichten */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Übergangseffekte */
}

/* Rundung und Übergangseffekt */
.pagination a.btn:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pagination a.btn:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Kein border-radius dazwischen */
.pagination a.btn:not(:first-child):not(:last-child) {
    border-radius: 0;
}

/* Hover-Effekte */
ul li .actions .btn-config:hover,
ul li .actions .left-btn:hover {
    background-color: var(--2nd-accent-color);
    text-decoration: none;
}

ul li .actions button:nth-child(2):hover {
    background-color: var(--2nd-accent-color);
}

ul li .actions button.delete:hover {
    background-color: var(--secondary-color);
}

ul li .actions .btn-cancel:hover {
    background-color: var(--secondary-color);
}

ul li .actions .btn-buy-more:hover,
ul li .actions button.btn:hover {
    background-color: var(--2nd-accent-color); 
}

ul li .actions .btn-upgrade:hover {
    background-color: var(--secondary-color);
}

.pagination a.btn:hover, .filter-buttons .btn-filter.active:hover {
    background-color: var(--secondary-color);
}

.pagination a.btn:active {
    background-color: var(--secondary-color);
}

/* Disabled State (z.B. "Previous" oder "Next" wenn keine weiteren Seiten verfügbar sind) */
.pagination a.btn[disabled] {
    background-color: var(--2nd-accent-color);  /* Grauer Hintergrund für deaktivierte Buttons */
    color: var(--accent-color);             /* Graue Schrift */
    pointer-events: none;    /* Kein Hover oder Klick möglich */
}

/* Footer Design */
footer {
    font-family: Arial, sans-serif;
    font-size: 9pt;
    color: gray; /* Set all text color to gray */
    margin: 22px 0 0 0;
    padding: 20px 0 0 0;
    background-color: transparent; /* No background color */
    text-align: center;
    border-top: 1px solid var(--2nd-accent-color); /* Thin gray line above the footer */
}

footer p {
    margin: 0;
}

/* Footer Navigation */
footer nav {
    margin-top: 10px;
}

footer a {
    color: gray;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Zentrierter Footer für public pages */
.footer-public {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--background);
    color: var(--text-color-light);
    margin-top: 4rem;
}
.footer-public nav a {
    color: var(--link-color-dark);
    text-decoration: none;
    margin: 0 8px;
}
.footer-public nav a:hover {
    color: var(--link-color-light);
}

/* Sidebar Menü vertikal formatieren */
aside.sidebar nav.main-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
}

aside.sidebar nav.content-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

aside.sidebar nav.main-menu a, aside.sidebar nav.content-menu a {
    text-decoration: none;
    color: var(--text-color-dark);
    padding: 10px;
    border-radius: 5px;
    background-color: var(--accent-color);
    transition: background-color 0.3s ease;
}

aside.sidebar nav.main-menu a:hover, aside.sidebar nav.content-menu a:hover {
    background-color: var(--2nd-accent-color);
}

/* Upgrade Plan Page */

.plans-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
    padding: 2px;
}

.plan-card {
    flex: 1 1 250px;
    border-radius: 5px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    background: var(--primary-color);
    color: var(--text-color-light);
    position: relative;
}

.plan-card:hover {
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.plan-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.plan-card p:first-of-type {
    height: 50px;
}

.plan-card #currentPlanLabel {
    margin-top: 28px;
    height: 38px;
}

.plan-card .price {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.feature-list li {
    text-align: left;
    margin-bottom: 0.5rem;
    color: black;
    position: relative;
}

/* Tooltip Popover */
.tooltip-icon {
    margin-left: 8px;
    cursor: pointer;
    font-size: 0.9em;
    position: relative;
    display: inline-block;
}

.tooltip-icon:hover .popover {
    display: block;
}

.popover {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    z-index: 999;
    width: 200px;
    background-color: rgba(0,0,0,0.75);
    color: var(--text-color-light);
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-size: 13px;
}

/* Monthly / Yearly Toggle Switch */
.toggle-switch {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle-switch label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    background-color: var(--2nd-accent-color);
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-switch label:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--background-light);
    transition: transform 0.3s;
}

.toggle-switch input[type="checkbox"]:checked + label {
    background-color: var(--indicator-color-on);
}

.toggle-switch input[type="checkbox"]:checked + label:before {
    transform: translateX(30px);
}

.toggle-switch span {
    margin-left: 10px;
    font-size: 16px;
    color: var(--accent-color);
}

.toggle-switch .month-text {
    color: var(--2nd-accent-color);
}

.toggle-switch .year-text {
    color: var(--text-color-light);
}

.toggle-switch .pay-label {
    margin-right: 10px;
    font-size: 16px;
    color: var(--2nd-accent-color);
}

.faq-section {
    margin-top: 3rem;
    padding: 1rem;
}

.faq-question {
    background-color: var(--2nd-accent-color);
    color: var(--text-color-dark);
    border-radius: 5px;
    border: none;
    padding: 10px 16px;
    height: auto;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: normal;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-question:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
}

.faq-answer {
    background: var(--background-light);
    padding: 10px 16px;
    border-radius: 4px;
    margin-bottom: 12px;
    border-left: 3px solid var(--2nd-accent-color);
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons inside plan cards */
.plan-card button.btn {
    background-color: var(--accent-color);
    color: black;
    border-radius: 5px;
    border: none;
    padding: 8px 14px;
    height: 38px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    margin-top: 0.8rem;
}

.plan-card button.btn:hover {
    background-color: var(--2nd-accent-color);
    transform: translateY(-1px);
}

/* Stelle sicher, dass box-sizing korrekt gesetzt ist */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.support-form .form-group {
    margin-bottom: 1.2rem;
}

.support-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: normal;
}

.support-form input[type="text"],
.support-form input[type="email"],
.support-form select,
.support-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid var(--2nd-accent-color);
    box-sizing: border-box;
    font-size: 16px;
}

.support-form textarea {
    resize: vertical;
}

.support-form .checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: normal;
}

.support-form .checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
}

.support-form .checkbox-group span {
    flex: 1;
}

.legal-note {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--2nd-accent-color);
}

/* Responsive Styles */
@media (max-width: 768px) {

    /* index.php */
    .hero-section .container {
        flex-direction: column;
    }

    .hero-section .text-column,
    .hero-section .image-column {
        flex: 1 1 100%;
        text-align: center;
    }

    .cta-btn {
        display: inline-block;
        margin-top: 1.5rem;
    }
    /* End index.php */ 

    /* Hamburger-Menü anzeigen auf mobilen Geräten */
    header .hamburger {
        display: flex;
    }

    /* Sidebar (aside) wird auf mobilen Geräten ausgeblendet */
    aside.sidebar {
        left: -250px; /* Anfangs links verstecken */
        transition: left 0.3s ease;
    }

    /* Schmaler klickbarer Rand als Button */
    aside.sidebar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 240px; /* 10px vor dem Viewport */
        width: 10px;
        height: 100%;
        background: transparent;
        cursor: pointer;
        z-index: 1001;
    }

    /* Main Menu wird auf mobilen Geräten in der Sidebar angezeigt */
    aside.sidebar nav.main-menu, aside.sidebar nav.content-menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Layer über dem Content */
    .overlay {
        position: fixed;
        top: 50px; /* unter der Top Nav */
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.15);
        z-index: 998;
        display: none;
    }

    .overlay.active {
        display: block;
        cursor: pointer;
    }

    /* Sidebar buttons deaktivieren, wenn sie nicht sichtbar ist */
    aside.sidebar:not(.open) nav.main-menu,
    aside.sidebar:not(.open) button,
    aside.sidebar:not(.open) a {
        pointer-events: none;
        cursor: pointer;
        opacity: 0.5;
    }

    /* Sidebar wieder aktivieren bei sichtbarem Zustand */
    aside.sidebar.open nav.main-menu,
    aside.sidebar.open button,
    aside.sidebar.open a {
        pointer-events: auto;
        opacity: 1;
    }

    /* Haupt-Content auf mobilen Geräten ohne Sidebar */
    main.content {
        margin-left: 40px !important;
    }

    /* Sidebar auf mobilen Geräten einblenden */
    aside.sidebar.open {
        left: 0; /* Sidebar wird eingeblendet */
    }

    /* Desktop Menü verstecken auf mobilen Geräten */
    header .main-menu {
        display: none;
    }

    /* Details vertikal anordnen auf mobilen Geräten */
    .details {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-indicator {
        margin-right: 10px; /* Abstand zum Titel */
    }

    /* API-Icons unter der Überschrift */
    .api-labels {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .api-icon {
        margin-top: 5px; /* Abstand zwischen den Icons */
    }

    /* Upgrade Plan Page */
    .plans-container {
        flex-direction: column;
    }

    .plan-card {
        width: 100%;
    }
}
