/* chiemgau consulting – Modernes & Seriöses Design */
:root {
  --navy: #004268;
  --navy-dark: #002c46;
  --navy-light: #00598c;
  --green: #96BA35;
  --green-dark: #7da024;
  --cyan: #00ABDC;
  --cyan-light: #e6f7fc;
  --ink: #1a2730;
  --mute: #52646f;
  --bg: #f6f8fa;
  --surface: #ffffff;
  --line: #dce4e8;
  --shadow-sm: 0 2px 8px rgba(0, 66, 104, 0.05);
  --shadow-md: 0 10px 28px rgba(0, 66, 104, 0.09);
  --shadow-lg: 0 18px 42px rgba(0, 66, 104, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16.5px/1.68 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: var(--navy); transition: color 0.2s ease; }
a:hover { color: var(--cyan); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .mb:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin: 0 0 0.45em; }
h1 small { font-size: 0.48em; color: var(--mute); font-weight: 500; display: block; margin-top: 0.35em; letter-spacing: 0; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 1.6em 0 0.6em; }
h3 { font-size: 1.15rem; margin: 1.7em 0 0.45em; }
h2.sub { font-weight: 500; color: var(--mute); margin-top: -0.25em; font-size: 1.25rem; }

/* Header & Navigation */
.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0, 66, 104, 0.04);
}
.top::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--navy) 55%, var(--cyan) 100%);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: auto; width: 175px; transition: opacity 0.2s ease; }
.brand:hover img { opacity: 0.9; }

nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
nav a {
  padding: 0.55em 1.05em;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
nav a:hover { background: var(--bg); color: var(--navy); }
nav a[aria-current] {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 66, 104, 0.2);
}

.mt, .mb { display: none; }

/* Hero Section (Startseite) */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 88% 20%, rgba(0, 171, 220, 0.09) 0%, transparent 45%),
              radial-gradient(circle at 75% 85%, rgba(150, 186, 53, 0.10) 0%, transparent 45%),
              linear-gradient(180deg, #ffffff 0%, #f4f8fa 100%);
  border-bottom: 1px solid var(--line);
}
.hg {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 64px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.15rem);
  line-height: 1.15;
  margin-bottom: 0.45em;
}
.lead { font-size: 1.16rem; color: var(--mute); max-width: 58ch; line-height: 1.65; }
.hero .lead { color: #364854; }

.who {
  margin: 1.8em 0 2em;
  padding: 14px 20px;
  background: #fff;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  display: inline-block;
}
.who span { display: block; font-size: 0.9rem; color: var(--mute); font-weight: 500; }
.who b { font-size: 1.35rem; color: var(--navy); display: block; margin-top: 2px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 0.85em 1.7em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font: 600 1rem inherit;
  border: 1px solid var(--navy);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 66, 104, 0.18);
  transition: all 0.2s ease;
}
.btn:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 66, 104, 0.24);
}
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}

/* Organische Logo-Formen rechts im Hero */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-motif {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 66, 104, 0.12));
}

/* Untere Sektion auf Startseite: Nur Buttons mit Sprungmarken zu den Unterseiten */
.quick-nav-sec {
  padding: 56px 0 68px;
}
.quick-nav-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}
.quick-nav-head h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}
.quick-nav-head p {
  margin: 0;
  color: var(--mute);
  font-size: 1rem;
}
.jump-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.jump-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent, var(--navy));
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.jump-btn .jb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 600;
  flex: none;
  transition: all 0.2s ease;
}
.jump-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent, var(--navy));
  color: var(--navy);
}
.jump-btn:hover .jb-icon {
  background: var(--accent, var(--navy));
  color: #fff;
}
.jump-btn.accent-green { --accent: var(--green); }
.jump-btn.accent-navy  { --accent: var(--navy); }
.jump-btn.accent-cyan  { --accent: var(--cyan); }

/* Standard Sections & Cards */
.sec { padding-top: 52px; padding-bottom: 64px; }
.page-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 44px 0 40px;
}
.page-header h1 { margin-bottom: 0.25em; }
.page-header .lead { margin-bottom: 0; }

