/*
Theme Name: TI Steiner Landingpage
Theme URI: https://pixxl.eu
Author: Projektteam pixxl.eu und saschabrandstoetter.com
Description: Responsive One-Page-Theme für Technische Innovation Steiner.
Version: 1.0.3 SEO GEO
Requires at least: 6.0
Tested up to: 7.0.4
Requires PHP: 7.4
Text Domain: ti-steiner
*/

:root{
    --red:#8f1721;
    --dark:#14181b;
    --ink:#202428;
    --muted:#697078;
    --paper:#f4f2ee;
    --line:#d9d5ce
}
*{
    box-sizing:border-box
}
html{
    scroll-behavior:smooth
}
body{
    margin:0;
    background:#fff;
    color:var(--ink);
    font-family:Arial,Helvetica,sans-serif
}
a{
    color:inherit;
    text-decoration:none
}
img{
    display:block;
    max-width:100%
}
.nav{
    height:86px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 5vw;
    background:#fff;
    position:sticky;
    top:0;
    z-index:20;
    border-bottom:1px solid #eee
}
.brand.imgBrand{
    display:flex;
    align-items:center
}
.brand.imgBrand img{
    height:46px;
    width:auto;
    display:block
}
footer .brand.imgBrand img{
    height:52px
}
.nav nav{
    display:flex;
    align-items:center;
    gap:28px;
    font-size:13px;
    font-weight:700
}
.navCta{
    background:var(--red);
    color:white;
    padding:14px 20px
}
.hero{
    height:calc(100vh - 86px);
    min-height:650px;
    position:relative;
    background:url('/images/hero-engineering.webp') center/cover no-repeat;
    color:white;
    overflow:hidden
}
.heroShade{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(10,13,15,.95) 0%,rgba(10,13,15,.72) 42%,rgba(10,13,15,.08) 75%)
}
.heroCopy{
    position:absolute;
    left:8vw;
    top:50%;
    transform:translateY(-57%);
    max-width:660px
}
.eyebrow{
    font-size:12px;
    letter-spacing:.19em;
    font-weight:800;
    margin:0 0 24px
}
.red{
    color:var(--red)
}
h1,h2,h3,p{
    margin-top:0
}
h1{
    font-size:clamp(58px,7vw,105px);
    line-height:.91;
    letter-spacing:-.055em;
    margin-bottom:32px
}
h1 em{
    font-style:normal;
    color:#c34a51
}
h2{
    font-size:clamp(40px,4.4vw,68px);
    line-height:1;
    letter-spacing:-.045em
}
h3{
    font-size:25px;
    line-height:1.15
}
.heroCopy>p:not(.eyebrow){
    font-size:19px;
    line-height:1.7;
    max-width:570px;
    color:#d9dde0
}
.actions{
    display:flex;
    align-items:center;
    gap:30px;
    margin-top:34px
}
.button{
    display:inline-flex;
    justify-content:space-between;
    align-items:center;
    gap:35px;
    background:var(--red);
    color:#fff;
    padding:18px 22px;
    border:0;
    font-size:14px;
    font-weight:800;
    cursor:pointer
}
.textLink{
    font-size:14px;
    border-bottom:1px solid #999;
    padding-bottom:5px
}
.heroFacts{
    position:absolute;
    right:0;
    bottom:0;
    display:flex;
    background:rgba(15,18,20,.87);
    backdrop-filter:blur(8px)
}
.heroFacts div{
    padding:22px 34px;
    border-left:1px solid #4b4e50
}
.heroFacts strong{
    display:block;
    font-size:25px
}
.heroFacts span{
    font-size:11px;
    color:#bfc2c4
}
.section{
    padding:110px 8vw
}
/* Einfache Inhaltsseiten (Impressum, Datenschutz, etc.) —
   gleiche Breite wie Landingpage, kleinere Headline. */
