/* ===================================
   Allgemein
=================================== */

body {
    background: #f5f7fa;
}

.website main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 70px 0;
}


/* ===================================
   Hero
=================================== */

.hero {
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero-content {
    max-width: 720px;
}

.hero-subtitle {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 650px;
}


/* ===================================
   Bereiche
=================================== */

.section-title {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-text {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--muted);
}


/* ===================================
   Karten
=================================== */

.card-grid {
    display: grid;
    gap: 30px;
}

.card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.card-image img {
    display: block;
    width: 100%;
    height: auto;
}

.card-content {
    padding: 25px;
}


/* ===================================
   Buttons
=================================== */

.btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 26px;

    border-radius: 999px;

    font-weight: 600;

    text-decoration: none;

    transition: all .2s ease;

    width: fit-content;

}

.btn-primary {

    background: var(--text);

    color: white;

}

.btn-primary:hover {

    background: #3a3a3a;

    transform: translateY(-2px);

}

.btn-arrow {

    transition: transform .2s ease;

}

.btn:hover .btn-arrow {

    transform: translateX(4px);

}

.section-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.section-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-secondary {

    background: var(--card);

    color: var(--text);

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

}

.btn-secondary:hover {

    background: var(--accent-light);

    border-color: var(--accent);

    transform: translateY(-2px);

}

/* ===================================
   Responsive
=================================== */

@media (min-width:900px) {

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ===================================
   Hero
=================================== */



/* ===================================
   Schriftzug
=================================== */

.lettering-section .container {

    display: grid;
    gap: 60px;
    align-items: center;

}

.section-image {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

}

.image-wide {

    grid-column: 1 / -1;

}

.image-card {

    background: var(--card);

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

    border-radius: var(--radius);

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: var(--shadow);

    transition: transform .2s ease;

}

.image-card:hover {

    transform: translateY(-4px);

}

.image-card img {

    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
    object-position: center center;

}

.section-content {

    display: flex;

    flex-direction: column;

    gap: 24px;

}

.eyebrow {

    font-size: .85rem;

    font-weight: 700;

    letter-spacing: .12em;

    color: var(--accent);

}

.section-content h2 {

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.15;

}

.section-content p {

    color: var(--muted);

    line-height: 1.8;

}

.section-content ul {

    margin: 0;
    padding: 0;

    list-style: none;

    display: grid;

    gap: 14px;

}

.section-content li {

    position: relative;

    padding-left: 28px;

}

.section-content li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: var(--accent);

    font-weight: 700;

}



@media (min-width: 900px) {

    .lettering-section .container {

        grid-template-columns: 1.1fr 1fr;

    }

}

@media (max-width: 899px) {

    .section-image {

        order: 2;

    }

    .section-content {

        order: 1;

    }

}



/* ==========================================================
   Layout-Bereich
========================================================== */

.layout-section .container {

    display: grid;

    gap: 60px;

    align-items: center;

}


/* ----------------------------------------------------------
   Bildbereich
---------------------------------------------------------- */

.layout-images {

    display: grid;

    grid-template-columns: 1.35fr 1fr;

    gap: 20px;

    align-items: stretch;

}


/* Großes Wandbild */

.layout-main-image {

    height: 100%;

    overflow: hidden;

}

.layout-main-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}


/* ----------------------------------------------------------
   Rechte Bildspalte
---------------------------------------------------------- */

.layout-side-images {

    display: grid;

    grid-template-rows: 1fr 1fr;

    gap: 20px;

}

.layout-side-images .image-card {

    overflow: hidden;

}

.layout-side-images img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

}


/* ----------------------------------------------------------
   Gemeinsame Bildkarten
---------------------------------------------------------- */

.layout-images .image-card {

    background: var(--card);

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

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    overflow: hidden;

}


/* ----------------------------------------------------------
   Desktop
---------------------------------------------------------- */

@media (min-width: 900px) {

    .layout-section .container {

        display: grid;

        grid-template-columns: 1.1fr 0.9fr;

        gap: 60px;

        align-items: center;

    }

    .layout-section .layout-images {

        grid-column: 1;

        grid-row: 1;

    }

    .layout-section .section-content {

        grid-column: 2;

        grid-row: 1;

    }

}


/* ----------------------------------------------------------
   Mobile
---------------------------------------------------------- */

@media (max-width: 899px) {

    .layout-images {

        grid-template-columns: 1fr;

    }

    .layout-side-images {

        grid-template-columns: 1fr 1fr;

        grid-template-rows: none;

    }

}


/* ==========================================================
   Vorteile
========================================================== */

.advantages {

    padding: 90px 0;

    background: var(--card);

}