.rows { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.rows a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 8px solid var(--c);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.rows b { display: block; font-size: 1.35rem; color: var(--navy); margin-bottom: 4px; }
.rows span { color: var(--mute); }
.rows i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  font: normal 1.5rem/1 sans-serif;
  color: var(--navy);
  flex: none;
  transition: all 0.2s ease;
}
.rows a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--c);
}
.rows a:hover i { background: var(--navy); color: #fff; }
.rows .g { --c: var(--green); }
.rows .n { --c: var(--navy); }
.rows .c { --c: var(--cyan); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* Prose & Content Cards */
.prose { max-width: 840px; }
.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}
.prose ul, .cv ul { padding-left: 1.25em; }
.prose li, .cv li { margin: 0.4em 0; }
.prose li::marker, .cv li::marker { color: var(--green); }
.note {
  color: var(--mute);
  font-size: 0.95rem;
  background: var(--bg);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cyan);
}
.prose p { max-width: 72ch; }

/* Über uns */
.cards { margin: 32px 0; align-items: stretch; }
.person {
  display: flex;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.person h2 { color: #fff; margin: 0 0 4px; font-size: 1.45rem; }
.person p { margin: 0; color: rgba(255, 255, 255, 0.85); }

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  flex: none;
  border: 3px solid var(--green);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  background: #fff;
}

.ini {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.55rem;
  flex: none;
  border: 3px solid var(--green);
}
.partner-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.partner-card h2 { margin-top: 0; font-size: 1.35rem; }
.partner-card p { margin-bottom: 0; color: var(--mute); }

.cv-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.cv-block h3:first-child { margin-top: 0; }
.cv h3 { font-size: 1.15rem; border-bottom: 2px solid var(--bg); padding-bottom: 8px; }
.cv p { margin: 1.1em 0 0.25em; color: var(--navy); }

/* Aktuelles */
.news { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.news article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--cyan);
  border-radius: var(--radius);
  padding: 24px 28px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news article:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news h2 { font-size: 1.22rem; margin-top: 0; }
.news article:nth-child(2) { border-top-color: var(--green); }
.news article:nth-child(3) { border-top-color: var(--navy); }
.news article p:last-child { margin-bottom: 0; margin-top: 16px; }
.news article a { font-weight: 600; text-decoration: none; }
.news article a:hover { text-decoration: underline; }

/* Kontakt */
.cf { align-items: start; margin-top: 32px; }
form {
  display: grid;
  gap: 18px;
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; color: var(--navy); }
input, select, textarea {
  font: inherit;
  padding: 0.75em 0.9em;
  border: 1px solid #c3cfd6;
  border-radius: var(--radius-sm);
  background: #fff;
  width: 100%;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 171, 220, 0.15);
  outline: none;
}
.chk { display: flex; gap: 10px; font-weight: 400; align-items: flex-start; color: var(--mute); font-size: 0.92rem; }
.chk input { width: auto; margin-top: 0.3em; }
.hp { position: absolute; left: -9999px; }
.status { padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 20px; }
.status.ok { background: #eaf5d6; color: #2a4700; border: 1px solid var(--green); }
.status.fehler { background: #fde8e8; color: #7a1212; border: 1px solid #e08b8b; }

aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}
aside h2 { margin-top: 0; font-size: 1.35rem; }

/* Footer */
footer {
  background: var(--navy-dark);
  color: #dce7ed;
  font-size: 0.94rem;
  padding: 44px 0 36px;
  border-top: 4px solid var(--navy);
}
footer b { color: #fff; font-size: 1rem; display: inline-block; margin-bottom: 6px; }
footer a { color: #9ee3f8; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.fg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

/* Responsive */
@media (max-width: 900px) {
  .hg { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .hero-visual { max-width: 240px; margin: 0 auto; }
  .jump-grid { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr; gap: 24px; }
  .fg { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .mb {
    display: inline-flex;
    align-items: center;
    padding: 0.5em 1em;
    border: 2px solid var(--navy);
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-weight: 600;
    cursor: pointer;
    background: #fff;
  }
  nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 8px; border-top: 1px solid var(--line); }
  .mt:checked ~ nav { display: flex; }
  .content-card { padding: 24px 20px; }
}
@media (max-width: 520px) {
  .jump-grid { grid-template-columns: 1fr; }
  .fg { grid-template-columns: 1fr; }
}
