/* =========================================================
   ANTON LANZ
   HAUPTSEITE
   DESIGN WIE FICHTEN-LANDINGPAGE
========================================================= */

:root {
    --orange: #E17A19;
    --orange-hover: #C96812;
    --orange-focus: rgba(225, 122, 25, 0.18);

    --anthrazit: #242422;
    --anthrazit-hell: #30302e;

    --schwarz: #111111;
    --weiss: #ffffff;

    --hellgrau: #f3f3f1;
    --mittelgrau: #e8e8e5;
    --linie: #d8d8d4;

    --text: #202020;
    --text-grau: #686865;
    --text-hell: #ffffff;
    --text-dunkel-hell: #d0d0cc;

    --container: 1280px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--weiss);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea,
a {
    outline-offset: 3px;
}

.container {
    width: min(var(--container), 88%);
    margin: 0 auto;
}


/* =========================================================
   ANKER
========================================================= */

#produkte,
#sonderanfertigungen,
#referenzen,
#erfahrung,
#kontakt {
    scroll-margin-top: 40px;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: relative;
    z-index: 50;
    width: 100%;
    padding: 27px 0;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    flex-shrink: 0;
    color: var(--schwarz);
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.5px;
}

.logo span {
    display: block;
    margin-top: 7px;
    color: var(--text-grau);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 3px;
    text-transform: uppercase;
}


/* =========================================================
   NAVIGATION
========================================================= */

nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

nav a {
    position: relative;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.25s ease;
}

nav a:not(.nav-cta):hover {
    color: var(--orange);
}

nav a:not(.nav-cta):hover::after {
    width: 100%;
}


/* =========================================================
   NAVIGATION CTA
========================================================= */

