:root {
    --primary-color: #404040;
    --accent-color: #ef0525;
    --nav-hover: #666;
    --background: #f5f5f5;
    --autohaus-color: #8a8a8a;
    --energie-color: #ef0525;
    --spedition-color: #005585;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: var(--background);
}

header {
    background-color: #404040;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 110px;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    position: relative;
}

nav {
    display: flex;
    height: 50px;
    margin: auto;
    margin-left: 260px;
}

nav a.home {
    width: 160px;
    height: 50px;
    padding: 0;
    background-color: transparent;
    position: absolute;
    left: 0;
    top: 15px;
}

nav a.home img {
    width: 160px;
    height: auto;
}

nav a:not(.home) {
    text-decoration: none;
    color: white;
    padding: 0 15px;
    height: 50px;
    display: flex;
    align-items: center;
    font-size: 14px;
    border-right: 1px solid #505050;
}

nav a.active {
    background-color: #666;
}

nav a.autohaus {
    background-color: #8a8a8a;
}

nav a.energie {
    background-color: #ef0525;
}

nav a.spedition {
    background-color: #005585;
}

.hero {
    margin-top: 110px;
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero img.active {
    opacity: 1;
}

/* Hero Text Overlay */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 4px;
    z-index: 2;
    opacity: 0;
    animation: fadeInSlideDown 1.5s ease-out forwards;
    width: 80%;
    max-width: 800px;
}