.advantages-heading {

    max-width: 700px;

    margin-bottom: 50px;

}


.advantages-heading h2 {

    margin-top: 10px;

    font-size: clamp(2rem, 4vw, 3rem);

}


.advantages-heading p {

    margin-top: 20px;

    color: var(--muted);

    line-height: 1.8;

}


.advantages-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 18px;

}


.advantage-card {

    padding: 28px;

    background: var(--bg);

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

    border-radius: var(--radius);

}


.advantage-card h3 {

    margin-bottom: 10px;

    font-size: 1.15rem;

}


.advantage-card p {

    color: var(--muted);

    line-height: 1.7;

}


@media (min-width: 700px) {

    .advantages-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


@media (min-width: 1100px) {

    .advantages-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}


/* ===================================
   Beispiele
=================================== */






/* ===================================
   Responsive
=================================== */

@media (min-width: 768px) {}

/* ==========================================================
   Vorlagen
========================================================== */

.templates-page {

    padding-top: 60px;
    padding-bottom: 90px;

}


.templates-heading {

    max-width: 1200px;

    margin-bottom: 45px;

}


.templates-heading h1 {

    margin-top: 10px;

    font-size: clamp(2rem, 5vw, 3.2rem);

    line-height: 1.1;

}


.templates-heading p {

    margin-top: 20px;

    color: var(--muted);

    line-height: 1.8;

}

.templates-heading-note {
    margin-top: 14px;
    font-weight: 600;
    color: var(--text);
}


/* ==========================================================
   Filter
========================================================== */

.template-filters {

    display: grid;

    grid-template-columns: 1fr;

    gap: 16px;

    margin-bottom: 55px;

    padding: 20px;

    background: var(--card);

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

    border-radius: var(--radius);

}


.template-filter,
.template-search {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


.template-filters label {

    font-size: .85rem;

    font-weight: 600;

}


.template-filters select,
.template-filters input {

    width: 100%;

    min-height: 46px;

    padding: 10px 13px;

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

    border-radius: 8px;

    background: var(--bg);

    color: var(--text);

    font: inherit;

}


.template-filters input:focus,
.template-filters select:focus {

    outline: none;

    border-color: var(--text);

}

.template-style-filter {
    display: none;
}


/* ==========================================================
   Template Grid
========================================================== */

.template-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 24px;

}


/*
 * Kategorieüberschrift nimmt die komplette Breite ein.
 */

.template-category {

    grid-column: 1 / -1;

    margin-top: 30px;

    margin-bottom: 0;

    padding-bottom: 12px;

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

    font-size: 1.5rem;

}


.template-category:first-child {

    margin-top: 0;

}


/* ==========================================================
   Template Card
========================================================== */

.template-card {

    display: flex;

    flex-direction: column;

    overflow: hidden;

    background: var(--card);

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

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.template-card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);

}


.template-preview {

    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: contain;

    background: #f5f5f5;

    cursor: pointer;

}


.template-card-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 20px;

}


.template-style {

    margin-bottom: 6px;

    font-size: .75rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: var(--muted);

}


.template-title {

    margin: 0;

    font-size: 1.15rem;

}


.template-description {

    margin-top: 10px;

    margin-bottom: 22px;

    color: var(--muted);

    line-height: 1.6;

}


.template-button {

    margin-top: auto;

}


/* ==========================================================
   Leere Suche / Fehler
========================================================== */

.template-empty,
.template-error {

    padding: 50px 20px;

    text-align: center;

}


.template-empty h2,
.template-error h2 {

    margin-bottom: 10px;

}


.template-empty p,
.template-error p {

    color: var(--muted);

}


/* ==========================================================
   Tablet
========================================================== */

@media (min-width: 650px) {

    .template-filters {

        grid-template-columns:
            1fr 1fr;

    }


    .template-search {

        grid-column: 1 / -1;

    }


    .template-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* ==========================================================
   Desktop
========================================================== */

@media (min-width: 1000px) {

    .template-filters {

        grid-template-columns:
            1fr 1fr 1.5fr;

        align-items: end;

    }


    .template-search {

        grid-column: auto;

    }


    .template-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

    }

}


/* ==========================================================
   Große Desktop-Bildschirme
========================================================== */

@media (min-width: 1300px) {

    .template-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

    }

}

/* =========================
   Tipps – Modus Zusammenfassung
========================= */

.tips-mode-summary {

    margin: 24px 0;

    padding: 18px 20px;

    border-left: 4px solid var(--accent-color);

    background: rgba(0, 0, 0, 0.04);

    border-radius: 0 8px 8px 0;

}

.tips-mode-summary strong {

    display: block;

    margin-bottom: 6px;

}

.tips-mode-summary p {

    margin: 0;

}