/* HilCon Büroservice e.U. | hilcon.at
   Statisches Design ohne externe Fonts, Tracker oder Cookies. */
:root {
  --green: #6dd159;
  --green-dark: #0b8427;
  --green-soft: #eef9eb;
  --ink: #292929;
  --gray: #707070;
  --gray-dark: #555;
  --muted: #747b75;
  --paper: #ffffff;
  --mist: #f5f6f3;
  --line: #e2e6df;
  --shell: 1140px;
  --shadow: 0 18px 50px rgba(28, 52, 31, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: 10px 14px; background: #fff; color: var(--green-dark); border-radius: 6px; transform: translateY(-160%); box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }

/* Header: bewusst nahe am bisherigen HilCon-Auftritt, aber ruhiger und responsiver */
.topbar { background: var(--green); color: #173018; }
.topbar-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 14px; font-weight: 700; }
.topbar-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 5px 18px rgba(0,0,0,.04); }
.brand-row { min-height: 100px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { grid-column: 2; display: flex; align-items: center; gap: 14px; text-align: left; }
.brand-symbol { width: 74px; height: 62px; display: grid; place-items: center; background: var(--gray); border-radius: 14px; overflow: hidden; }
.brand-symbol img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { line-height: 1.05; }
.brand-text strong { display: block; color: var(--green-dark); font-size: 28px; letter-spacing: -.04em; }
.brand-text span { display: block; margin-top: 6px; color: var(--gray); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mobile-toggle { display: none; }
.menu-button { display: none; }
.navbar { border-top: 1px solid #edf0eb; }
.main-nav { min-height: 58px; display: flex; justify-content: center; align-items: stretch; gap: 6px; }
.main-nav > a, .nav-services > .services-link { display: flex; align-items: center; padding: 0 17px; color: var(--green-dark); font-size: 16px; font-weight: 700; cursor: pointer; list-style: none; border-bottom: 3px solid transparent; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.main-nav > a:hover, .nav-services > .services-link:hover, .main-nav > a[aria-current="page"], .nav-services.active > .services-link { color: var(--ink); border-bottom-color: var(--green); background: var(--green-soft); }
.nav-services { position: relative; display: flex; }
.nav-services > .services-link::after { content: "▾"; margin-left: 7px; font-size: 11px; }
.submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; padding: 9px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(0,0,0,.13); }
.nav-services:hover .submenu, .nav-services:focus-within .submenu { display: block; }
.submenu a { display: block; padding: 10px 12px; color: var(--gray-dark); border-radius: 7px; font-size: 15px; }
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--green-dark); background: var(--green-soft); }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, #f6f8f4 100%); overflow: hidden; }
.hero-grid { min-height: 620px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; padding-block: 72px; }
.eyebrow { margin: 0 0 12px; color: var(--gray); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1 { color: var(--green-dark); font-size: clamp(52px, 6vw, 82px); letter-spacing: -.045em; font-weight: 700; }
h1 span { color: var(--ink); }
.hero-lead { max-width: 690px; margin: 24px 0 0; color: #3f4440; font-size: 20px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 20px; border: 2px solid var(--green); border-radius: 7px; font-weight: 800; transition: .18s ease; }
.button-primary { background: var(--green); color: var(--ink); }
.button-primary:hover { background: var(--gray); border-color: var(--gray); color: var(--green); }
.button-secondary { background: transparent; color: var(--green-dark); }
.button-secondary:hover { background: var(--green-soft); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.hero-badge { position: absolute; left: -32px; bottom: 24px; width: min(340px, 82%); padding: 20px 22px; background: rgba(112,112,112,.95); color: #fff; border-left: 7px solid var(--green); border-radius: 10px; box-shadow: 0 15px 35px rgba(0,0,0,.16); }
.hero-badge strong { color: var(--green); }

/* Shared sections */
.section { padding: 92px 0; }
.section-soft { background: var(--mist); }
.section-green { background: var(--green-soft); }
.section-gray { background: var(--gray); color: #fff; }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head h2, .split-copy h2, .cta-panel h2, .legal-card h1 { color: var(--green-dark); font-size: clamp(34px, 4vw, 56px); letter-spacing: -.035em; }
.section-head p, .split-copy > p { margin: 18px 0 0; color: #4c514c; }
.section-gray .section-head h2, .section-gray .section-head p { color: #fff; }
.section-gray .eyebrow { color: var(--green); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { display: flex; flex-direction: column; min-height: 320px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.05); }
.service-card .num { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 40px; background: var(--green-soft); color: var(--green-dark); border-radius: 50%; font-weight: 800; }
.service-card h3 { color: var(--green-dark); font-size: 24px; }
.service-card p { color: #525852; font-size: 15px; }
.service-card a { margin-top: auto; color: var(--green-dark); font-weight: 800; }
.service-card:hover { border-color: #b9e8af; transform: translateY(-2px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.split-copy h2 { margin-bottom: 18px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 28px; }
.check-item { position: relative; padding: 16px 16px 16px 46px; background: #fff; border: 1px solid var(--line); border-radius: 9px; color: #3f443f; }
.check-item::before { content: "✓"; position: absolute; left: 17px; top: 14px; color: var(--green-dark); font-size: 20px; font-weight: 900; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: 12px; }
.info-card h3 { color: var(--green-dark); font-size: 23px; }
.info-card ul { padding-left: 19px; color: #4d534e; }
.info-card li + li { margin-top: 8px; }

/* Inner page hero */
.page-hero { padding: 60px 0 58px; background: linear-gradient(110deg, var(--green-soft), #fff 72%); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.page-hero h1 { font-size: clamp(48px, 6vw, 74px); }
.page-hero p:not(.eyebrow) { max-width: 720px; margin: 20px 0 0; color: #4c514c; font-size: 19px; }
.page-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }

/* About */
.about-lead { font-size: 22px; color: #343934; }
.quote { margin-top: 28px; padding: 22px; background: var(--green-soft); border-left: 5px solid var(--green); color: #354036; border-radius: 0 9px 9px 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
.contact-card, .form-card, .legal-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 42px rgba(0,0,0,.06); }
.contact-card { padding: 28px; }
.contact-photo { margin-bottom: 26px; border-radius: 10px; }
.contact-list { display: grid; gap: 18px; }
.contact-list small { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list span { display: block; margin-top: 3px; font-weight: 700; }
.form-card { padding: 32px; }
.form-card h2 { color: var(--green-dark); font-size: 34px; }
.form-note { margin: 8px 0 24px; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #3f443f; font-size: 14px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: #fff; border: 1px solid #cfd5ce; border-radius: 7px; outline: 0; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(109,209,89,.2); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: #545a54; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; }
.checkbox a { color: var(--green-dark); text-decoration: underline; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-actions { margin-top: 22px; }

/* Legal */
.legal { background: var(--mist); }
.legal-wrap { width: min(calc(100% - 40px), 930px); margin: 0 auto; padding: 70px 0 90px; }
.legal-card { padding: clamp(28px, 5vw, 54px); }
.legal-card h1 { margin-bottom: 24px; }
.legal-card h2 { margin: 34px 0 10px; color: var(--green-dark); font-size: 25px; }
.legal-card h3 { margin: 26px 0 8px; color: var(--ink); font-size: 19px; }
.legal-card p, .legal-card li { color: #4d534e; }
.legal-card a { color: var(--green-dark); text-decoration: underline; }
.notice { margin: 24px 0; padding: 18px 20px; background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 0 8px 8px 0; }

/* CTA / Footer */
.cta { padding: 72px 0; background: #fafbf9; }
.cta-panel { padding: 42px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: var(--gray); color: #fff; border-radius: 16px; }
.cta-panel h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); }
.cta-panel h2 span { color: var(--green); }
.cta-panel p { margin: 12px 0 0; color: #eee; }
.site-footer { padding: 42px 0 28px; background: var(--gray); color: #fff; border-top: 6px solid var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 42px; }
.footer-logo { display: inline-flex; max-width: 210px; padding: 10px; background: rgba(41,41,41,.35); border-radius: 10px; }
.footer-logo img { width: 100%; }
.footer-grid h3 { margin-bottom: 12px; color: var(--green); font-size: 17px; }
.footer-grid p, .footer-grid a { color: #fff; font-size: 14px; }
.footer-grid a:hover { color: var(--green); }
.footer-links { display: grid; gap: 6px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.2); color: #e7e7e7; font-size: 12px; }

@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .split, .page-hero-grid, .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-media { max-width: 760px; }
  .hero-badge { left: 20px; }
  .page-hero img { max-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .topbar-inner { justify-content: center; }
  .topbar .topbar-note { display: none; }
  .brand-row { min-height: 82px; grid-template-columns: 1fr auto; }
  .brand { grid-column: 1; justify-self: start; }
  .brand-symbol { width: 56px; height: 48px; }
  .brand-symbol img { width: 100%; height: 100%; object-fit: cover; }
  .brand-text strong { font-size: 23px; }
  .brand-text span { font-size: 10px; }
  .menu-button { grid-column: 2; display: grid; width: 46px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
  .menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 21px; height: 2px; background: var(--green-dark); }
  .menu-button { gap: 4px; align-content: center; }
  .navbar { position: absolute; top: 116px; left: 0; right: 0; border-top: 0; }
  .main-nav { display: none; width: min(calc(100% - 28px), 680px); margin: 0 auto; padding: 10px; min-height: 0; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 0 0 12px 12px; box-shadow: var(--shadow); }
  .mobile-toggle:checked ~ .navbar .main-nav { display: flex; }
  .main-nav > a, .nav-services > .services-link { min-height: 46px; padding: 10px 13px; border: 0; border-radius: 7px; }
  .nav-services { display: block; }
  .submenu { position: static; display: grid; min-width: 0; margin-left: 18px; padding: 5px; border: 0; border-left: 2px solid var(--green); border-radius: 0; box-shadow: none; }
  .section { padding: 70px 0; }
  .check-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .topbar-contact { gap: 12px; justify-content: center; font-size: 12px; }
  .brand-text span { display: none; }
  .hero-grid { padding-block: 52px; gap: 38px; }
  h1 { font-size: clamp(44px, 14vw, 62px); }
  .hero-lead { font-size: 18px; }
  .hero-badge { position: relative; left: auto; bottom: auto; width: auto; margin: -28px 14px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