.nav-cta {
    padding: 17px 27px;
    color: var(--weiss);
    background: var(--orange);
    border: 1px solid var(--orange);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.nav-cta:hover {
    color: var(--weiss);
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    transform: translateY(-1px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 650px;
    height: 76vh;

    display: flex;
    align-items: center;

    background-image: url("bilder/brettschichtholz-leimbinder-holztragwerk-halle.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.52) 38%,
            rgba(0, 0, 0, 0.18) 70%,
            rgba(0, 0, 0, 0.04) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 940px;
    transform: translateX(-100px);
}

.hero-label {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 2.7px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 900px;
    margin-top: 19px;
    color: var(--weiss);
    font-size: clamp(55px, 5.2vw, 82px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -2.8px;
}

.hero-text {
    max-width: 720px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    display: inline-block;
    padding: 18px 27px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--weiss);
    background: var(--orange);
    border: 1px solid var(--orange);
}

.button-primary:hover {
    color: var(--weiss);
    background: var(--orange-hover);
    border-color: var(--orange-hover);
}

.button-secondary {
    color: var(--weiss);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.button-secondary:hover {
    color: var(--schwarz);
    background: var(--weiss);
    border-color: var(--weiss);
}

.button-dark {
    margin-top: 25px;
    color: var(--weiss);
    background: var(--orange);
    border: 1px solid var(--orange);
}

.button-dark:hover {
    color: var(--weiss);
    background: var(--orange-hover);
    border-color: var(--orange-hover);
}


/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}


/* =========================================================
   VORTEILSLEISTE
========================================================= */

.vorteilsleiste {
    position: relative;
    z-index: 5;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
}

.vorteilsleiste-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.vorteil-item {
    min-height: 155px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 30px 26px;
    border-right: 1px solid var(--linie);
}

.vorteil-item:first-child {
    border-left: 1px solid var(--linie);
}

.vorteil-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--orange);
}

.vorteil-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vorteil-text {
    min-width: 0;
}

.vorteil-item strong {
    display: block;
    margin-bottom: 7px;
    color: var(--schwarz);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.vorteil-item span {
    display: block;
    color: var(--text-grau);
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   PRODUKTE
========================================================= */

.produkte {
    padding: 145px 0;
    background: var(--weiss);
}

.section-header {
    max-width: 970px;
    margin-bottom: 65px;
}

.section-header h2 {
    max-width: 900px;
    margin-top: 15px;
    color: var(--schwarz);
    font-size: clamp(43px, 4.4vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -2.3px;
}

.section-intro {
    max-width: 760px;
    margin-top: 25px;
    color: var(--text-grau);
    font-size: 18px;
    line-height: 1.75;
}


/* =========================================================
   PRODUKT GRID
========================================================= */

.produkt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.produkt-card {
    display: flex;
    flex-direction: column;
    background: var(--hellgrau);
    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.produkt-card:hover {
    transform: translateY(-3px);
}

.produkt-image {
    height: 360px;
    overflow: hidden;
    background: var(--mittelgrau);
}

.produkt-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.produkt-card:hover .produkt-image img {
    transform: scale(1.035);
}

.produkt-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 32px 30px 37px;
}

.produkt-number {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.produkt-content h3 {
    margin-top: 15px;
    color: var(--schwarz);
    font-size: 29px;
    font-weight: 700;
    line-height: 1.18;
}

.produkt-content p {
    min-height: 110px;
    margin-top: 16px;
    color: var(--text-grau);
    font-size: 16px;
    line-height: 1.8;
}

.produkt-content a {
    display: inline-block;
    margin-top: auto;
    padding-top: 24px;
    color: var(--orange);
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: color 0.2s ease;
}

.produkt-content a:hover {
    color: var(--orange-hover);
}


/* =========================================================
   KOMPETENZ
========================================================= */

.kompetenz {
    padding: 145px 0;
    color: var(--weiss);
    background: var(--anthrazit);
}

.kompetenz-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 100px;
}

.kompetenz-image {
    height: 700px;
    overflow: hidden;
    background: var(--anthrazit-hell);
}

.kompetenz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.kompetenz-image:hover img {
    transform: scale(1.02);
}

.kompetenz-content .section-label {
    color: var(--orange);
}

.kompetenz-content h2 {
    margin-top: 16px;
    color: var(--weiss);
    font-size: clamp(43px, 4.2vw, 66px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -2.2px;
}

.kompetenz-lead {
    margin-top: 30px;
    color: var(--weiss);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.65;
}

.kompetenz-text {
    margin-top: 18px;
    color: var(--text-dunkel-hell);
    font-size: 17px;
    line-height: 1.85;
}


/* =========================================================
   KOMPETENZ PUNKTE
========================================================= */

.kompetenz-punkte {
    margin-top: 38px;
    border-top: 1px solid #4a4a47;
}

.kompetenz-punkt {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding: 22px 0;
    border-bottom: 1px solid #4a4a47;
}

.kompetenz-punkt > span {
    padding-top: 2px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.kompetenz-punkt strong {
    display: block;
    margin-bottom: 6px;
    color: var(--weiss);
    font-size: 16px;
    font-weight: 700;
}

.kompetenz-punkt p {
    color: var(--text-dunkel-hell);
    font-size: 15px;
    line-height: 1.7;
}

.kompetenz-button {
    display: inline-block;
    margin-top: 31px;
    padding: 18px 27px;
    color: var(--weiss);
    background: var(--orange);
    border: 1px solid var(--orange);
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.kompetenz-button:hover {
    color: var(--weiss);
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    transform: translateY(-2px);
}


/* =========================================================
   REFERENZEN
========================================================= */

.referenzen {
    padding: 145px 0;
    background: var(--hellgrau);
}

.referenzen-header {
    max-width: 970px;
    margin-bottom: 65px;
}

.referenzen-header .section-label {
    color: var(--orange);
}

.referenzen-header h2 {
    max-width: 900px;
    margin-top: 15px;
    color: var(--schwarz);
    font-size: clamp(43px, 4.4vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -2.3px;
}

.referenzen-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(2, 310px);
    gap: 20px;
}

.referenz {
    position: relative;
    overflow: hidden;
    background: var(--anthrazit);
}

.referenz-gross {
    grid-row: 1 / 3;
}

.referenz img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.referenz::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 42%,
            rgba(0, 0, 0, 0.78) 100%
        );
}

.referenz:hover img {
    transform: scale(1.035);
}

.referenz figcaption {
    position: absolute;
    left: 28px;
    bottom: 26px;
    z-index: 2;
    color: var(--weiss);
    font-size: 18px;
    font-weight: 700;
}


/* =========================================================
   ERFAHRUNG & FERTIGUNG
========================================================= */

.vertrauen {
    padding: 145px 0;
    background: var(--weiss);
}

.vertrauen-header {
    max-width: 980px;
    margin-bottom: 65px;
}

.vertrauen-header h2 {
    max-width: 930px;
    margin-top: 15px;
    color: var(--schwarz);
    font-size: clamp(43px, 4.4vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -2.3px;
}

.vertrauen-intro {
    max-width: 780px;
    margin-top: 25px;
    color: var(--text-grau);
    font-size: 18px;
    line-height: 1.75;
}

.vertrauen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--linie);
    border-bottom: 1px solid var(--linie);
}

.vertrauen-fakt {
    min-height: 315px;
    padding: 38px 30px 40px;
    border-right: 1px solid var(--linie);
}

.vertrauen-fakt:first-child {
    border-left: 1px solid var(--linie);
}

.vertrauen-zahl {
    display: block;
    color: var(--orange);
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.5px;
}

.vertrauen-fakt h3 {
    margin-top: 26px;
    color: var(--schwarz);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.vertrauen-fakt p {
    margin-top: 15px;
    color: var(--text-grau);
    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   SONDERQUERSCHNITTE
========================================================= */

.vertrauen-sonder {
    display: grid;
    grid-template-columns: 0.34fr 0.66fr;
    align-items: stretch;
    margin-top: 55px;
    background: var(--anthrazit);
}

.vertrauen-sonder-zahl {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 330px;
    padding: 45px 35px;
    color: var(--orange);
    border-right: 1px solid #4a4a47;
    font-size: clamp(45px, 5vw, 72px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    text-align: center;
}

.vertrauen-sonder-content {
    padding: 55px 60px;
}

.vertrauen-sonder-content h3 {
    max-width: 700px;
    margin-top: 14px;
    color: var(--weiss);
    font-size: clamp(31px, 3vw, 45px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1.4px;
}

.vertrauen-sonder-content > p:not(.section-label) {
    max-width: 680px;
    margin-top: 20px;
    color: var(--text-dunkel-hell);
    font-size: 17px;
    line-height: 1.8;
}

.vertrauen-link {
    display: inline-block;
    margin-top: 27px;
    color: var(--orange);
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: color 0.2s ease;
}

.vertrauen-link:hover {
    color: var(--weiss);
}


/* =========================================================
   ZWISCHEN CTA
========================================================= */

.zwischen-cta {
    padding: 120px 0;
    background: var(--orange);
}

.zwischen-cta-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 105px;
}

.zwischen-cta .section-label {
    color: rgba(255, 255, 255, 0.82);
}

.zwischen-cta h2 {
    max-width: 760px;
    margin-top: 15px;
    color: var(--weiss);
    font-size: clamp(43px, 4.4vw, 66px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -2.3px;
}

.zwischen-cta-grid > div:last-child p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 18px;
    line-height: 1.8;
}

.zwischen-cta .button-dark {
    color: var(--schwarz);
    background: var(--weiss);
    border-color: var(--weiss);
}

.zwischen-cta .button-dark:hover {
    color: var(--weiss);
    background: var(--schwarz);
    border-color: var(--schwarz);
}


/* =========================================================
   KONTAKT
========================================================= */

.kontakt {
    padding: 145px 0;
    background: var(--weiss);
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
    gap: 105px;
}

.kontakt-info {
    position: sticky;
    top: 35px;
}

.kontakt-info h2 {
    margin-top: 15px;
    color: var(--schwarz);
    font-size: clamp(43px, 4.3vw, 66px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -2.3px;
}

.kontakt-einleitung {
    max-width: 500px;
    margin-top: 26px;
    color: var(--text-grau);
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   KONTAKT HINWEIS
========================================================= */

.kontakt-hinweis {
    margin-top: 40px;
    padding: 29px;
    background: var(--hellgrau);
    border-left: 5px solid var(--orange);
}

.kontakt-hinweis strong {
    display: block;
    margin-bottom: 16px;
    color: var(--schwarz);
    font-size: 16px;
    font-weight: 800;
}

.kontakt-hinweis ul {
    padding-left: 18px;
}

.kontakt-hinweis li {
    margin: 9px 0;
    color: var(--text-grau);
    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   FORMULAR
========================================================= */

.formular-box {
    padding: 52px;
    background: var(--anthrazit);
}

.projektformular {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.formular-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.formular-feld {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.formular-breit {
    grid-column: 1 / -1;
}

.formular-feld label {
    color: var(--weiss);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
}


/* =========================================================
   FORMULAR INPUTS
========================================================= */

.formular-feld input,
.formular-feld select,
.formular-feld textarea {
    width: 100%;
    padding: 17px 18px;
    color: var(--schwarz);
    background: var(--weiss);
    border: 1px solid var(--weiss);
    border-radius: 0;
    outline: none;
    font-size: 16px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.formular-feld input:focus,
.formular-feld select:focus,
.formular-feld textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 2px var(--orange-focus);
}

.formular-feld textarea {
    resize: vertical;
}

.formular-feld small {
    color: #b9b9b5;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   DATEI UPLOAD
========================================================= */

.formular-feld input[type="file"] {
    padding: 12px;
    background: var(--weiss);
    cursor: pointer;
}

.formular-feld input[type="file"]::file-selector-button {
    margin-right: 15px;
    padding: 12px 16px;
    color: var(--weiss);
    background: var(--orange);
    border: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    transition: background 0.2s ease;
}

.formular-feld input[type="file"]::file-selector-button:hover {
    background: var(--orange-hover);
}


/* =========================================================
   CHECKBOX
========================================================= */

.formular-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.formular-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--orange);
}

.formular-checkbox label {
    color: #c4c4c0;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   FORMULAR BUTTON
========================================================= */

.formular-button {
    width: 100%;
    padding: 20px 25px;
    color: var(--weiss);
    background: var(--orange);
    border: 1px solid var(--orange);
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.formular-button:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    transform: translateY(-1px);
}

.formular-button:disabled {
    cursor: wait;
    opacity: 0.6;
    transform: none;
}


/* =========================================================
   FORMULAR STATUS
========================================================= */

.formular-status {
    display: none;
    padding: 16px;
    color: var(--weiss);
    background: var(--anthrazit-hell);
    border-left: 4px solid var(--orange);
    font-size: 15px;
    line-height: 1.6;
}

.formular-status.aktiv {
    display: block;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 85px 0 28px;
    color: #ccccca;
    background: var(--anthrazit);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
    padding-bottom: 70px;
}

.footer-logo {
    display: inline-block;
    color: var(--weiss);
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.footer-logo span {
    display: block;
    margin-top: 7px;
    color: var(--orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-grid strong {
    margin-bottom: 8px;
    color: var(--weiss);
    font-size: 15px;
    letter-spacing: 0.5px;
}

.footer-grid a {
    color: #aaa9a5;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.footer-grid a:hover {
    color: var(--orange);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid #484845;
    color: #858581;
    font-size: 12px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a {
    color: #858581;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--orange);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .container {
        width: min(90%, var(--container));
    }

    .hero-content {
        transform: none;
    }

    nav {
        gap: 18px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        min-height: 640px;
        height: auto;
        padding: 120px 0;
    }

    .hero h1 {
        font-size: clamp(52px, 8.5vw, 76px);
    }

    .hero-text {
        font-size: 18px;
    }


    /* VORTEILE */

    .vorteilsleiste-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vorteil-item {
        justify-content: flex-start;
        border-bottom: 1px solid var(--linie);
    }

    .vorteil-item:nth-child(odd) {
        border-left: 1px solid var(--linie);
    }


    /* PRODUKTE */

    .produkt-grid {
        grid-template-columns: 1fr 1fr;
    }

    .produkt-card:last-child {
        grid-column: 1 / -1;
    }

    .produkt-card:last-child .produkt-image {
        height: 500px;
    }


    /* KOMPETENZ */

    .kompetenz {
        padding: 110px 0;
    }

    .kompetenz-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .kompetenz-image {
        height: 600px;
    }


    /* REFERENZEN */

    .referenzen-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 430px 320px;
    }

    .referenz-gross {
        grid-column: 1 / -1;
        grid-row: auto;
    }


    /* ERFAHRUNG & FERTIGUNG */

    .vertrauen {
        padding: 110px 0;
    }

    .vertrauen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vertrauen-fakt {
        border-bottom: 1px solid var(--linie);
    }

    .vertrauen-fakt:nth-child(odd) {
        border-left: 1px solid var(--linie);
    }

    .vertrauen-sonder {
        grid-template-columns: 1fr;
    }

    .vertrauen-sonder-zahl {
        min-height: 210px;
        border-right: 0;
        border-bottom: 1px solid #4a4a47;
    }


    /* CTA */

    .zwischen-cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    /* KONTAKT */

    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .kontakt-info {
        position: static;
    }
}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(91%, var(--container));
    }


    /* HEADER */

    .header {
        padding: 15px 0;
    }

    .navigation {
        gap: 14px;
    }

    .logo {
        font-size: 19px;
    }

    .logo span {
        font-size: 9px;
        letter-spacing: 2.4px;
    }

    nav a:not(.nav-cta) {
        display: none;
    }

    .nav-cta {
        padding: 13px 15px;
        font-size: 11px;
    }


    /* HERO */

    .hero {
        min-height: 620px;
        height: auto;
        padding: 90px 0;
        background-position: 60% center;
    }

    .hero-content {
        transform: none;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.82) 0%,
                rgba(0, 0, 0, 0.65) 65%,
                rgba(0, 0, 0, 0.30) 100%
            );
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(44px, 13vw, 60px);
        line-height: 1.02;
        letter-spacing: -2px;
    }

    .hero-label {
        font-size: 12px;
    }

    .hero-text {
        max-width: 96%;
        margin-top: 24px;
        font-size: 17px;
        line-height: 1.7;
    }

    .hero-buttons {
        margin-top: 30px;
    }

    .button {
        padding: 16px 19px;
        font-size: 13px;
    }


    /* VORTEILE */

    .vorteilsleiste-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vorteil-item {
        min-height: 145px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
        padding: 20px 16px;
        border-left: 0;
        border-right: 1px solid var(--linie);
        border-bottom: 1px solid var(--linie);
    }

    .vorteil-item:first-child,
    .vorteil-item:nth-child(odd) {
        border-left: 0;
    }

    .vorteil-item:nth-child(even) {
        border-right: 0;
    }

    .vorteil-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .vorteil-icon svg {
        width: 23px;
        height: 23px;
    }

    .vorteil-item strong {
        font-size: 14px;
    }

    .vorteil-item span {
        font-size: 12px;
    }


    /* PRODUKTE */

    .produkte {
        padding: 90px 0;
    }

    .section-header {
        margin-bottom: 45px;
    }

    .section-header h2 {
        font-size: 39px;
        letter-spacing: -1.7px;
    }

    .section-intro {
        font-size: 17px;
    }

    .produkt-grid {
        grid-template-columns: 1fr;
    }

    .produkt-card:last-child {
        grid-column: auto;
    }

    .produkt-image,
    .produkt-card:last-child .produkt-image {
        height: 360px;
    }

    .produkt-content {
        padding: 28px 24px 32px;
    }

    .produkt-content p {
        min-height: 0;
        font-size: 16px;
    }


    /* KOMPETENZ */

    .kompetenz {
        padding: 90px 0;
    }

    .kompetenz-image {
        height: 450px;
    }

    .kompetenz-content h2 {
        font-size: 40px;
        letter-spacing: -1.7px;
    }

    .kompetenz-lead {
        font-size: 18px;
    }

    .kompetenz-text {
        font-size: 16px;
    }


    /* REFERENZEN */

    .referenzen {
        padding: 90px 0;
    }

    .referenzen-header h2 {
        font-size: 39px;
        letter-spacing: -1.7px;
    }

    .referenzen-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .referenz,
    .referenz-gross {
        grid-column: auto;
        grid-row: auto;
        height: 360px;
    }


    /* ERFAHRUNG & FERTIGUNG */

    .vertrauen {
        padding: 90px 0;
    }

    .vertrauen-header {
        margin-bottom: 45px;
    }

    .vertrauen-header h2 {
        font-size: 39px;
        letter-spacing: -1.7px;
    }

    .vertrauen-intro {
        font-size: 17px;
    }

    .vertrauen-grid {
        grid-template-columns: 1fr;
    }

    .vertrauen-fakt,
    .vertrauen-fakt:first-child,
    .vertrauen-fakt:nth-child(odd) {
        min-height: 0;
        padding: 31px 24px 34px;
        border-left: 1px solid var(--linie);
        border-right: 1px solid var(--linie);
    }

    .vertrauen-zahl {
        font-size: 40px;
    }

    .vertrauen-sonder {
        margin-top: 40px;
    }

    .vertrauen-sonder-zahl {
        min-height: 170px;
        padding: 35px 24px;
        font-size: 52px;
    }

    .vertrauen-sonder-content {
        padding: 40px 28px 45px;
    }

    .vertrauen-sonder-content h3 {
        font-size: 34px;
    }

    .vertrauen-sonder-content > p:not(.section-label) {
        font-size: 16px;
    }


    /* CTA */

    .zwischen-cta {
        padding: 88px 0;
    }

    .zwischen-cta h2 {
        font-size: 40px;
        letter-spacing: -1.7px;
    }

    .zwischen-cta-grid > div:last-child p {
        font-size: 17px;
    }


    /* KONTAKT */

    .kontakt {
        padding: 90px 0;
    }

    .kontakt-info h2 {
        font-size: 40px;
        letter-spacing: -1.7px;
    }


    /* FORMULAR */

    .formular-box {
        padding: 30px 20px;
    }

    .formular-grid {
        grid-template-columns: 1fr;
    }

    .formular-breit {
        grid-column: auto;
    }

    .formular-feld label {
        font-size: 14px;
    }

    .formular-feld input,
    .formular-feld select,
    .formular-feld textarea {
        font-size: 16px;
    }


    /* FOOTER */

    .footer {
        padding-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-bottom: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}


/* =========================================================
   KLEINE SMARTPHONES
========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
        text-align: center;
    }


    /* VORTEILE */

    .vorteilsleiste-grid {
        grid-template-columns: 1fr;
    }

    .vorteil-item {
        min-height: auto;
        flex-direction: row;
        align-items: center;
        padding: 19px 11px;
        border-right: 0;
    }


    /* ÜBERSCHRIFTEN */

    .section-header h2,
    .referenzen-header h2,
    .vertrauen-header h2,
    .zwischen-cta h2,
    .kontakt-info h2,
    .kompetenz-content h2 {
        font-size: 35px;
    }


    /* VERTRAUENSBLOCK */

    .vertrauen-sonder-content h3 {
        font-size: 31px;
    }


    /* BILDER */

    .produkt-image,
    .produkt-card:last-child .produkt-image {
        height: 310px;
    }

    .kompetenz-image {
        height: 380px;
    }

    .referenz,
    .referenz-gross {
        height: 310px;
    }
}


/* =========================================================
   REDUZIERTE BEWEGUNG
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   FAQ
========================================================= */

.faq {
    padding: 110px 0;
    background: #f5f3ef;
}

.faq-header {
    max-width: 760px;
    margin-bottom: 55px;
}

.faq-header h2 {
    margin: 12px 0 20px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.faq-intro {
    max-width: 680px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: #5b5b57;
}


/* FAQ LISTE */

.faq-list {
    max-width: 1000px;
    border-top: 1px solid rgba(20, 20, 18, 0.16);
}

.faq-item {
    border-bottom: 1px solid rgba(20, 20, 18, 0.16);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 28px 0;

    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.45;

    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
}


/* PLUS */

.faq-icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(20, 20, 18, 0.25);
    border-radius: 50%;

    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}


/* ANTWORT */

.faq-answer {
    max-width: 780px;
    padding: 0 70px 30px 0;
}

.faq-answer p {
    margin: 0;

    font-size: 1rem;
    line-height: 1.8;

    color: #5b5b57;
}


/* HOVER */

.faq-item summary:hover .faq-icon {
    background: #1d2b24;
    color: #ffffff;
}


/* =========================================================
   FAQ CTA
========================================================= */

.faq-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 60px;

    margin-top: 75px;
    padding: 45px 50px;

    background: #242422;
    color: #ffffff;
}

.faq-cta .section-label {
    color: rgba(255, 255, 255, 0.65);
}

.faq-cta h3 {
    max-width: 620px;

    margin: 10px 0 15px;

    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.faq-cta p {
    max-width: 650px;

    margin: 0;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.75);
}

.faq-cta .button-primary {
    white-space: nowrap;
}


/* =========================================================
   FAQ RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .faq {
        padding: 85px 0;
    }

    .faq-header {
        margin-bottom: 40px;
    }

    .faq-cta {
        grid-template-columns: 1fr;
        gap: 30px;

        margin-top: 55px;
        padding: 38px;
    }

}


@media (max-width: 600px) {

    .faq {
        padding: 65px 0;
    }

    .faq-header {
        margin-bottom: 32px;
    }

    .faq-item summary {
        gap: 18px;
        padding: 22px 0;

        font-size: 1.05rem;
    }

    .faq-icon {
        width: 34px;
        height: 34px;

        font-size: 1.2rem;
    }

    .faq-answer {
        padding: 0 0 25px;
    }

    .faq-answer p {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .faq-cta {
        margin-top: 45px;
        padding: 30px 24px;
    }

    .faq-cta h3 {
        font-size: 1.65rem;
    }

}