@font-face {
  font-family: 'Migrogramma';
  src: url('./fonts/MicrogrammaDExtendedBold.otf') format('opentype');
} 
 

/* Weitere Rechner */

 :root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --accent: #e74c3c;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --success: #2ecc71;
            --warning: #f39c12;
            --danger: #e74c3c;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 2rem 0;
            text-align: center;
            border-radius: 10px;
            margin-bottom: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }
        
        .subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        .calculator-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }
        
        @media (max-width: 768px) {
            .calculator-section {
                grid-template-columns: 1fr;
            }
        }
        
        .calculator-card {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }
        
        .result-card {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--dark);
        }
        
        input, select {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: border 0.3s;
        }
        
        input:focus, select:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
        }
        
        .radio-group {
            display: flex;
            gap: 1rem;
        }
        
        .radio-option {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .add-drink-btn {
            background-color: var(--secondary);
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .add-drink-btn:hover {
            background-color: #2980b9;
        }
        
        .drink-list {
            margin-top: 1rem;
            border: 1px solid #eee;
            border-radius: 5px;
            padding: 1rem;
            max-height: 200px;
            overflow-y: auto;
        }
        
        .drink-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid #eee;
        }
        
        .drink-item:last-child {
            border-bottom: none;
        }
        
        .remove-drink {
            color: var(--danger);
            cursor: pointer;
            background: none;
            border: none;
            font-weight: bold;
        }
        
        .calculate-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 15px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 600;
            width: 100%;
            transition: background 0.3s;
            margin-top: 1rem;
        }
        
        .calculate-btn:hover {
            background-color: #1a252f;
        }
        
        .result-value {
            font-size: 3rem;
            font-weight: 700;
            margin: 1rem 0;
        }
        
        .result-status {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            padding: 0.5rem 1.5rem;
            border-radius: 30px;
        }
        
        .safe {
            background-color: var(--success);
            color: white;
        }
        
        .warning {
            background-color: var(--warning);
            color: white;
        }
        
        .danger {
            background-color: var(--danger);
            color: white;
        }
        
        .sober-time {
            font-size: 1.2rem;
            margin-top: 1rem;
            text-align: center;
        }
        
        .content-section {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            margin-bottom: 2rem;
        }
        
        h2 {
            color: var(--primary);
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--light);
        }
        
        h3 {
            color: var(--secondary);
            margin: 1.5rem 0 1rem;
        }
        
        p {
            margin-bottom: 1rem;
        }
        
        ul, ol {
            margin-left: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        li {
            margin-bottom: 0.5rem;
        }
        
        .warning-box {
            background-color: #fff3cd;
            border-left: 4px solid var(--warning);
            padding: 1rem;
            margin: 1.5rem 0;
            border-radius: 0 5px 5px 0;
        }
        
        .danger-box {
            background-color: #f8d7da;
            border-left: 4px solid var(--danger);
            padding: 1rem;
            margin: 1.5rem 0;
            border-radius: 0 5px 5px 0;
        }
        
        .info-box {
            background-color: #d1ecf1;
            border-left: 4px solid var(--secondary);
            padding: 1rem;
            margin: 1.5rem 0;
            border-radius: 0 5px 5px 0;
        }
        
        footer {
            text-align: center;
            padding: 2rem 0;
            color: #7f8c8d;
            font-size: 0.9rem;
            border-top: 1px solid #eee;
            margin-top: 2rem;
        }
        
        .disclaimer {
            font-style: italic;
            margin-top: 1rem;
            font-size: 0.8rem;
        }


    .umsatzsteuerrechner-link {
         font-family: 'Migrogramma';
            display: block;
            width: 80%;
            font-size: 3vw;
            margin: 2vw auto 0 auto;
            background-color: var(--success);
            border-radius: 10vw;
            padding: 10px 10px;
            text-align: center;
            text-decoration: none;
            color: white;
            font-weight: bold;
        }

    .umsatzsteuerrechner-link a {
        text-decoration: none;
        color: var(--warning)
    }
    
    .new {
        font-family: 'Migrogramma';
        width: 100%;
        font-size: 1.2vw;
        margin: 2vw auto 0 auto;
        background-color: var(--dark);
        border-radius: 2vw;
        padding: 10px 10px;
        text-decoration: none;
        color: white;
        font-weight: bold;
        text-align: center;
        padding: 4vw 2vw 4vw 2vw;
    }
    

ul.new {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin-top: 2vw;
    margin-bottom: 2vw;
    gap: 2vw; /* Moderne Alternative zu Margin */
}

.new li {
    width: 30%; /* Präzise Berechnung */
    list-style: none;
    text-align: center;
    background: var(--secondary);
    border-radius: 1vw;
    padding: 1vw;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.new li a {
    text-decoration: none;
    color: var(--success);
}

.new li:hover {
    background: rgba(255, 255, 255, 0.25);
}

.result-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.conversion-details {
    width: 100%;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.conversion-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.conversion-table th,
.conversion-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.conversion-table th {
    background-color: var(--light);
    font-weight: 600;
}

.conversion-table tr:hover {
    background-color: #f9f9f9;
}

/* Fleacheneinheten Rechner */

.result-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.conversion-details {
    width: 100%;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.conversion-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.conversion-table th,
.conversion-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.conversion-table th {
    background-color: var(--light);
    font-weight: 600;
}

.conversion-table tr:hover {
    background-color: #f9f9f9;
}

/* Responsive Tabellen für mobile Geräte */
@media (max-width: 768px) {
    .conversion-table {
        font-size: 0.9rem;
    }
    
    .conversion-table th,
    .conversion-table td {
        padding: 0.5rem;
    }
}