/*
Theme Name: SmartHomeNerd
Theme URI: https://www.smarthomenerd.at/
Author: SmartHomeNerd
Description: Individuelles Theme für IT-Service, Smart Home, 3D-Druck & Laser und Webdesign.
Version: 0.2.2
Text Domain: smarthomenerd
*/

/* Finalized brand tokens — kept in sync with app/globals.css in the
   SmartHomeNerd Core System repo so both properties look like one brand. */
:root { --shn-ink: #121315; --shn-ink-raised: #1b1c1f; --shn-paper: #f4f1ec; --shn-grey: #b9b6b0; --shn-red: #db3a31; --shn-line-dark: rgba(244,241,236,.14); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--shn-ink); color: var(--shn-paper); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }

/* Wordmark */
.shn-wordmark { display: inline-flex; font-weight: 800; letter-spacing: -.04em; }
.shn-wordmark-smart { color: var(--shn-red); }
.shn-wordmark-home { color: var(--shn-grey); }
.shn-wordmark:not(.shn-wordmark-hero) { flex-direction: row; gap: .35em; font-size: 20px; }
.shn-wordmark-hero { flex-direction: column; gap: 0; line-height: .86; font-size: clamp(48px, 9vw, 108px); margin: 22px 0 18px; }
.shn-wordmark-hero .shn-wordmark-home { font-size: .5em; }

/* Header */
.shn-header { height: 86px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 6vw, 92px); border-bottom: 1px solid var(--shn-line-dark); background: var(--shn-ink); }
.shn-nav { display: flex; gap: 20px; font-size: 12px; font-weight: 700; letter-spacing: .04em; flex-wrap: wrap; }
.shn-nav a:hover, .shn-header-contact:hover { color: var(--shn-red); }
.shn-header-contact { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; }

/* Hero */
.shn-hero { position: relative; min-height: 640px; padding: 90px clamp(24px, 9vw, 140px) 90px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; overflow: hidden; }
.shn-hero-glow { position: absolute; top: -200px; right: -140px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(219,58,49,.28) 0%, rgba(219,58,49,0) 70%); pointer-events: none; }
.shn-hero-traces { position: absolute; inset: 0; background-image: linear-gradient(var(--shn-line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--shn-line-dark) 1px, transparent 1px); background-size: 64px 64px; opacity: .4; pointer-events: none; }
.shn-hero-copy, .shn-visual { position: relative; z-index: 1; }
.shn-eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-weight: 800; font-size: 11px; letter-spacing: .13em; margin: 0; color: var(--shn-grey); }
.shn-eyebrow i { height: 9px; width: 9px; display: inline-block; background: var(--shn-red); transform: rotate(45deg); }
h1, h2, h3, p { margin-top: 0; }
h2 { letter-spacing: -.05em; line-height: 1; font-weight: 800; font-size: clamp(38px, 4vw, 58px); margin: 14px 0 0; }
.shn-accent { color: var(--shn-red); font-style: normal; }
.shn-hero-claim { font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; margin: 0 0 20px; }
.shn-intro { max-width: 480px; color: var(--shn-grey); font-size: 17px; line-height: 1.6; }
.shn-actions, .shn-contact-actions { display: flex; align-items: center; gap: 22px; margin-top: 36px; flex-wrap: wrap; }
.shn-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 51px; padding: 0 24px; font-weight: 800; font-size: 14px; }
.shn-primary { background: var(--shn-red); color: white; }
.shn-primary:hover { background: #f0463c; }
.shn-quiet, .shn-quiet-light { border: 1px solid var(--shn-line-dark); color: var(--shn-paper); }
.shn-quiet:hover, .shn-quiet-light:hover { border-color: var(--shn-red); color: var(--shn-red); }
.shn-light { background: var(--shn-red); color: white; }
.shn-light:hover { background: white; color: var(--shn-ink); }

.shn-visual { display: grid; place-items: center; }
.shn-mascot-placeholder { width: 100%; max-width: 320px; aspect-ratio: 200/260; border: 1.5px dashed var(--shn-red); background: var(--shn-ink-raised); }

/* Services */
.shn-services { padding: 90px clamp(24px, 9vw, 140px); border-top: 1px solid var(--shn-line-dark); display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; }
.shn-services-alt { background: var(--shn-ink-raised); }
.shn-service-list { border-top: 1px solid var(--shn-line-dark); }
.shn-service { display: grid; grid-template-columns: 40px 1fr 24px; gap: 16px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--shn-line-dark); }
.shn-service-icon { color: var(--shn-red); font-size: 22px; }
.shn-service h3 { font-size: 21px; letter-spacing: -.03em; margin: 0 0 6px; font-weight: 700; }
.shn-service p { margin: 0; color: var(--shn-grey); line-height: 1.45; font-size: 14px; }
.shn-arrow { font-size: 18px; color: var(--shn-grey); }
.shn-arrow:hover { color: var(--shn-red); }

/* Statement (Webdesign / Shop) */
.shn-statement { background: var(--shn-ink-raised); padding: 100px clamp(24px, 15vw, 260px); border-top: 1px solid var(--shn-line-dark); }
.shn-statement-text { max-width: 820px; font-size: clamp(30px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -.04em; font-weight: 700; margin: 18px 0 36px; }
.shn-statement-meta { color: var(--shn-grey); font-size: 15px; }
.shn-statement-meta a:hover { color: var(--shn-red); }

/* Projects */
.shn-projects { padding: 95px clamp(24px, 9vw, 140px); display: grid; grid-template-columns: .85fr 1.15fr; align-items: end; gap: 60px; border-top: 1px solid var(--shn-line-dark); }
.shn-project-card { min-height: 300px; position: relative; padding: 36px; background: var(--shn-red); color: white; display: flex; flex-direction: column; justify-content: flex-end; }
.shn-project-card p { text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .13em; margin: 0 0 8px; }
.shn-project-card h3 { font-size: clamp(24px, 3vw, 38px); line-height: 1; letter-spacing: -.03em; margin: 0; font-weight: 700; }

/* About */
.shn-about { padding: 95px clamp(24px, 9vw, 140px); border-top: 1px solid var(--shn-line-dark); max-width: 900px; }
.shn-about h2 { margin: 14px 0 30px; }
.shn-about-text { color: var(--shn-grey); font-size: 17px; line-height: 1.65; margin: 0 0 16px; }

/* Contact */
.shn-contact { text-align: center; background: #0d0e10; padding: 110px 24px; border-top: 1px solid var(--shn-line-dark); }
.shn-contact h2 { margin: 20px auto 22px; }
.shn-contact > p:not(.shn-eyebrow) { color: var(--shn-grey); font-size: 16px; max-width: 480px; margin: 0 auto; }
.shn-contact .shn-eyebrow { justify-content: center; }
.shn-contact-actions { justify-content: center; }

/* Footer */
.shn-footer { padding: 40px clamp(24px, 6vw, 92px); border-top: 1px solid var(--shn-line-dark); background: #0d0e10; }
.shn-footer-claim { font-weight: 700; margin: 0 0 14px; }
.shn-footer-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; color: var(--shn-grey); }

@media (max-width: 900px) {
  .shn-nav { display: none; }
  .shn-hero, .shn-services, .shn-projects { grid-template-columns: 1fr; }
  .shn-hero { padding-top: 60px; gap: 40px; }
  .shn-mascot-placeholder { max-width: 220px; margin: 0 auto; }
  .shn-footer-meta { flex-direction: column; gap: 6px; }
}
