/* AlpenAssist Network — base styles */
:root {
  --color-primary: #37474f;
  --color-accent: #ef6c00;
  --color-bg: #f5f7f8;
  --color-text: #1a2428;
  --color-surface: #ffffff;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,.10);
  --font-body: 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
}
a { color: var(--color-primary); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; color: var(--color-accent); }
a:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
h1,h2,h3,h4 { font-family: var(--font-heading); line-height: 1.25; color: var(--color-primary); margin-bottom: .5em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1em; }
ul,ol { padding-left: 1.5em; margin-bottom: 1em; }
table { border-collapse: collapse; width: 100%; margin-bottom: 1.5em; }
th,td { border: 1px solid #d0d8e4; padding: .55em .8em; text-align: left; }
th { background: var(--color-primary); color: #fff; }
tr:nth-child(even) td { background: #eef2f7; }
dl { margin-bottom: 1.5em; }
dt { font-weight: 700; color: var(--color-primary); margin-top: .8em; }
dd { margin-left: 1.5em; margin-bottom: .3em; }
details { border: 1px solid #d0d8e4; border-radius: var(--radius); padding: .6em 1em; margin-bottom: .8em; background: var(--color-surface); }
summary { cursor: pointer; font-weight: 600; color: var(--color-primary); padding: .2em 0; }
summary:focus-visible { outline: 3px solid var(--color-accent); }
blockquote { border-left: 4px solid var(--color-accent); padding: .6em 1.2em; background: #fff8ee; margin-bottom: 1.2em; font-style: italic; }
aside { background: #eef4ff; border-radius: var(--radius); padding: 1em 1.2em; margin-bottom: 1.2em; border-left: 4px solid var(--color-primary); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.2rem; }
.btn { display: inline-block; background: var(--color-primary); color: #fff; border: none; border-radius: var(--radius); padding: .55em 1.3em; font-size: 1rem; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--color-accent); color: #fff; text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.site-header { background: var(--color-primary); color: #fff; padding: 1rem 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }
.site-header .brand { font-size: 1.3rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: .5rem; }
.site-header .brand:hover { text-decoration: none; }
.site-nav ul { list-style: none; padding: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-nav a { color: rgba(255,255,255,.88); font-size: .97rem; }
.site-nav a:hover, .site-nav a.active { color: #fff; text-decoration: underline; }
.site-footer { background: var(--color-primary); color: rgba(255,255,255,.8); padding: 2rem 0 1rem; margin-top: 3rem; font-size: .92rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.site-footer h4 { color: #fff; margin-bottom: .5em; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.footer-bottom { text-align: center; padding: 1rem 0 0; border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.5rem; font-size: .85rem; }
.hero { background: linear-gradient(135deg, var(--color-primary) 60%, var(--color-accent)); color: #fff; padding: 3.5rem 0 3rem; text-align: center; }
.hero h1 { color: #fff; font-size: 2.2rem; }
.hero p { font-size: 1.1rem; opacity: .92; max-width: 640px; margin: .8rem auto 1.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.card { background: var(--color-surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; }
.card h3 { font-size: 1.05rem; margin-bottom: .4em; }
.section { padding: 2.5rem 0; }
.section-alt { background: var(--color-surface); }
.breadcrumb { font-size: .88rem; color: #666; margin: .8rem 0 1.5rem; }
.breadcrumb a { color: var(--color-primary); }
.breadcrumb span { margin: 0 .3em; }
.disclaimer { background: #fff3cd; border: 1px solid #ffc107; border-radius: var(--radius); padding: .8em 1.2em; margin-bottom: 1.5em; font-size: .93rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .3em; }
.form-group input, .form-group textarea, .form-group select { width: 100%; border: 1px solid #c0ccd8; border-radius: var(--radius); padding: .55em .8em; font-size: 1rem; font-family: inherit; background: #fff; }
.form-group input:focus, .form-group textarea:focus { outline: 3px solid var(--color-accent); border-color: var(--color-accent); }
.form-group .error { color: #c62828; font-size: .88rem; margin-top: .2em; display: none; }
.form-group.has-error .error { display: block; }
.form-group.has-error input, .form-group.has-error textarea { border-color: #c62828; }
.checkbox-row { display: flex; align-items: flex-start; gap: .6rem; }
.checkbox-row input[type=checkbox] { margin-top: .25em; width: auto; }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #1e2a38; color: #fff; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; z-index: 9999; font-size: .93rem; }
.cookie-banner a { color: #ffd54f; }
.cookie-banner .btn { background: var(--color-accent); }
.toc { background: var(--color-surface); border: 1px solid #d0d8e4; border-radius: var(--radius); padding: 1em 1.5em; margin-bottom: 2em; display: inline-block; min-width: 220px; }
.toc h4 { margin-bottom: .5em; }
.toc ol { margin: 0; }
.fact-panel { background: var(--color-surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; border-top: 4px solid var(--color-accent); margin-bottom: 1.5rem; }
.timeline-item { position: relative; padding-left: 2.5rem; margin-bottom: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: .7rem; top: .4rem; width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); }
.timeline-item::after { content: ''; position: absolute; left: 1.15rem; top: 1.2rem; bottom: -1.8rem; width: 2px; background: var(--color-primary); opacity: .25; }
.timeline-item:last-child::after { display: none; }
.sidebar-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.sidebar-nav { background: var(--color-surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem; position: sticky; top: 1rem; }
.sidebar-nav ul { list-style: none; padding: 0; }
.sidebar-nav li { border-bottom: 1px solid #eee; }
.sidebar-nav a { display: block; padding: .55em .6em; color: var(--color-text); font-size: .96rem; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--color-primary); color: #fff; border-radius: 4px; text-decoration: none; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; margin: 1.5rem 0; }
.dash-card { background: var(--color-surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; text-align: center; }
.dash-card .dash-icon { width: 48px; height: 48px; margin: 0 auto .6rem; }
@media (max-width: 768px) {
  .sidebar-layout, .split-layout { grid-template-columns: 1fr; }
  .sidebar-nav { position: static; }
  .hero h1 { font-size: 1.6rem; }
  .site-header .container { flex-direction: column; align-items: flex-start; }
}

/* AlpenAssist Network — timeline flat-duotone enhancements */
body { background: #f5f7f8; }
.site-header { background: linear-gradient(90deg, #37474f, #263238); }
.hero { background: linear-gradient(135deg, #37474f 40%, #ef6c00); }
.timeline-wrapper { position: relative; padding-left: 2rem; border-left: 3px solid #ef6c00; margin: 2rem 0; }
.timeline-entry { position: relative; margin-bottom: 2.5rem; }
.timeline-entry::before { content: ''; position: absolute; left: -2.55rem; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: #ef6c00; border: 2px solid #fff; box-shadow: 0 0 0 2px #ef6c00; }
.timeline-entry h3 { color: #37474f; }
.timeline-badge { display: inline-block; background: #ef6c00; color: #fff; font-size: .78rem; padding: .15em .6em; border-radius: 3px; margin-bottom: .4em; }
.matrix-table th { background: #37474f; }
.matrix-table td { border-color: #cfd8dc; }
.matrix-check { color: #2e7d32; font-weight: 700; }
.matrix-cross { color: #c62828; font-weight: 700; }
