/**
 * Stylesheet für MNB Technical Solutions
 */

/* === GRUNDLEGENDE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d2d2d;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* === CONTAINER === */
.container {
    max-width: 900px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
}

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

/* === HEADER === */
.header {
    background: linear-gradient(135deg, #d65a00 0%, #ff7a1a 100%);
    padding: 40px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

@keyframes rotateGear {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotating-gear {
    animation: rotateGear 20s linear infinite;
    transform-origin: 0 0;
}

/* === CONTENT BEREICH === */
.content {
    padding: 50px 40px;
}

.section {
    margin-bottom: 40px;
}

.section:last-child {
    margin-bottom: 0;
}

/* === TYPOGRAFIE === */
h2 {
    color: #3d3d3d;
    font-size: 1.4em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #d65a00;
    display: inline-block;
}

h3 {
    color: #3d3d3d;
    font-size: 1.2em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-text {
    color: #555;
    font-size: 1.1em;
    line-height: 1.8;
}

/* === SERVICES GRID === */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.service-card {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #d65a00;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(214, 90, 0, 0.15);
}

.service-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.service-title {
    font-weight: 600;
    color: #3d3d3d;
    margin-bottom: 8px;
    font-size: 1.1em;
}

/* === KONTAKT-BOX === */
.contact-box {
    background: linear-gradient(135deg, #3d3d3d 0%, #2d2d2d 100%);
    padding: 35px;
    border-radius: 12px;
    color: white;
    margin-top: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
    font-size: 1.1em;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #d65a00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.3em;
    flex-shrink: 0;
}

.contact-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ff7a1a;
}

/* === KONTAKTFORMULAR === */
.contact-form {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    margin-top: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3d3d3d;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d65a00;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #d65a00 0%, #ff7a1a 100%);
    color: white;
    padding: 14px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 90, 0, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 90, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* === MELDUNGEN === */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* === HONEYPOT FELD (versteckt) === */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

/* === FOOTER === */
.footer {
    background: #f8f8f8;
    padding: 25px 40px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #3d3d3d;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d65a00;
}

/* === RECHTLICHE SEITEN === */
.legal-content {
    color: #555;
    line-height: 1.8;
}

.legal-content p {
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 8px;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: #d65a00;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .content {
        padding: 30px 25px;
    }

    .footer {
        padding: 20px 25px;
    }

    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}
