/* hm-webdesign – neues Design (Entwurf 2026-11-19) */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --sky: #1f5fa8;
  --sky-light: #e8f0fa;
  --sun: #e8893a;
  --sun-dark: #c96d22;
  --snow: #f6f8fb;
  --ink: #1b2430;
  --muted: #5b6878;
  --line: #dde3ec;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, .10);
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--sky); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-dark); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; }
.section { padding: 96px 0; }
.section--snow { background: var(--snow); }
.section-head { max-width: 780px; margin-bottom: 48px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn--sun { background: var(--sun); color: #fff; }
.btn--sun:hover { background: var(--sun-dark); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header.is-solid, .site-header--solid { background: rgba(255,255,255,.97); box-shadow: 0 2px 16px rgba(11,37,69,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 1.2rem; }
.logo svg { width: 36px; height: 36px; }
.logo span b { color: var(--sun); }
.is-solid .logo, .site-header--solid .logo { color: var(--navy); }
.menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 8px 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 8px; }
.is-solid .menu a, .site-header--solid .menu a { color: var(--navy); }
.menu a:hover, .menu a.active { background: rgba(232,137,58,.15); }
.menu a.menu-ki { color: var(--sun) !important; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: #fff; }
.is-solid .menu-toggle, .site-header--solid .menu-toggle { color: var(--navy); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; min-height: clamp(560px, 100vh, 860px); display: flex; align-items: center; color: #fff; background: var(--navy) url("../img/alpen-2000.jpg") center 70% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,37,69,.88) 0%, rgba(11,37,69,.55) 55%, rgba(11,37,69,.15) 100%); }
.hero .container { position: relative; padding-top: 72px; }
.hero h1 { color: #fff; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero p { font-size: 1.2rem; max-width: 640px; color: rgba(255,255,255,.9); }
.hero .eyebrow { color: #ffc28f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }

/* Intro / Home-Text */
.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 1.4em 0; }
.checklist li { position: relative; padding-left: 36px; margin-bottom: .8em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.welcome { font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.photo-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }

/* Leistungs-Kacheln */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--sky-light); color: var(--sky); display: grid; place-items: center; margin-bottom: 20px; }
.service .icon svg { width: 28px; height: 28px; }
.service p { color: var(--muted); flex: 1; }
.service .more { font-weight: 700; color: var(--sky); }
.service--ki { background: var(--navy); color: #fff; border-color: var(--navy); position: relative; overflow: hidden; }
.service--ki h3 { color: #fff; }
.service--ki p { color: rgba(255,255,255,.8); }
.service--ki .icon { background: rgba(232,137,58,.18); color: var(--sun); }
.service--ki .more { color: var(--sun); }
.badge { position: absolute; top: 18px; right: 18px; background: var(--sun); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

/* Split-Abschnitte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Systeme */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 var(--line), 0 4px 18px rgba(11,37,69,.05); }
.feature .num { font-weight: 800; color: var(--sun); font-size: .9rem; letter-spacing: .1em; }
.feature p { color: var(--muted); margin: 0; }
.quote { margin: 40px 0 0; padding: 28px 32px; border-left: 4px solid var(--sun); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: 0 4px 18px rgba(11,37,69,.05); }
.quote h3 { font-size: 1.05rem; }
.quote blockquote { margin: 0 0 .6em; font-style: italic; color: var(--ink); }
.quote cite { font-style: normal; font-size: .9rem; color: var(--muted); }

/* Bildband */
.band { position: relative; min-height: 380px; display: flex; align-items: center; color: #fff; background: var(--navy) center / cover no-repeat; background-attachment: fixed; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(11,37,69,.55); }
.band .container { position: relative; text-align: center; }
.band p { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; max-width: 820px; margin: 0 auto; line-height: 1.3; }
.band p em { font-style: normal; color: #ffc28f; }

/* KI */
.ki { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; position: relative; overflow: hidden; }
.ki::after { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(232,137,58,.25), transparent 65%); pointer-events: none; }
.ki h2, .ki h3 { color: #fff; }
.ki .lead { color: rgba(255,255,255,.82); }
.ki .eyebrow { color: #ffc28f; }
.ki-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.ki-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; transition: background .2s, transform .2s; }
.ki-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.ki-card .icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(232,137,58,.2); color: var(--sun); display: grid; place-items: center; margin-bottom: 18px; }
.ki-card .icon svg { width: 24px; height: 24px; }
.ki-card p { color: rgba(255,255,255,.78); margin: 0; font-size: .98rem; }
.ki-examples { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; position: relative; z-index: 1; }
.ki-examples ul { margin: 0; padding-left: 1.2em; color: rgba(255,255,255,.85); }
.ki-examples li { margin-bottom: .5em; }
.ki-examples li::marker { color: var(--sun); }
.ki-note { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 24px 28px; border: 1px solid rgba(255,255,255,.12); }
.ki-note p:last-child { margin: 0; }

/* Ablauf / Weg zum Gipfel */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--sun) 0 8px, transparent 8px 16px); }
.step { text-align: center; position: relative; }
.step .dot { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 3px solid var(--sun); display: grid; place-items: center; font-weight: 800; color: var(--navy); font-size: 1.2rem; position: relative; z-index: 1; }
.step:last-child .dot { background: var(--sun); color: #fff; }
.step p { color: var(--muted); font-size: .98rem; }

/* Referenzen */
.refs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ref { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.ref:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ref img { width: 100%; aspect-ratio: 1024/362; object-fit: cover; background: var(--snow); }
.ref div { padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ref strong { color: var(--navy); }
.ref span { color: var(--muted); font-size: .9rem; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-info { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px; background-image: linear-gradient(rgba(11,37,69,.82), rgba(11,37,69,.92)), url("../img/watzmannhaus-2000.jpg"); background-size: cover; background-position: center; }
.contact-info h3 { color: #fff; }
.contact-info p { color: rgba(255,255,255,.88); }
.contact-info address { font-style: normal; margin-top: 1.5em; line-height: 1.8; }
form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--snow); color: var(--ink); transition: border-color .15s, background .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); background: #fff; }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .92rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--sun); }
.error { color: #b42318; font-size: .85rem; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #b42318; }
.field.invalid .error { display: block; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success .icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #e7f6ec; color: #1a7f43; display: grid; place-items: center; }
form.sent .form-fields { display: none; }
form.sent .form-success { display: block; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: #071a31; color: rgba(255,255,255,.7); padding: 48px 0 32px; font-size: .95rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Rechtstexte */
.legal-hero { background: var(--navy) url("../img/watzmann-2000.jpg") center 30% / cover; position: relative; padding: 150px 0 60px; color: #fff; }
.legal-hero::before { content: ""; position: absolute; inset: 0; background: rgba(11,37,69,.72); }
.legal-hero .container { position: relative; }
.legal-hero h1 { color: #fff; margin: 0; }
.legal { max-width: 820px; padding-top: 56px; padding-bottom: 80px; }
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal p { color: #33404f; overflow-wrap: anywhere; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .services, .features, .ki-grid { grid-template-columns: 1fr 1fr; }
  .intro, .split, .contact, .ki-examples { grid-template-columns: 1fr; gap: 40px; }
  .split--rev .split-media { order: 0; }
  .photo-card { aspect-ratio: 16/10; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .band { background-attachment: scroll; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 16px 20px; box-shadow: 0 12px 24px rgba(11,37,69,.12); display: none; }
  .menu.open { display: flex; }
  .menu a { color: var(--navy) !important; padding: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .services, .features, .ki-grid, .refs, .steps, .field-row { grid-template-columns: 1fr; }
  form, .contact-info { padding: 24px; }
  .ref div { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ALTCHA-Widget im Kontaktformular */
altcha-widget { display: block; --altcha-max-width: 100%; --altcha-border-radius: 10px; --altcha-color-active: var(--sky); }
.field--altcha.invalid altcha-widget { outline: 2px solid #b42318; outline-offset: 2px; border-radius: 10px; }
.form-error { background: #fdecea; color: #b42318; border-radius: 10px; padding: 10px 14px; font-size: .95rem; margin: 0 0 14px; }
button[disabled] { opacity: .7; cursor: wait; }
