/* Guernth.com — static portal / no framework, no external dependencies */
:root {
  color-scheme: light;
  --forest: #10221d;
  --forest-soft: #1b352a;
  --lime: #c6f477;
  --white: #fff;
  --cream: #f7f8f4;
  --text: #16231d;
  --muted: #64736a;
  --stroke: #e0e5dd;
  --radius: 20px;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #7dab31; outline-offset: 5px; border-radius: 4px; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 96px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 50; left: 20px; top: -100px; background: var(--lime); color: var(--forest); padding: 12px 18px; font-weight: 750; text-decoration: none; }
.skip-link:focus { top: 10px; }

/* Header */
.site-header { height: 92px; background: var(--cream); border-bottom: 1px solid #e6e8e0; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; height: 47px; width: 47px; border-radius: 13px; background: var(--forest); color: #eef6ec; font-weight: 850; font-size: 30px; letter-spacing: -.12em; padding-right: 5px; line-height: 1; }
.brand-mark span { color: var(--lime); }
.brand-name { color: var(--forest); font-size: 22px; font-weight: 800; letter-spacing: -.065em; }
.brand-name span { font-weight: 550; }
.main-nav { display: flex; gap: 39px; align-items: center; font-size: 14px; font-weight: 650; }
.main-nav a { text-decoration: none; transition: color .18s ease; }
.main-nav a:hover { color: #487d45; }
.main-nav .nav-contact { display: inline-flex; align-items: center; gap: 22px; border: 1px solid #d2d9d0; padding: 12px 16px; border-radius: 999px; }
.nav-contact span { font-size: 19px; line-height: 1; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--forest); color: #eff5ec; }
.hero::before { content: ""; position: absolute; height: 500px; width: 650px; right: -380px; top: -310px; border-radius: 50%; background: #2f6750; filter: blur(100px); opacity: .34; pointer-events: none; }
.hero-grid { position: relative; min-height: 560px; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); gap: 40px; align-items: center; padding-top: 66px; padding-bottom: 75px; }
.hero-copy { padding-top: 10px; z-index: 2; }
.eyebrow { font-size: 11px; letter-spacing: .19em; font-weight: 780; line-height: 1.5; }
.hero-eyebrow { color: #c3d4c7; display: flex; align-items: center; gap: 11px; }
.eyebrow-dot { flex: 0 0 8px; height: 8px; border-radius: 100%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198,244,119,.12); }
.hero h1 { margin: 26px 0 23px; max-width: 800px; letter-spacing: -.071em; font-weight: 780; font-size: clamp(51px, 5.4vw, 80px); line-height: 1.06; }
.hero h1 > span { color: var(--lime); }
.hero h1 .hero-period { color: #f0f7ee; }
.hero-description { max-width: 526px; margin: 0; color: #b9cac1; font-size: 17px; line-height: 1.78; }
.hero-actions { margin-top: 32px; }
.button { text-decoration: none; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; border-radius: 8px; padding: 17px 18px 17px 21px; min-height: 55px; font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-lime { color: #14281d; background: var(--lime); }
.button-lime:hover { background: #d8ffa2; }
.button-arrow { font-size: 20px; font-weight: 400; line-height: 1; }
.hero-footer { display: flex; align-items: center; gap: 12px; margin-top: 61px; color: #799687; font-size: 10px; letter-spacing: .12em; font-weight: 680; white-space: nowrap; }
.hero-footer-line { width: 25px; height: 1px; flex: 0 0 25px; background: #678677; }
.bullet { font-size: 14px; }

/* Decorative hero brand/diagram — CSS only */
.hero-visual { width: 100%; height: 395px; position: relative; overflow: hidden; border-radius: 18px; background: radial-gradient(circle at 52% 49%, #295441 0%, #1d3d30 40%, #183329 100%); border: 1px solid rgba(184, 227, 169, .16); box-shadow: 0 21px 60px rgba(0,0,0,.12); }
.visual-topline, .visual-bottomline { position: absolute; left: 26px; right: 26px; z-index: 5; display: flex; align-items: center; font-size: 9px; font-weight: 770; letter-spacing: .15em; color: #89ad98; }
.visual-topline { top: 21px; gap: 9px; }
.visual-bottomline { bottom: 21px; justify-content: space-between; }
.visual-led { width: 6px; height: 6px; background: var(--lime); border-radius: 100%; }
.visual-plus { margin-left: auto; font-size: 22px; font-weight: 350; }
.visual-stage { position: absolute; inset: 0; }
.visual-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(209,242,199,.06) 1px, transparent 1px), linear-gradient(90deg,rgba(209,242,199,.06) 1px,transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at center,black 0%,transparent 80%); }
.orbit { border: 1px solid rgba(191,240,167,.17); position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; }
.orbit-outer { width: 328px; height: 328px; }
.orbit-inner { width: 229px; height: 229px; border: 1px dashed rgba(191,240,167,.17); }
.visual-core { width: 133px; height: 133px; border-radius: 33px; display: flex; align-items: center; justify-content: center; background: #d5f8a3; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-7deg); box-shadow: 0 28px 55px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.45); color: #1a3b2c; font-size: 74px; line-height: 1; font-weight: 850; letter-spacing: -.1em; padding-right: 12px; }
.visual-core span { color: #659f4d; }
.floating-card { position: absolute; width: 176px; padding: 16px 17px; background: #f4faed; border: 1px solid #d0e2c6; box-shadow: 0 14px 30px rgba(0,0,0,.15); border-radius: 9px; color: var(--forest); display: flex; flex-direction: column; gap: 6px; transform: rotate(-6deg); }
.floating-number { font-size: 9px; color: #68806d; font-weight: 750; letter-spacing: .12em; }
.floating-card strong { font-size: 24px; font-weight: 850; letter-spacing: -.07em; }
.floating-arrow { position: absolute; right: 14px; bottom: 14px; font-size: 19px; }
.floating-card-rental { left: 6%; top: 22%; }
.floating-card-digital { right: 4%; bottom: 19%; transform: rotate(5deg); background: #d9e7dd; }
.orbit-point { position: absolute; height: 10px; width: 10px; background: var(--lime); border: 3px solid #294c39; border-radius: 50%; box-sizing: content-box; }
.orbit-point-one { top: 17%; left: 59%; }
.orbit-point-two { bottom: 19%; left: 20%; }

/* Services */
.services-section { padding: 113px 0 112px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 55px; margin-bottom: 47px; }
.section-kicker { display: flex; align-items: center; gap: 13px; color: #547259; letter-spacing: .17em; font-size: 11px; font-weight: 800; margin: 0 0 21px; }
.kicker-line { height: 2px; width: 25px; background: #74a94b; }
.section-heading h2 { margin: 0; font-size: clamp(38px, 4.1vw, 58px); line-height: 1.13; letter-spacing: -.068em; font-weight: 780; }
.section-heading h2 span { color: #8a988e; }
.section-intro { max-width: 325px; padding-bottom: 8px; margin: 0; color: var(--muted); line-height: 1.8; font-size: 15px; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.service-card { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-height: 560px; position: relative; }
.rental-card { background: #cef097; }
.digital-card { background: #e6ece6; }
.card-upper { padding: 28px 32px 0; position: relative; z-index: 2; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #426343; font-size: 10px; font-weight: 780; letter-spacing: .095em; }
.digital-card .card-topline { color: #64736a; }
.status { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 5px; font-size: 9px; letter-spacing: .07em; font-weight: 850; }
.status-live { color: #f3ffee; background: #204a32; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #c7f381; }
.status-pending { background: #d4ddd5; color: #597065; }
.card-content { margin-top: 42px; max-width: 490px; }
.card-content h3 { margin: 0; font-size: clamp(32px, 3.1vw, 43px); line-height: 1.1; font-weight: 790; letter-spacing: -.066em; }
.card-content h3 span { font-weight: 500; }
.digital-card .card-content h3 span { letter-spacing: -.072em; }
.card-content p { max-width: 442px; line-height: 1.7; font-size: 15px; margin: 17px 0 0; color: #3d5841; }
.digital-card .card-content p { color: #536b5d; }
.card-art { flex: 1; display: flex; align-items: end; justify-content: center; overflow: hidden; min-height: 248px; margin-top: -8px; }
.card-art img { display: block; width: min(95%, 560px); height: auto; object-fit: contain; object-position: bottom center; transition: transform .35s ease; }
.service-card:hover .card-art img { transform: translateY(-4px) scale(1.025); }
.card-cta { min-height: 76px; flex: 0 0 76px; padding: 0 32px; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 750; font-size: 14px; text-decoration: none; }
.rental-cta { color: #f6fff0; background: #133a27; transition: background .2s ease; }
.rental-cta:hover { background: #255b36; }
.cta-icon { display: flex; align-items: center; justify-content: center; height: 42px; width: 42px; background: rgba(255,255,255,.12); border-radius: 50%; font-size: 23px; font-weight: 450; transition: transform .2s ease; }
.rental-cta:hover .cta-icon { transform: translate(2px,-2px); }
.pending-cta { color: #748579; background: #d7e0d7; font-weight: 650; }
.pending-icon { display: flex; align-items: center; justify-content: center; height: 42px; width: 42px; border: 1px solid #c1cdc2; border-radius: 50%; color: #9aafa0; font-size: 23px; }
/* Sonnenklar – featured free PV forecast tool */
.solar-card { grid-column: 1 / -1; min-height: 382px; background: #f4eac6; }
.solar-main { flex: 1; min-height: 305px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); position: relative; }
.solar-card .card-upper { padding: 28px 0 30px 32px; }
.solar-card .card-topline { color: #746542; }
.solar-card .card-content { margin-top: 36px; max-width: 540px; }
.solar-card .card-content h3 { font-size: clamp(46px, 5vw, 66px); letter-spacing: -.075em; }
.solar-card .card-content h3 span:not(.solar-period) { font-weight: 480; }
.solar-card .card-content h3 .solar-period { font-weight: 790; color: #de9d2e; }
.solar-category { margin: 0 0 12px !important; color: #967e50 !important; font-size: 10px !important; letter-spacing: .14em; font-weight: 800; }
.solar-card .card-content > p:last-child { max-width: 450px; margin-top: 16px; color: #665d46; }
.solar-card .card-art { margin: 0; min-height: 0; justify-content: center; align-items: center; padding: 0 18px 0 0; }
.solar-card .card-art img { width: min(100%, 620px); }
.solar-cta { background: #3c442d; color: #f9ffe9; transition: background .2s ease; }
.solar-cta:hover { background: #56613c; }
.solar-cta:hover .cta-icon { transform: translate(2px,-2px); }
.legacy-line { margin-top: 22px; border: 1px solid var(--stroke); border-radius: 14px; display: flex; gap: 20px; align-items: center; padding: 22px 25px; background: #f9faf7; }
.legacy-icon { height: 54px; width: 54px; flex: 0 0 54px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: #e9eee7; color: #6a826e; font-size: 14px; font-weight: 850; letter-spacing: -.1em; }
.legacy-icon span + span { transform: translateY(4px); }
.legacy-content { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 18px; }
.legacy-overline { font-size: 9px; font-weight: 800; letter-spacing: .12em; color: #859488; width: 100%; }
.legacy-content strong { font-size: 17px; letter-spacing: -.045em; font-weight: 760; color: #506356; }
.legacy-content > span:last-child { color: #839087; font-size: 13px; }
.legacy-badge { margin-left: auto; white-space: nowrap; padding: 9px 13px; background: #e9eee6; color: #778b7b; border-radius: 999px; font-size: 11px; font-weight: 650; }

/* Footer */
.site-footer { color: #eaf4e9; background: var(--forest); padding: 65px 0 0; }
.footer-top { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 63px; }
.footer-heading { font-size: clamp(36px, 4.3vw, 59px); font-weight: 740; letter-spacing: -.066em; line-height: 1.15; }
.footer-heading em { font-style: normal; color: var(--lime); }
.footer-back { color: #d6e5d4; text-decoration: none; font-size: 13px; font-weight: 680; display: inline-flex; align-items: center; gap: 13px; padding-bottom: 8px; }
.footer-back span { font-size: 19px; }
.footer-back:hover { color: var(--lime); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 103px; padding-block: 24px; border-top: 1px solid #315044; }
.footer-brand .brand-mark { background: #31503e; color: #fff; height: 37px; width: 37px; border-radius: 10px; font-size: 25px; }
.footer-brand .brand-name { font-size: 18px; color: #f3f8ef; }
.footer-bottom p { color: #799486; font-size: 12px; margin: 0; }
.footer-nav { display: flex; gap: 26px; align-items: center; font-size: 12px; }
.footer-nav a { color: #c3d5c8; text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--lime); }

/* Legal pages */
.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1; padding: 75px 0 125px; }
.legal-layout { display: grid; grid-template-columns: minmax(190px,.28fr) minmax(0,.72fr); gap: clamp(55px, 9vw, 150px); align-items: start; }
.legal-aside { padding-top: 14px; position: sticky; top: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #455e4d; font-size: 13px; font-weight: 680; }
.back-link:hover { color: #1c703f; }
.legal-aside > p { font-size: 10px; color: #88978c; font-weight: 800; letter-spacing: .12em; margin: 60px 0 12px; }
.legal-aside nav { display: flex; flex-direction: column; align-items: stretch; }
.legal-aside nav a { padding: 15px 16px; font-size: 14px; border-left: 2px solid #dfe5dc; color: #7c8b7f; text-decoration: none; }
.legal-aside nav a.active { color: #193c25; font-weight: 750; border-left-color: #8cbc51; background: #edf3e8; }
.legal-article { max-width: 750px; }
.legal-article h1 { font-size: clamp(48px,6vw,75px); letter-spacing: -.07em; line-height: 1.1; margin: 0 0 23px; }
.legal-article .accent { color: #75a94c; }
.legal-lead { color: #697d6c; font-size: 17px; line-height: 1.7; max-width: 650px; padding-bottom: 34px; margin-bottom: 35px; border-bottom: 1px solid var(--stroke); }
.legal-article section { margin-bottom: 37px; }
.legal-article h2 { margin: 0 0 11px; font-size: 19px; letter-spacing: -.035em; line-height: 1.35; }
.legal-article p { font-size: 14px; line-height: 1.9; color: #58695b; margin: 0 0 14px; }
.legal-article section a { color: #276938; text-underline-offset: 3px; }
.legal-note { background: #ebf0e7; padding: 15px 18px; border-radius: 8px; }
.legal-footer { padding: 0; }
.legal-footer .footer-bottom { border-top: 0; }

@media (max-width: 1080px) {
  .container { width: min(calc(100% - 72px),var(--max)); }
  .hero-grid { gap: 25px; min-height: 535px; }
  .hero h1 { font-size: clamp(46px,5.9vw,68px); }
  .hero-visual { height: 356px; }
  .floating-card { width: 150px; }
  .floating-card strong { font-size: 20px; }
  .visual-core { width: 108px; height: 108px; font-size: 62px; }
  .orbit-outer { width: 277px; height: 277px; }
  .orbit-inner { width: 192px; height: 192px; }
  .service-card { min-height: 545px; }
  .card-content h3 { font-size: clamp(29px,3.4vw,39px); }
  .card-upper { padding-inline: 26px; }
  .card-cta { padding-inline: 26px; }
  .solar-card .card-upper { padding-left: 26px; }
}
@media (max-width: 800px) {
  .container { width: min(calc(100% - 44px),var(--max)); }
  .site-header { height: 78px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); padding-top: 76px; padding-bottom: 62px; gap: 47px; }
  .hero h1 { font-size: clamp(49px,8.5vw,76px); }
  .hero-description { font-size: 16px; }
  .hero-footer { margin-top: 39px; }
  .hero-visual { height: 335px; max-width: 620px; }
  .floating-card-rental { left: 15%; }
  .floating-card-digital { right: 14%; }
  .section-heading { align-items: start; gap: 22px; }
  .services-section { padding-block: 76px 85px; }
  .service-card { min-height: 530px; }
  .card-content { margin-top: 30px; }
  .card-content h3 { font-size: clamp(27px,4.3vw,36px); }
  .card-content p { font-size: 14px; }
  .card-art { min-height: 180px; }
  .section-intro { max-width: 220px; }
  .solar-main { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
  .solar-card .card-content h3 { font-size: 48px; }
  .solar-card .card-content { margin-top: 31px; }
  .solar-card .card-art { padding-right: 8px; }
  .legal-layout { gap: 48px; grid-template-columns: 155px minmax(0,1fr); }
  .footer-bottom { flex-wrap: wrap; }
  .footer-bottom p { order: 3; width: 100%; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 36px),var(--max)); }
  .brand { gap: 9px; }
  .brand-mark { height: 40px; width: 40px; font-size: 27px; border-radius: 11px; }
  .brand-name { font-size: 19px; }
  .main-nav { gap: 12px; font-size: 12px; }
  .main-nav > a:first-child { display: none; }
  .main-nav .nav-contact { padding: 10px 12px; gap: 9px; }
  .hero-grid { padding-top: 60px; padding-bottom: 52px; }
  .hero h1 { font-size: clamp(45px, 11.1vw, 66px); margin-top: 22px; }
  .hero-description { font-size: 15px; line-height: 1.75; }
  .hero-footer { letter-spacing: .07em; font-size: 8px; gap: 7px; }
  .hero-footer-line { flex-basis: 15px; width: 15px; }
  .hero-visual { height: 280px; }
  .orbit-outer { width: 255px; height: 255px; }
  .orbit-inner { width: 167px; height: 167px; }
  .visual-core { width: 91px; height: 91px; border-radius: 25px; font-size: 54px; }
  .floating-card { padding: 12px; width: 128px; }
  .floating-number { font-size: 7px; }
  .floating-card strong { font-size: 17px; }
  .floating-card-rental { left: 4%; top: 20%; }
  .floating-card-digital { right: 4%; bottom: 18%; }
  .visual-topline, .visual-bottomline { left: 17px; right: 17px; font-size: 8px; }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading h2 { font-size: clamp(37px, 8.8vw, 49px); }
  .section-intro { max-width: 440px; margin-top: 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { min-height: 505px; }
  .card-upper { padding: 24px 22px 0; }
  .card-content { margin-top: 34px; }
  .card-content h3 { font-size: clamp(31px, 8.3vw, 43px); }
  .card-art { min-height: 210px; }
  .card-cta { padding-inline: 22px; }
  .solar-card { min-height: 0; }
  .solar-main { display: flex; flex-direction: column; }
  .solar-card .card-upper { padding: 24px 22px 0; }
  .solar-card .card-content { margin-top: 24px; }
  .solar-card .card-content h3 { font-size: clamp(47px, 13vw, 64px); }
  .solar-card .card-content > p:last-child { max-width: 480px; }
  .solar-card .card-art { margin-top: -8px; padding: 0 5px; min-height: 175px; max-height: 265px; }
  .solar-card .card-art img { max-width: 490px; }
  .legacy-line { padding: 17px; flex-wrap: wrap; gap: 12px; }
  .legacy-icon { height: 43px; width: 43px; flex-basis: 43px; }
  .legacy-content { gap: 5px 10px; flex: 1; }
  .legacy-badge { margin-left: 54px; }
  .footer-top { padding-bottom: 44px; }
  .footer-heading { font-size: clamp(33px,8.3vw,49px); }
  .footer-back { white-space: nowrap; }
  .footer-bottom { gap: 18px; }
  .legal-main { padding: 44px 0 80px; }
  .legal-layout { display: block; }
  .legal-aside { position: static; padding: 0 0 38px; }
  .legal-aside > p, .legal-aside nav { display: none; }
  .legal-article h1 { font-size: 52px; }
  .legal-article .legal-lead { font-size: 16px; }
}
@media (max-width: 385px) {
  .main-nav .nav-contact { font-size: 11px; }
  .brand-name { font-size: 17px; }
  .hero h1 { font-size: 43px; }
  .hero-footer .bullet { font-size: 10px; }
  .footer-top { flex-direction: column; align-items: start; }
  .footer-back { margin-top: 10px; }
  .card-content h3 { font-size: 29px; }
  .card-topline { font-size: 9px; }
  .status { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
