/* ==========================================
   No Bricks No Fun Design System
========================================== */

:root{

    --color-primary:#111111;
    --color-background:#f5f5f5;
    --color-surface:#ffffff;
    --color-border:#dddddd;
    --color-text:#333333;
	--color-accent:#2f7cf6;
	--color-button:#111827;
	--color-button-border:#d1d5db;

    --shadow:0 8px 24px rgba(0,0,0,.08);

    --radius:14px;

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

body{

    background:var(--color-background);

    color:var(--color-text);

    font-family:Arial,Helvetica,sans-serif;

    line-height:1.6;

}

.container{

    width:min(1100px,92%);
    margin:auto;

}

.site-header{

    background:white;

    border-bottom:1px solid var(--color-border);

    padding:40px 0;

}

.site-header .container{

    display:flex;

    align-items:center;

    gap:30px;

}

.logo{

    width:90px;

}

.site-header h1{

    font-size:2rem;

}

.site-header p{

    color:#666;

    margin-top:8px;

}

main{

    padding:60px 0;

}

.intro{

    color:#666;

    margin-bottom:40px;

}

.service-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:25px;

}

.service-card{

    background:white;

    padding:30px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    border:1px solid var(--color-border);

    transition:.25s;

}

.service-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

.service-card h3{

    margin-bottom:18px;

    font-size:1.3rem;

}

.service-card p{

    color:#555;

    margin-bottom:25px;

}

.service-card a{

    color:#111;

    text-decoration:none;

    font-weight:bold;

}

.service-card a:hover{

    color:#666;

}

.site-footer{

    margin-top:80px;

    background:white;

    border-top:1px solid var(--color-border);

    padding:30px;

    text-align:center;

    color:#777;

}

/* ===================================
   Formulare
=================================== */

.form-card{

background:white;

padding:40px;

border-radius:var(--radius);

box-shadow:var(--shadow);

margin-top:35px;

max-width:760px;

}

.form-card h3{

margin-bottom:30px;

}

.form-group{

display:flex;

flex-direction:column;

margin-bottom:25px;

}

.form-group label{

font-weight:bold;

margin-bottom:8px;

}

.form-group input{

padding:14px;

font-size:16px;

border:1px solid #ccc;

border-radius:8px;

transition:.2s;

}

.form-group input:focus{

outline:none;

border-color:#111;

}

.form-group small{

margin-top:8px;

color:#666;

font-size:.9rem;

}
/* ===========================
   Fehlteile-Tabelle
=========================== */

.parts-table{
width:100%;
border-collapse:collapse;
margin-top:20px;
margin-bottom:20px;
}

.parts-table th{
text-align:left;
padding:12px;
font-size:14px;
border-bottom:2px solid #ddd;
}

.parts-table td{
padding:10px 5px;
}

.parts-table input{
width:100%;
padding:12px;
border:1px solid #d9d9d9;
border-radius:8px;
font-size:15px;
}
.parts-table select{

width:100%;

padding:12px;

border:1px solid #d9d9d9;

border-radius:8px;

font-size:15px;

background:white;

}
.remove-row{
background:none;
border:none;
cursor:pointer;
font-size:20px;
}

.remove-row:hover{
transform:scale(1.2);
}

.add-row{

background:#111;

color:white;

padding:12px 18px;

border:none;

border-radius:10px;

font-weight:bold;

cursor:pointer;

transition:.2s;

}

.add-row:hover{

background:#333;

}

/* ===========================
   Formular-Button
=========================== */

.form-actions{

margin-top:35px;

}

.submit-button{

width:100%;

padding:16px;

background:#111;

color:white;

border:none;

border-radius:10px;

font-size:17px;

font-weight:bold;

cursor:pointer;

transition:.2s;

}

.submit-button:hover{

background:#333;

}

/* ===========================
   Erfolgsmeldung
=========================== */

.success-message{

margin-bottom:25px;

padding:16px;

background:#e9f8ec;

border:1px solid #7fd38d;

border-radius:10px;

color:#256b33;

font-weight:bold;

}

.success-message {

    background: #eaf8ea;
    border: 1px solid #65c26a;
    color: #216b24;

    padding: 14px 16px;
    border-radius: 8px;

    margin-bottom: 24px;

    font-weight: 600;
}

.error-message {

    background: #fdeaea;
    border: 1px solid #d9534f;
    color: #a12622;

    padding: 14px 16px;
    border-radius: 8px;

    margin-bottom: 24px;

    font-weight: 600;
}

/* ===========================
   Navigation
=========================== */

.main-nav {
    background: #ffffff;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

.nav-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease;
}

.main-nav a:hover {
    color: var(--color-accent);
}

/* ===========================
   Footer
=========================== */

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-links {
    display: flex;
    gap: 14px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* ===========================
   Rechtstexte
=========================== */

.legal-page {
    padding: 50px 0;
}

.legal-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    margin-top: 30px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.legal-content {
    line-height: 1.8;
}

/* ===========================
   Fairness im Handel
=========================== */

.fairness-box {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
}

.fairness-logo {
    width: 70px;
    height: auto;
}

.home-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.button-primary,
.button-secondary {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
    background: var(--color-button);
    color: #ffffff;
}

.button-secondary {
    background: #ffffff;
    color: var(--color-button);
    border: 1px solid var(--color-button-border);
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.home-hero {
    padding: 28px 0 14px 0;
}

.home-hero-content {
    max-width: 820px;
}

.home-section {
    margin-top: 30px;
}

.home-section h2 {
    margin-bottom: 8px;
}

.home-section .intro {
    max-width: 860px;
    line-height: 1.7;
}

.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.service-card a {
    text-decoration: none;
}

.service-card a:hover {
    text-decoration: underline;
}

.service-teaser,
.about-section {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.service-teaser .home-actions {
    margin-top: 18px;
}

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

.main-nav a {
    position: relative;
    padding-bottom: 8px;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: #2563eb;
}

.shop-unavailable {
    display: inline-block;
    margin-top: 12px;
    font-weight: 700;
    color: #6b7280;
}

@media (max-width: 700px) {

    .site-header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding-top: 18px;
        padding-bottom: 14px;
    }

    .site-header .logo {
        width: 72px;
        height: auto;
    }

    .site-header h1 {
        font-size: 28px;
        line-height: 1.15;
        margin: 0;
    }

    .site-header p {
        font-size: 15px;
        line-height: 1.5;
        margin-top: 8px;
        max-width: 320px;
    }

    .main-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-container {
        justify-content: flex-start;
        gap: 24px;
        padding-left: 18px;
        padding-right: 18px;
        white-space: nowrap;
    }

    .main-nav a {
        font-size: 15px;
        padding-top: 12px;
        padding-bottom: 10px;
        flex: 0 0 auto;
    }

    main.container {
        padding-top: 34px;
    }

}

/* ==============================
   Button-Korrektur in Karten
============================== */

.service-card a.button-primary,
.service-card a.button-primary:visited {
    color: #ffffff;
}

.service-card a.button-secondary,
.service-card a.button-secondary:visited {
    color: var(--color-button);
}