.pageSection{
    padding:80px 8vw
}
.pageSection h1{
    font-size:clamp(32px,4vw,48px);
    line-height:1.1;
    letter-spacing:-.02em;
    margin-bottom:28px
}
.pageSection h2{
    font-size:clamp(22px,2.5vw,30px);
    line-height:1.2;
    margin-top:36px;
    margin-bottom:14px
}
.pageSection p,
.pageSection li{
    line-height:1.7;
    color:var(--ink)
}
.pageSection ul,
.pageSection ol{
    padding-left:1.4em
}
.pageSection a{
    color:var(--red);
    text-decoration:underline
}
.intro{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8vw;
    align-items:end
}
.lead{
    font-size:21px;
    line-height:1.7;
    color:var(--muted)
}
.cards{
    padding-top:0;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2px
}
.cards article{
    background:var(--paper);
    padding:38px;
    min-height:390px;
    position:relative
}
.cards article>span{
    position:absolute;
    right:24px;
    top:22px;
    color:#aaa;
    font-size:12px
}
.icon{
    color:var(--red);
    font-size:52px;
    margin:34px 0
}
.cards p{
    line-height:1.7;
    color:var(--muted)
}
.cards a{
    position:absolute;
    bottom:34px;
    font-size:13px;
    font-weight:800;
    color:var(--red)
}
.split{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    background:var(--dark);
    color:white
}
.splitPhoto{
    min-height:680px;
    background-size:cover;
    background-position:center
}
.cad{
    background-image:url('/images/cad-engineering.webp')
}
.splitCopy{
    padding:9vw 8vw
}
.splitCopy p:not(.eyebrow){
    color:#bac0c4;
    line-height:1.7
}
.splitCopy ul{
    list-style:none;
    padding:18px 0 0
}
.splitCopy li{
    padding:16px 0;
    border-bottom:1px solid #3e4245
}
.splitCopy li:before{
    content:'✓';
    color:#c34a51;
    margin-right:14px
}
.experience{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:9vw
}
.experienceHead p:last-child{
    color:var(--muted);
    line-height:1.7
}
.milestone{
    display:grid;
    grid-template-columns:120px 1fr;
    padding:24px 0;
    border-top:1px solid var(--line);
    line-height:1.5
}
.milestone b{
    color:var(--red);
    font-size:18px
}
.milestone span{
    color:#565d63
}

.references{
    text-align:center;
    background:var(--red);
    color:white
}
.references .eyebrow{
    color:white
}
.references .referenceNote{
    color:rgba(255,255,255,.55)
}
.references .logoRow{
    border-color:rgba(255,255,255,.2)
}
.references .logoRow b{
    color:white
}
.references .logoRow b+b{
    border-color:rgba(255,255,255,.2)
}
.logoRow{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    align-items:center;
    margin-top:55px;
    border:1px solid var(--line)
}
.logoRow b{
    padding:35px 15px;
    color:#5a6065;
    font-size:20px;
    letter-spacing:.04em
}
.logoRow b+b{
    border-left:1px solid var(--line)
}
.logoRow small{
    font-size:10px;
    letter-spacing:.18em
}
.referenceNote{
    font-size:11px;
    color:#969696;
    margin-top:18px
}
.contact{
    display:grid;
    grid-template-columns:.85fr 1.15fr;
    gap:8vw;
    background:var(--paper);
    padding:110px 8vw
}
.contact>div>p:not(.eyebrow){
    line-height:1.7;
    color:var(--muted)
}
.contactData{
    display:flex;
    flex-direction:column;
    gap:7px;
    margin-top:36px
}
.contactData a{
    color:var(--red);
    font-weight:bold
}
.contactData small{
    color:#999;
    margin-top:8px
}
form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    background:white;
    padding:40px;
    box-shadow:0 20px 60px #ddd
}
label{
    font-size:12px;
    font-weight:bold
}
input,select,textarea{
    display:block;
    width:100%;
    margin-top:8px;
    border:0;
    border-bottom:1px solid #aaa;
    padding:12px 4px;
    background:transparent;
    font:inherit
}
.full{
    grid-column:1/-1
}
.check{
    font-weight:normal;
    color:#666;
    display:flex;
    align-items:flex-start;
    gap:8px
}
.check input{
    width:auto;
    margin:2px 0
}
footer{
    background:#0e1113;
    color:white;
    padding:35px 8vw 20px 8vw;
    display:grid;
    grid-template-columns:1fr 1.2fr 1fr;
    gap:35px;
    align-items:center
}
footer .brand{
    max-width:270px
}
footer p{
    color:#9ea3a6;
    margin:0
}
footer div{
    display:flex;
    gap:20px;
    font-size:12px;
    justify-content:flex-end
}
footer>small{
    grid-column:1/-1;
    border-top:1px solid #333;
    padding-top:22px;
    color:#777
}
 @media(max-width:900px){
    .nav nav a:not(.navCta){
        display:none
    }
    .hero{
        min-height:720px
    }
    .heroCopy{
        left:6vw;
        right:6vw
    }
    .heroFacts{
        left:0;
        right:0
    }
    .heroFacts div{
        flex:1;
        padding:17px 13px
    }
    .intro,.experience,.split,.contact{
        grid-template-columns:1fr
    }
    .cards{
        grid-template-columns:1fr
    }
    .cards article{
        min-height:330px
    }
    .splitPhoto{
        min-height:430px
    }
    .experience{
        gap:40px
    }
    .logoRow{
        grid-template-columns:1fr 1fr
    }
    .logoRow b:nth-child(3){
        border-left:0;
        border-top:1px solid rgba(255,255,255,.2)
    }
    .logoRow b:nth-child(4){
        border-top:1px solid rgba(255,255,255,.2)
    }
    footer{
        grid-template-columns:1fr
    }
    .section,.contact{
        padding:80px 6vw
    }
}
@media(max-width:560px){
    .nav{
        height:74px;
        padding:0 4vw
    }
    .navCta{
        padding:12px
    }
    .brand.imgBrand img{
        height:36px
    }
    .hero{
        height:auto;
        min-height:720px
    }
    .heroCopy{
        top:43%
    }
    h1{
        font-size:54px
    }
    .heroFacts span{
        font-size:9px
    }
    .heroFacts strong{
        font-size:18px
    }
    .actions{
        align-items:flex-start;
        flex-direction:column;
        gap:18px
    }
    .section,.contact{
        padding:65px 5vw
    }
    .splitCopy{
        padding:65px 7vw
    }
    .milestone{
        grid-template-columns:85px 1fr
    }
    .logoRow{
        grid-template-columns:1fr
    }
    .logoRow b+b{
        border-left:0;
        border-top:1px solid rgba(255,255,255,.2)
    }
    form{
        grid-template-columns:1fr;
        padding:24px
    }
    form label{
        grid-column:1
    }
    .contact{
        gap:40px
    }
}