@keyframes fadeInSlideDown {
    0% {
        opacity: 0;
        transform: translate(-50%, -70%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .hero-text {
        font-size: 18px;
        padding: 15px;
    }
}

.container {
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 20px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.form-type-selector {
    max-width: 800px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.form-type-selector label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    position: relative;
    overflow: hidden;
}

.form-type-selector input[type="radio"] {
    display: none;
}

.form-type-selector label:hover {
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-type-selector input[type="radio"]:checked + label {
    border-color: var(--accent-color);
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(239,5,37,0.2);
}

.form-type-selector .type-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.form-type-selector .type-subtitle {
    font-size: 0.9em;
    color: #666;
}

#dynamicForm {
    display: none;
}

#dynamicForm.visible {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 40px;
}

button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

button[type="submit"] {
    background-color: var(--accent-color);
    color: white;
}

button[type="button"] {
    background-color: var(--primary-color);
    color: white;
}

button:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

h1 {
    text-align: center;
    font-size: 1.4em;
    margin-bottom: 10px;
}

h2 {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 30px;
}

h3 {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.reminder-section {
    margin-bottom: 40px;
    text-align: center;
    padding: 0px 20px;
}

.reminder-title {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.reminder-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgb(68, 68, 68);
    max-width: 800px;
    margin: 0px auto;
}

.reminder-text a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.reminder-text a:hover {
    text-decoration: underline;
}

.deadline-date {
    display: inline-block;
    color: var(--accent-color);
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    animation: pulse 2s infinite;
    position: relative;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 5, 37, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 5, 37, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 5, 37, 0);
    }
}

.deadline-date::before,
.deadline-date::after {
    content: "⚠️";
    margin: 0 5px;
    font-size: 0.9em;
    animation: shake 1.5s infinite;
    display: inline-block;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.form-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.form-section:last-child {
    border-bottom: none;
}

.checkbox-group {
    margin-top: 15px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-row label {
    min-width: 120px;
}

.checkbox-row span {
    margin: 0 10px;
}

.count-input {
    width: 60px;
    padding: 5px;
    margin: 0 10px;
}

.signature-group {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.signature-field {
    flex: 1;
    width: 100%;
}

.signature-line {
    border-bottom: 1px solid #000;
    margin: 10px 0;
}

.signature-field input {
    border: none;
    border-bottom: 1px dotted #ccc;
    text-align: center;
    width: 100%;
}

.signature-field label {
    font-size: 0.9em;
    margin-top: 5px;
}

.signature-field small {
    font-size: 0.8em;
    color: #666;
}

.small-text {
    font-size: 0.8em;
    color: #666;
    text-align: right;
    margin-top: 5px;
}

/* Seitennummerierung im PDF */
.page-number {
    text-align: center;
    margin-top: 30px;
    font-size: 0.8em;
    color: #666;
}

/* Stand-Datum */
.document-date {
    font-size: 0.8em;
    color: #666;
    margin-top: 30px;
}

.document-info {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    font-size: 0.9em;
}

.vehicle-list {
    margin-top: 20px;
}

.vehicle-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.vehicle-row label {
    flex: 1;
    margin: 0;
}

.vehicle-row .count-input {
    width: 100px;
    margin-left: 20px;
}

.footnote {
    margin-top: 30px;
    font-size: 0.8em;
    color: #666;
}

.footnote p {
    margin: 0;
    line-height: 1.4;
}

/* Spezielle Klasse für Zahlenfelder mit "Anzahl" Label */
.facility-input-group {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 15px;
    background: #f8f8f8;
    border-radius: 4px;
    margin-bottom: 10px;
}

.facility-input-group .label {
    flex: 0 0 35px;
}

.facility-input-group .input-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.facility-input-group .number-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.facility-input-group .number-input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    color: #333;
    background: white;
    transition: all 0.2s ease;
    -moz-appearance: textfield;
}

.facility-input-group .number-input:hover {
    border-color: #bbb;
    background: #fff;
}

.facility-input-group .number-input:focus {
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(239,5,37,0.1);
    outline: none;
}

.facility-input-group .number-input::-webkit-outer-spin-button,
.facility-input-group .number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Fahrzeug-Eingabegruppen Styles */
.facility-input-group.vehicle {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: #f8f8f8;
    margin-bottom: 5px;
    border-radius: 4px;
}

.facility-input-group.vehicle .label {
    font-weight: bold;
    width: 100%;
}

.facility-input-group.vehicle .input-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.facility-input-group.vehicle .number-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.facility-input-group.vehicle .number-wrapper span {
    min-width: 60px;
}

.facility-input-group.vehicle .number-input {
    width: 80px;
    height: 36px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.facility-input-group .number-input:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
}

.facility-input-group .number-input:disabled:hover {
    border-color: #ddd;
    box-shadow: none;
}

.date-location-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.date-location-group input[name="datum"] {
    flex: 0 0 100px;
    text-align: center;
    background-color: white;
    color: #333;
    cursor: text;
}

.date-location-group input[name="datum"]:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.date-location-group input[name="ort"] {
    flex: 1;
    text-align: center;
}

.signature-field input {
    border: none;
    border-bottom: 1px dotted #ccc;
    text-align: center;
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
}

.signature-field input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

/* Hamburger Menu Basis-Styles */
.hamburger {
    display: none; /* Standard: versteckt */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Mobile Styles anpassen */
@media (max-width: 768px) {
    /* Hamburger immer anzeigen im Mobile Mode */
    .hamburger {
        display: flex !important;
    }

    /* Navigation standardmäßig ausblenden */
    nav {
        display: none !important;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        padding: 70px 20px 20px;
        margin: 0;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
    }

    /* Navigation nur anzeigen wenn aktiv */
    nav.active {
        display: flex !important;
        right: 0;
    }

    header {
        height: 70px; /* Header kleiner für mobile */
    }

    .nav-container {
        padding: 0 15px;
    }

    nav a:not(.home) {
        color: #333;
        border-right: none;
        padding: 15px 0;
        margin: 5px 0;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }

    /* Logo anpassen */
    .nav-container a.home {
        width: 120px;
    }

    .nav-container a.home img {
        width: 100%;
        height: auto;
    }

    .form-type-selector {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group label {
        margin-bottom: 5px;
    }

    .facility-input-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 8px;
        margin-bottom: 2px;
        background: #f8f8f8;
        border-radius: 0;
    }

    .facility-input-group .label {
        width: 100%;
        margin-bottom: 2px;
        font-weight: bold;
        font-size: 14px;
    }

    .facility-input-group .input-section {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        align-items: center;
        padding: 0 5px;
    }

    .facility-input-group .number-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .facility-input-group .number-input {
        width: 70px;
        min-height: 36px;
    }

    .facility-input-group .checkbox-wrapper {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .facility-input-group .checkbox-wrapper input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin: 0;
    }

    .checkbox-group {
        margin-top: 5px;
    }

    .checkbox-row {
        margin-bottom: 0;
    }

    .checkbox-row label {
        margin-bottom: 0;
    }

    .count-input {
        width: 100%;
        max-width: 120px;
        min-height: 44px;
    }

    /* Touch-optimierte Inputs */
    input[type="number"],
    input[type="text"],
    textarea {
        min-height: 44px;
        font-size: 16px;
    }

    .checkbox-wrapper input[type="checkbox"] {
        width: 24px;
        height: 24px;
    }

    /* Buttons */
    .button-group {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 60px;
    }

    button {
        width: 100%;
        min-height: 44px;
        font-size: 16px;
    }

    /* Container-Padding unten erhöhen */
    .container {
        padding-bottom: 40px;
    }

    .facility-input-group.vehicle {
        padding: 8px;
    }

    .facility-input-group.vehicle .number-input {
        width: 70px;
        min-height: 36px;
    }
}

/* Tablet Optimierungen */
@media (min-width: 769px) and (max-width: 1024px) {
    .form-type-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer Styles */
footer {
    width: 100%;
    margin-top: auto;
}

.footer-top {
    background-color: #666;
    padding: 20px 0;
}

.footer-bottom {
    background-color: #404040;
    padding: 15px 0;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-top .footer-content a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-top .footer-content a:hover {
    text-decoration: underline;
}

.footer-bottom .footer-content {
    color: white;
    font-size: 14px;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .container {
        margin-bottom: 60px;
        padding-bottom: 60px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
    }

    .footer-top {
        padding: 25px 0;
    }

    .footer-bottom {
        padding: 20px 0;
    }
}

/* Gemeinsame Styles für Facility und Vehicle Input Groups */
.facility-input-group, .facility-input-group.vehicle {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: #f8f8f8;
    margin-bottom: 5px;
    border-radius: 4px;
}

.facility-input-group .label, 
.facility-input-group.vehicle .label {
    font-weight: bold;
    width: 100%;
}

.facility-input-group .input-section,
.facility-input-group.vehicle .input-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.facility-input-group .number-wrapper,
.facility-input-group.vehicle .number-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.facility-input-group .number-wrapper span,
.facility-input-group.vehicle .number-wrapper span {
    min-width: 60px;
}

.facility-input-group .number-input,
.facility-input-group.vehicle .number-input {
    width: 80px;
    height: 36px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.facility-input-group .checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.facility-input-group .checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .facility-input-group,
    .facility-input-group.vehicle {
        padding: 8px;
    }

    .facility-input-group .number-input,
    .facility-input-group.vehicle .number-input {
        width: 70px;
        min-height: 36px;
    }
}

/* WebParts Sektion Styles */
.webparts-section {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
}

.webparts-section h1 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.webparts-text {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin: 0 auto;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .webparts-section h1 {
        font-size: 24px;
    }

    .webparts-text {
        font-size: 16px;
    }
}

/* Registration Steps */
.registration-section {
    padding: 60px 20px;
    background: #f8f8f8;
}

.registration-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.registration-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-card h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

/* Portals Section */
.portals-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.portal-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: calc(50% - 40px);
    min-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 320px; /* Erhöhte Höhe */
}

.portal-card:hover {
    transform: translateY(-5px);
}

.portal-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 1.3;
    flex: 0 0 auto; /* Fixe Höhe für Überschrift */
}

.portal-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex: 1 1 auto; /* Flexibler Bereich */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 160px; /* Minimale Höhe für die Liste */
}

.portal-card li {
    margin: 8px 0;
    color: #666;
    font-size: 18px;
}

.portal-link {
    margin-top: auto; /* Drückt den Link nach unten */
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    flex: 0 0 auto; /* Fixe Höhe für Button */
}

.portal-link:hover {
    background-color: #d60421;
}

/* Contact Section */
.contact-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-section h2 {
    margin-bottom: 20px;
}

.opening-hours {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: inline-block;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .registration-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        padding: 0;
    }

    .registration-section h2 {
        font-size: 20px;
        padding: 0 15px;
    }

    .step-card {
        margin: 0 auto;
        width: 85%;
        max-width: 350px;
    }

    .portal-card {
        width: 100%;
        height: auto;
        min-height: 280px;
    }
    
    .portal-card h3 {
        font-size: 20px;
    }
    
    .portal-card li {
        font-size: 16px;
    }

    .contact-section {
        padding: 40px 20px;
    }
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.contact-button i {
    font-size: 20px;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-button {
        justify-content: center;
    }
}

.webparts-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.webparts-button:hover {
    background-color: #d60421;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(239,5,37,0.2);
}

/* Login Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #000;
}

.login-form {
    margin-top: 20px;
}

.login-form .form-group {
    margin-bottom: 15px;
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.login-form input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-form button {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.login-form button:hover {
    background-color: var(--primary-color-dark);
}

.error-message {
    color: #f44336;
    margin: 10px 0;
    font-size: 14px;
}

/* Admin Link */
.admin-link {
    margin-left: auto;
}

.admin-link a {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
}

.admin-link a:hover {
    background-color: var(--accent-color-dark);
}

/* Toast Notifications im Bunte-Design */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #333;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    margin-top: 10px;
    animation: slideIn 0.3s ease-out;
    max-width: 350px;
    border-left: 4px solid var(--accent-color);
}

.toast.success {
    border-left: 4px solid #28a745;
}

.toast.error {
    border-left: 4px solid var(--accent-color);
}

.toast.info {
    border-left: 4px solid #0088cc;
}

.toast-icon {
    font-size: 18px;
    color: white;
}

.toast-message {
    flex-grow: 1;
    font-size: 14px;
    color: white;
}

.toast-close {
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}

.toast-close:hover {
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast.removing {
    animation: slideOut 0.3s ease-out forwards;
} 

.article-number {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
}

.article-number .manufacturer {
    color: #888;
    margin-left: 5px;
}

.article-details .article-numbers {
    margin-bottom: 15px;
}

.article-details .article-numbers p {
    margin: 5px 0;
    color: #666;
}