/* SD-Netheld – Zentrales Stylesheet. Farben und Layout aller Seiten. */
/* Design: Graphitgrau, Silber, Schwarz. */

/* Aus header.php zentralisiert */
:root{color-scheme:dark;--bg:#202124;--panel:#34363a;--line:#555960;--text:#f3f4f5;--muted:#c0c3c8;--accent:#d4d7db}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--text);background:radial-gradient(ellipse at 50% -10%,#37393d 0%,var(--bg) 52%);line-height:1.6}
a{color:inherit}.wrap{width:min(1120px,calc(100% - 36px));margin:auto}
header{border-bottom:1px solid #494c51;background:linear-gradient(90deg,#17181a,#2c2e32 52%,#17181a);box-shadow:0 4px 20px #0003}.top{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:1.4rem;font-weight:850;letter-spacing:.02em;text-decoration:none}.brand span{color:var(--accent)}nav a{text-decoration:none;color:var(--muted);font-size:.94rem}nav a:hover{color:#fff}
.hero{text-align:center;padding:34px 0 55px}.hero-banner{display:block;width:100%;height:auto;border-radius:18px;border:1px solid #555960;box-shadow:0 18px 50px #0005}.hero-caption{margin:18px auto 0;color:var(--muted);font-size:1rem}.eyebrow{color:#e0e2e5;font-size:.82rem;font-weight:750;letter-spacing:.19em;text-transform:uppercase}.hero h1{font-size:clamp(2.5rem,6vw,4.6rem);line-height:1.1;letter-spacing:-.045em;margin:15px 0}.hero p{max-width:650px;margin:0 auto;color:var(--muted);font-size:1.12rem}
h2{font-size:clamp(1.5rem,3vw,2rem);margin:0 0 8px}.intro{color:var(--muted);margin:0 0 25px}.projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;padding-bottom:92px}.project{border:1px solid var(--line);background:linear-gradient(160deg,#3b3e43,#292b2f);border-radius:20px;overflow:hidden;box-shadow:0 18px 40px #0003;display:flex;flex-direction:column}.banner{height:190px;background:linear-gradient(125deg,#42454b,#33363b 55%,#292b30);position:relative;display:flex;align-items:center;justify-content:center}.banner img{display:block;width:100%;height:100%;object-fit:cover}.banner-fallback{font-size:clamp(1.4rem,3vw,2rem);font-weight:850;letter-spacing:.02em;color:#e6e8eb}.project-body{padding:26px;flex:1;display:flex;flex-direction:column}.project-heading{display:flex;align-items:center;gap:15px;margin-bottom:16px}.logo{width:62px;height:62px;flex:none;border:1px solid #656970;border-radius:14px;background:#1b1d20;object-fit:contain;padding:4px}.logo-fallback{width:62px;height:62px;display:grid;place-items:center;border-radius:14px;background:#3e4146;color:#e1e4e8;font-weight:800}.tag{font-size:.79rem;color:#d5d9df;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.project h3{font-size:1.5rem;line-height:1.2;margin:3px 0}.project p{color:var(--muted);margin:0 0 25px}.button{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;padding:12px 20px;background:#474a50;border:1px solid #81858c;border-radius:10px;color:white;text-decoration:none;font-weight:750}.button:hover,.button:focus-visible{background:#5c6067;outline:2px solid #f1f3f5;outline-offset:2px}
footer{border-top:1px solid #494c51;background:linear-gradient(90deg,#17181a,#26282c,#17181a)}.foot{min-height:95px;display:flex;justify-content:space-between;align-items:center;gap:18px;color:var(--muted);font-size:.88rem}.footlinks{display:flex;gap:20px}.footlinks a{text-decoration:none}.footlinks a:hover{text-decoration:underline}
@media(max-width:700px){.top{min-height:70px}.hero{padding:20px 0 38px}.hero-banner{border-radius:10px}.projects{grid-template-columns:1fr;padding-bottom:55px}.banner{height:170px}.foot{flex-direction:column;justify-content:center;padding:24px 0;text-align:center;gap:8px}}
/* SD-Netheld Kopf- und Fussbereich */
.brand{display:inline-flex;align-items:center;gap:11px}.brand-mark{width:42px;height:42px;object-fit:contain;border-radius:10px}.brand-name{white-space:nowrap}.brand-subtitle{font-size:.71rem;font-weight:500;letter-spacing:.01em;color:var(--muted);display:block;line-height:1.1}.nav-link{padding:10px 14px;border:1px solid #63676e;border-radius:9px;background:#35383d}.nav-link:hover{border-color:#b8bcc2;background:#464a50}.foot-brand{color:#f3f4f5;font-weight:800}.foot-tagline{font-size:.78rem;color:var(--muted)}.foot-left{display:flex;flex-direction:column;gap:2px}.footlinks a:focus-visible,.nav-link:focus-visible{outline:2px solid #e1e4e8;outline-offset:3px}@media(max-width:460px){.brand-subtitle{display:none}.brand-mark{width:34px;height:34px}.brand{gap:7px}.nav-link{padding:8px 10px}}

/* Aus index.php zentralisiert */
/* Große Projektbereiche für SamWorld und Volksschrauber; Header/Footer bleiben unverändert. */
.vs-feature{margin:36px 0 36px;border:1px solid #555960;border-radius:20px;overflow:hidden;background:linear-gradient(155deg,#3a3d42,#292b2f);box-shadow:0 18px 40px #0004}
.vs-feature-image{display:block;width:100%;height:auto}.feature-banner-link{display:block;line-height:0;cursor:pointer}.feature-banner-link:focus-visible{outline:3px solid #e1e4e8;outline-offset:-4px}
.vs-feature-content{padding:clamp(22px,4vw,42px)}
.vs-feature-content h3{font-size:clamp(1.6rem,3vw,2.25rem);margin:5px 0 16px;line-height:1.2}
.vs-feature-content p{max-width:900px;color:#cdd0d5;margin:0 0 16px}
.vs-feature-content .button{margin-top:12px}
@media(max-width:700px){.vs-feature{margin:28px 0 28px;border-radius:14px}}
 .vs-feature:last-of-type{margin-bottom:80px}

/* Aus impressum.php zentralisiert */
.legal-page{max-width:900px;margin:44px auto 90px;padding:clamp(22px,4vw,46px);background:linear-gradient(155deg,#3a3d42,#292b2f);border:1px solid #555960;border-radius:20px;box-shadow:0 18px 40px #0004}
.legal-page h1{font-size:clamp(1.8rem,4vw,2.5rem);margin:0 0 4px;line-height:1.2}
.legal-page .lead{color:#c0c3c8;margin:0 0 32px}
.legal-page h2{font-size:1.22rem;margin:32px 0 12px;padding-bottom:9px;border-bottom:1px solid #555960}
.legal-page p{color:#d5d8dc;margin:0 0 13px}
.legal-page a{color:#e3e6ea;text-underline-offset:3px}
.legal-page a:hover{color:#fff}
.legal-page address{font-style:normal;color:#f3f4f5;line-height:1.85}
.legal-page ul{margin:0 0 16px;padding-left:22px;color:#d5d8dc}.legal-page li{margin:6px 0}
.legal-page .contact-button{display:inline-flex;align-items:center;justify-content:center;background:#474a50;border:1px solid #81858c;border-radius:10px;padding:10px 16px;color:#fff;text-decoration:none;font-weight:700;margin:7px 0}
.legal-page .contact-button:hover{background:#5c6067}
@media(max-width:700px){.legal-page{margin:24px auto 50px;border-radius:14px}}

/* Kleine, anklickbare Projektlogos ausschließlich im Impressum. */
.legal-page .project-logos{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:22px 0 8px}
.legal-page .project-logo-link{display:inline-flex;align-items:center;justify-content:center;width:76px;height:76px;border-radius:12px;text-decoration:none;transition:transform .15s ease}
.legal-page .project-logo-link:hover{transform:translateY(-2px)}
.legal-page .project-logo-link:focus-visible{outline:2px solid #e3e6ea;outline-offset:3px}
.legal-page .project-logo-link img{display:block;max-width:70px;max-height:70px;width:auto;height:auto;object-fit:contain}
@media(max-width:480px){.legal-page .project-logos{gap:10px}.legal-page .project-logo-link{width:64px;height:64px}.legal-page .project-logo-link img{max-width:60px;max-height:60px}}

/* Aus kontakt.php zentralisiert */
.sd-contact{max-width:900px;margin:44px auto 90px;padding:clamp(22px,4vw,46px);background:linear-gradient(155deg,#3b3e43,#292b2f);border:1px solid #555960;border-radius:20px;box-shadow:0 18px 40px #0004}
.sd-contact h1{font-size:clamp(1.8rem,4vw,2.5rem);margin:0 0 4px}.sd-contact .lead{color:var(--muted);margin:0 0 30px}.sd-contact label{display:block;font-weight:650;margin:0 0 7px}.sd-contact .field{margin:0 0 22px}.sd-contact input:not([type="checkbox"]),.sd-contact select,.sd-contact textarea{display:block;width:100%;padding:12px 14px;border:1px solid #6a6e75;border-radius:10px;background:#25272b;color:#f3f4f5;font:inherit}.sd-contact textarea{min-height:180px;resize:vertical}.sd-contact input:focus-visible,.sd-contact select:focus-visible,.sd-contact textarea:focus-visible{outline:2px solid #d5d9df;outline-offset:2px}.sd-contact a{color:#e1e4e8;text-underline-offset:3px}.sd-contact .send{display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;background:#474a50;border:1px solid #81858c;border-radius:10px;color:#fff;font:inherit;font-weight:750;cursor:pointer}.sd-contact .send:hover{background:#5c6067}.sd-contact .check{display:flex;align-items:flex-start;gap:10px}.sd-contact .check input{margin-top:6px}.sd-contact .check label{font-weight:400}.sd-contact .notice{padding:14px 16px;border-radius:10px;margin-bottom:22px}.sd-contact .error{border:1px solid #b65c51;background:#402723}.sd-contact .success{border:1px solid #6f9b75;background:#233629}.sd-contact .hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.sd-contact .hint{font-size:.9rem;color:var(--muted)}@media(max-width:700px){.sd-contact{margin:24px auto 50px;border-radius:14px}}

/* Einheitliche neutrale Akzente */
:root{--accent:#e1e3e6;--muted:#c3c6cb;--line:#555960}
.brand span{color:var(--accent)}
.button,.sd-contact .send,.legal-page .contact-button{background:#44474d;border-color:#8e939b;color:#fff}
.button:hover,.sd-contact .send:hover,.legal-page .contact-button:hover{background:#62666d}
.sd-contact [hidden]{display:none !important}