/* ---------------------------------------------------------------------------
 * WPForms Lite an TI-Steiner-CI anpassen
 * Überschreibt WPForms' eigenes Styling mit unserem Layout:
 * weiße Kachel, 2-spaltiges Grid, Underline-Inputs, roter Button.
 * Hohe Spezifität (.wpforms-container .wpforms-form ...) um WPForms-CSS
 * zu übersteuern. !important nur wo nötig.
 * ------------------------------------------------------------------------- */
.wpforms-container{
    margin:0 !important;
    padding:0 !important
}
.wpforms-container .wpforms-form{
    display:block !important;
    background:white;
    padding:40px;
    box-shadow:0 20px 60px #ddd;
    margin:0
}
.wpforms-container .wpforms-form .wpforms-field-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px
}
.wpforms-container .wpforms-form .wpforms-field{
    margin:0;
    padding:0
}
/* Volle Breite für bestimmte Felder */
.wpforms-container .wpforms-form .wpforms-field.tis-full,
.wpforms-container .wpforms-form .wpforms-field-textarea,
.wpforms-container .wpforms-form .wpforms-field-checkbox,
.wpforms-container .wpforms-form .wpforms-field-gdpr-checkbox,
.wpforms-container .wpforms-form .wpforms-field-html,
.wpforms-container .wpforms-form .wpforms-field-hp{
    grid-column:1/-1
}
/* Feldgrößen-Klassen von WPForms überschreiben → volle Spaltenbreite */
.wpforms-container .wpforms-form .wpforms-field-small,
.wpforms-container .wpforms-form .wpforms-field-medium,
.wpforms-container .wpforms-form .wpforms-field-large{
    width:100% !important;
    max-width:none !important
}
/* Labels */
.wpforms-container .wpforms-form .wpforms-field-label{
    font-size:12px;
    font-weight:bold;
    margin:0 0 8px;
    color:var(--ink)
}
.wpforms-container .wpforms-form .wpforms-field-label .wpforms-required-label{
    color:var(--red)
}
/* Inputs — Underline-Stil */
.wpforms-container .wpforms-form .wpforms-field input[type="text"],
.wpforms-container .wpforms-form .wpforms-field input[type="email"],
.wpforms-container .wpforms-form .wpforms-field input[type="tel"],
.wpforms-container .wpforms-form .wpforms-field input[type="number"],
.wpforms-container .wpforms-form .wpforms-field select,
.wpforms-container .wpforms-form .wpforms-field textarea{
    display:block;
    width:100%;
    border:0 !important;
    border-bottom:1px solid #aaa !important;
    border-radius:0 !important;
    padding:12px 4px !important;
    background:transparent !important;
    font:inherit;
    color:var(--ink);
    box-shadow:none !important
}
.wpforms-container .wpforms-form .wpforms-field select{
    font-size:14px !important;
    font-family:inherit !important;
    color:var(--ink) !important;
    appearance:none;
    -webkit-appearance:none;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23697078' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 8px center !important
}
.wpforms-container .wpforms-form .wpforms-field input:focus,
.wpforms-container .wpforms-form .wpforms-field select:focus,
.wpforms-container .wpforms-form .wpforms-field textarea:focus{
    border-bottom-color:var(--red) !important;
    box-shadow:none !important;
    outline:none
}
.wpforms-container .wpforms-form .wpforms-field textarea{
    resize:vertical
}
/* Checkbox / Consent / GDPR als Flex-Label */
.wpforms-container .wpforms-form .wpforms-field-checkbox ul,
.wpforms-container .wpforms-form .wpforms-field-consent ul,
.wpforms-container .wpforms-form .wpforms-field-gdpr-checkbox ul{
    list-style:none;
    padding:0;
    margin:0
}
.wpforms-container .wpforms-form .wpforms-field-checkbox li,
.wpforms-container .wpforms-form .wpforms-field-consent li,
.wpforms-container .wpforms-form .wpforms-field-gdpr-checkbox li{
    display:flex;
    align-items:flex-start;
    gap:8px;
    font-weight:normal;
    color:#666;
    font-size:12px;
    line-height:1.5
}
.wpforms-container .wpforms-form .wpforms-field-checkbox input[type="checkbox"],
.wpforms-container .wpforms-form .wpforms-field-consent input[type="checkbox"],
.wpforms-container .wpforms-form .wpforms-field-gdpr-checkbox input[type="checkbox"]{
    width:auto !important;
    margin:2px 0;
    flex:0 0 auto;
    border-bottom:0 !important
}
.wpforms-container .wpforms-form .wpforms-field-gdpr-checkbox .wpforms-field-label{
    font-size:12px;
    font-weight:bold;
    margin:0 0 8px
}
.wpforms-container .wpforms-form .wpforms-field-gdpr-checkbox .wpforms-field-description{
    display:none
}
.wpforms-container .wpforms-form .wpforms-field-gdpr-checkbox .wpforms-field-label-inline,
.wpforms-container .wpforms-form .wpforms-field-checkbox .wpforms-field-label-inline{
    font-size:12px !important;
    font-weight:normal !important;
    color:#666 !important;
    line-height:1.5
}
.wpforms-container .wpforms-form .wpforms-field-gdpr-checkbox .wpforms-field-label,
.wpforms-container .wpforms-form .tis-check .wpforms-field-label{
    font-size:11px;
    font-weight:bold;
    margin:0 0 6px;
    color:var(--muted)
}
/* Submit-Container */
.wpforms-container .wpforms-form .wpforms-submit-container{
    margin:20px 0 0;
    padding:0
}
/* Submit-Button im CI-Red */
.wpforms-container .wpforms-form .wpforms-submit{
    width:100%;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    gap:35px;
    background:var(--red) !important;
    color:#fff !important;
    padding:18px 22px !important;
    border:0 !important;
    border-radius:0 !important;
    font-size:14px !important;
    font-weight:800 !important;
    cursor:pointer;
    box-shadow:none !important;
    text-shadow:none !important;
    text-transform:none !important;
    transition:background 180ms ease
}
.wpforms-container .wpforms-form .wpforms-submit:hover,
.wpforms-container .wpforms-form .wpforms-submit:focus{
    background:#6b111a !important;
    box-shadow:none !important
}
/* Erfolgs-/Fehlermeldungen */
.wpforms-container .wpforms-confirmation-container-full,
.wpforms-container .wpforms-confirmation-scroll{
    grid-column:1/-1;
    padding:20px;
    background:#e8f5e9;
    border:0 !important;
    border-left:4px solid #2e7d32 !important;
    color:#1b5e20;
    font-size:14px;
    font-weight:600;
    border-radius:0
}
.wpforms-container .wpforms-error-container,
.wpforms-container .wpforms-form .wpforms-field-error{
    color:var(--red);
    font-size:12px
}
/* Honeypot-Feld (WPForms eigener Spam-Schutz) unsichtbar */
.wpforms-container .wpforms-form .wpforms-field-hp{
    display:none !important
}
/* Mobile: einspaltig */
@media (max-width:560px){
    .wpforms-container .wpforms-form{
        padding:24px
    }
    .wpforms-container .wpforms-form .wpforms-field-container{
        grid-template-columns:1fr
    }
}
