:root {
  --ink: #1f3a2d;
  --ink-soft: #2c4d3c;
  --paper: #f4f8f5;
  --surface: #ffffff;
  --muted: #5b6e63;
  --line: #d3e2d6;
  --accent: #fc9a30;
  --accent-soft: #fdebd4;
  --tech: #45765f;
  --shell: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Barlow Condensed", "Source Sans 3", sans-serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

a { color: var(--tech); text-decoration: none; }
a:hover { text-decoration: underline; }

.shell { width: min(100% - 2.5rem, 900px); margin-inline: auto; }
.shell.wide { width: min(100% - 2.5rem, var(--shell)); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 248, 245, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .9rem 0;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--ink);
  background:
    linear-gradient(to right, var(--ink) 0 2px, transparent 2px) center/100% 2px no-repeat,
    linear-gradient(to bottom, var(--ink) 0 2px, transparent 2px) center/2px 100% no-repeat,
    var(--accent-soft);
  display: inline-block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem; letter-spacing: .16em; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.navtoggle, .burger { display: none; }

.mainnav ul { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.mainnav a {
  color: var(--ink); font-size: .95rem; font-weight: 500;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
.mainnav a:hover { text-decoration: none; border-color: var(--accent); }
.mainnav a.active { border-color: var(--accent); }
.mainnav .meta a { color: var(--muted); font-size: .82rem; }

/* Hero */
.hero {
  background: var(--ink);
  background-size: cover; background-position: center;
  color: #fff; padding: 4.5rem 0 3.5rem;
}
.hero .shell { width: min(100% - 2.5rem, var(--shell)); }
.hero-lg { padding: 8rem 0 7rem; }
.hero .eyebrow {
  margin: 0 0 .8rem; text-transform: uppercase; letter-spacing: .22em;
  font-size: .74rem; color: var(--accent);
}
.hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.6rem); }
.hero .lead { max-width: 46ch; margin: 1.2rem 0 0; color: #d6e4da; font-size: 1.1rem; }

/* Layout */
main { padding: 3.5rem 0 4.5rem; }
main .shell { display: grid; gap: 2.75rem; }
main .shell:has(.subnav) { grid-template-columns: 220px 1fr; align-items: start; }

.subnav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.subnav a {
  display: block; padding: .5rem .9rem; color: var(--muted);
  font-size: .95rem; margin-left: -2px; border-left: 2px solid transparent;
}
.subnav a:hover { color: var(--ink); text-decoration: none; }
.subnav a.active { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }

/* Prose */
.prose p { margin: 0 0 1.1rem; }
.prose .intro { font-size: 1.25rem; color: var(--ink); }
.prose h2 { font-size: 1.4rem; margin: 2rem 0 .8rem; }
.prose h2.job { font-size: 1.8rem; margin: 1.5rem 0; }
.prose h2.job em { color: var(--muted); font-style: normal; font-size: 1.1rem; }

ul.checks { list-style: none; padding: 0; margin: 1.25rem 0; }
ul.checks li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: .6rem; height: .6rem; background: var(--accent); transform: rotate(45deg);
}
ul.bullets { list-style: none; margin: .6rem 0 0; padding: 0; }
ul.bullets li { position: relative; padding-left: 1.7rem; margin-bottom: .35rem; }
ul.bullets li::before { content: ""; position: absolute; left: 0; top: .65em; width: .6rem; height: .6rem; background: var(--accent); transform: rotate(45deg); }
ul.plain { list-style: none; margin: 0; padding: 0; }

ol.route { counter-reset: step; list-style: none; margin: 1.2rem 0; padding: 0; }
ol.route li { counter-increment: step; position: relative; padding-left: 2.6rem; margin-bottom: .9rem; }
ol.route li::before {
  content: counter(step); position: absolute; left: 0; top: .1em;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: .8rem; display: grid; place-items: center;
}

.addr { font-style: normal; border-left: 3px solid var(--accent); padding-left: 1rem; margin-top: 1.5rem; }
.contactline { margin-top: 2rem; font-weight: 500; }

/* Cards + blocks */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 34px -22px rgba(31,58,45,.5); }
.card .num { font-family: "Barlow Condensed", sans-serif; color: var(--accent); font-size: .8rem; letter-spacing: .18em; }
.card h2 { font-size: 1.3rem; margin: .5rem 0 .6rem; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card .more { display: inline-block; margin-top: 1.1rem; font-size: .85rem; color: var(--tech); font-weight: 600; }
.card .more::after { content: " →"; }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.block {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
}
.block h2 { font-size: 1.15rem; margin: 0 0 .4rem; }
.block p { margin: .6rem 0 0; color: var(--muted); font-size: .95rem; }

ul.spec { list-style: none; margin: .8rem 0 0; padding: 0; }
ul.spec li { display: flex; gap: .8rem; align-items: baseline; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
ul.spec li span { font-family: "Barlow Condensed", sans-serif; font-weight: 600; color: var(--accent); min-width: 1.5rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.25rem; margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-family: "Barlow Condensed", sans-serif; font-size: 2.4rem; line-height: 1; }
.stats span { color: var(--muted); font-size: .9rem; margin-top: .35rem; }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.infobox { background: var(--ink); color: #e6efe9; border-radius: var(--radius); padding: 1.75rem; }
.infobox h2 { color: #fff; font-size: 1.15rem; margin: 0 0 1rem; }
.infobox p { margin: 0 0 .9rem; font-size: .95rem; }
.infobox a { color: var(--accent); }
.infobox hr { border: none; border-top: 1px solid rgba(255,255,255,.16); margin: 1.2rem 0; }

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: .7rem 1.3rem; border-radius: var(--radius); font-weight: 600; font-size: .92rem;
}
.btn:hover { text-decoration: none; background: #e5841a; }

.legal { font-size: .95rem; color: var(--ink-soft); max-width: 75ch; }
.legal h1 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.legal h1:first-child { margin-top: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #bfd3c5; padding: 3.5rem 0 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; width: min(100% - 2.5rem, var(--shell)); }
.site-footer h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 .9rem; }
.site-footer p { margin: 0 0 .7rem; }
.site-footer a { color: #e6efe9; }
.site-footer li { margin-bottom: .45rem; }
.copyright {
  width: min(100% - 2.5rem, var(--shell));
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #8eb196;
}

@media (max-width: 860px) {
  main .shell:has(.subnav) { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .subnav ul { display: flex; flex-wrap: wrap; border-left: none; border-bottom: 1px solid var(--line); }
  .subnav a { border-left: none; border-bottom: 2px solid transparent; margin-left: 0; padding-inline: 0; margin-right: 1.4rem; }
  .subnav a.active { border-left-color: transparent; border-bottom-color: var(--accent); }

  .burger { display: block; cursor: pointer; padding: .5rem; }
  .burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }
  .mainnav { display: none; width: 100%; }
  .navtoggle:checked ~ .mainnav { display: block; }
  .mainnav ul { flex-direction: column; align-items: flex-start; gap: .9rem; padding: 1rem 0 .25rem; }
}
/* Zurück zur Laqua-Startseite */
.home-link { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:38px; height:38px; border:1px solid var(--line); border-radius:var(--radius); color:var(--tech); background:var(--surface); order:3; }
.home-link:hover { border-color:var(--accent); color:var(--accent); text-decoration:none; }
.home-link svg { width:18px; height:18px; }
.bar .brand { order:1; } .bar .mainnav { order:2; } .bar .burger { order:2; }
@media (max-width: 860px) {
  .bar .home-link { margin-left:auto; }
  .bar .mainnav { order:4; }
  .bar .burger { order:3; }
}
