/*
Theme Name: Plastic Excellence Clean
Author: Marko Wehner
Description: Clean Professional Consulting Theme mit integriertem Spritzguss-Rechner
Version: 4.0
License: GPLv2 or later
Text Domain: plastic-excellence
*/

/* ========== GRUNDSTYLES ========== */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0a121c;
    color: #e0e0e0;
    line-height: 1.5;
}

header {
    background: #0c1624;
    padding: 20px 40px;
    border-bottom: 1px solid #1e3a4f;
}

.container {
    max-width: 1400px;
    margin: auto;
    padding: 40px 20px;
}

.hero {
    text-align: center;
    padding: 140px 20px;
    background: linear-gradient(145deg, #0c1624 0%, #0a121c 100%);
}

.green { color: #4ade80; }

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: #4ade80;
    color: #0a121c;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    margin-top: 20px;
    transition: background 0.2s;
}

.btn:hover {
    background: #22c55e;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

nav a {
    color: #4ade80;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

nav a:hover {
    color: #22c55e;
}

footer {
    background: #0c1624;
    padding: 40px;
    text-align: center;
    color: #9ca3af;
    border-top: 1px solid #1e3a4f;
    margin-top: 60px;
}

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

h1, h2, h3, h4 {
    color: #4ade80;
    margin-bottom: 20px;
}

ul {
    line-height: 1.8;
}

/* ========== RECHNER SPEZIFISCHE STYLES ========== */
.rechner-container {
    background: rgba(20, 40, 60, 0.7);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(4px);
}

.rechner-form table,
.rechner-results table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.rechner-form td,
.rechner-form th,
.rechner-results td,
.rechner-results th {
    border: 1px solid #2a4455;
    padding: 12px 15px;
    vertical-align: top;
}

.rechner-form th,
.rechner-results th {
    background: #1e3a4f;
    color: #4ade80;
    font-weight: 600;
    text-align: left;
}

.rechner-form input,
.rechner-form select {
    width: 100%;
    padding: 10px;
    background: #1e2e40;
    border: 1px solid #4ade80;
    color: #fff;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1rem;
}

.rechner-form input:focus,
.rechner-form select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
}

.rechner-form .info-text {
    font-size: 0.85rem;
    color: #9ca3af;
    display: block;
    margin-top: 5px;
}

.rechner-error {
    color: #fca5a5;
    border: 1px solid #ef4444;
    background: #3a1a1a;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.rechner-success {
    color: #86efac;
    border: 1px solid #22c55e;
    background: #1a3a2a;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.empfohlen {
    color: #4ade80;
    font-style: italic;
    font-size: 0.9rem;
    margin-left: 8px;
}

.warn {
    color: #f87171;
    background: #3a1a1a;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
}

.ok {
    color: #86efac;
    background: #1a3a2a;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
}

.expert-box {
    margin-top: 20px;
    padding: 15px;
    background: #1e3a4f;
    border-radius: 8px;
    cursor: pointer;
    color: #4ade80;
    font-weight: bold;
    user-select: none;
}

.expert-content {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #0e1e28;
    border-radius: 8px;
    border-left: 4px solid #4ade80;
}

.inline-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inline-group input {
    flex: 2;
}

.inline-group select {
    flex: 1;
}

.tool-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a4455;
}

.tool-navigation a {
    display: inline-block;
    padding: 10px 20px;
    background: #1e2e40;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.2s;
}

.tool-navigation a.active,
.tool-navigation a:hover {
    background: #4ade80;
    color: #0a121c;
}

.diff-highlight {
    background: rgba(74, 222, 128, 0.1);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
}

.user-material-section {
    margin-top: 20px;
    padding: 20px;
    background: #0e1e28;
    border-radius: 8px;
    border-left: 4px solid #4ade80;
}

.disclaimer {
    margin-top: 50px;
    padding: 20px;
    background: #0c1624;
    border-radius: 8px;
    color: #9ca3af;
    font-size: 0.9rem;
}
