/* CSL */
:root {
  --petrol: #0F4C5C;
  --text: #1b1f23;
  --muted: #4b5563;
  --line: rgba(15, 76, 92, 0.14);
  --bg: #ffffff;
  --bg-soft: #f6f8f9;
  --card: #ffffff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 44px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #000;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus {
  left: 14px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}
.brand img {
  height: 38px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  color: rgba(0,0,0,0.82);
}
.nav a {
  padding: 10px 10px;
  border-radius: 10px;
}
.nav a:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}

.burger {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 12px;
}
.burger:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}
.burger .line {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(0,0,0,0.75);
  margin: 4px 0;
  border-radius: 999px;
}

.mobile {
  display: none;
  padding: 10px 0 16px 0;
}
.mobile a {
  display: block;
  padding: 12px 8px;
  border-radius: 12px;
}
.mobile a:hover {
  background: rgba(15, 76, 92, 0.06);
  text-decoration: none;
}

.hero {
  padding: clamp(56px, 8vw, 96px) 0 40px 0;
  background:
    radial-gradient(900px 300px at 20% 10%, rgba(15, 76, 92, 0.12), transparent 60%),
    radial-gradient(700px 260px at 85% 20%, rgba(15, 76, 92, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(246,248,249,0.9), rgba(255,255,255,1));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
}

.kicker {
  color: var(--petrol);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 12px 0 10px 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: clamp(16px, 1.5vw, 18px);
  color: rgba(0,0,0,0.74);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  font-weight: 600;
}
.btn:hover {
  text-decoration: none;
  border-color: rgba(0,0,0,0.22);
}
.btn.primary {
  background: var(--petrol);
  border-color: var(--petrol);
  color: #fff;
}
.btn.primary:hover {
  filter: brightness(0.98);
}

.hero-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 18px 18px 16px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.hero-card h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
}
.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,0.74);
}
.hero-card li {
  margin: 8px 0;
}

.section {
  padding: clamp(54px, 7vw, 84px) 0;
}
.section.soft {
  background: var(--bg-soft);
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 26px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0;
  color: rgba(0,0,0,0.70);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  grid-column: span 6;
  background: var(--card);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 18px 18px 16px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}
.card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: rgba(0,0,0,0.72);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 92, 0.25);
  background: rgba(15, 76, 92, 0.06);
  color: var(--petrol);
  font-weight: 650;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 30px);
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 18px;
}
.panel h3 {
  margin: 0 0 10px 0;
}
.panel ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,0.72);
}
.panel li {
  margin: 8px 0;
}

.hr {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 18px 0;
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(16px, 3vw, 28px);
}
.contact .box {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 18px;
}
.key {
  color: rgba(0,0,0,0.62);
  font-size: 13px;
}
.value {
  font-weight: 650;
}

.footer {
  padding: 26px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-left img {
  height: 26px;
  width: auto;
  display: block;
}
.footer small {
  color: rgba(0,0,0,0.62);
}

.legal {
  padding: 58px 0;
}
.legal h1 {
  font-size: clamp(28px, 3.2vw, 40px);
}
.legal h2 {
  margin-top: 26px;
  font-size: 18px;
}
.legal p, .legal li {
  color: rgba(0,0,0,0.74);
}


/* 3-up cards (e.g., Strategy/Change/Leadership, 3-step approach) */
.card.third { grid-column: span 4; }

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }
  .burger {
    display: inline-block;
  }
  .mobile.show {
    display: block;
  }
  .card {
    grid-column: span 12;
  }
  .split {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


.about-intro{margin: 6px 0 18px}
.about-intro .sub{margin-bottom:10px}


/* ---- CSL tweaks ---- */
.header .brand img{
  height: 120px; /* ~3x larger */
  width: auto;
}
.header-inner{
  padding: 10px 0; /* adjust for taller logo */
}
@media (max-width: 920px){
  .header .brand img{
    height: 68px; /* keep mobile manageable */
  }
}


/* Services section */
.services-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.services-grid .card{
  min-height: 240px;
}
@media (max-width: 980px){
  .services-grid{
    grid-template-columns: 1fr;
  }
}


.csl-tagline{white-space:nowrap;}
@media (max-width: 520px){ .csl-tagline{white-space:normal;} }


/* Leistungen */
.grid-3-cards .card{
  grid-column: span 4 !important;
  min-height: 240px;
}
@media (max-width: 1100px){
  .grid-3-cards .card{ grid-column: span 6 !important; } /* 2 pro Reihe */
}
@media (max-width: 760px){
  .grid-3-cards .card{ grid-column: span 12 !important; } /* untereinander */
}


/* Leistungen */
.services-grid{
  display: block !important;
}


/* Spacing */
.card .badge{
  margin-bottom: 12px;
}


/* make right "Schwerpunkte" card wider */
.hero-grid{
  grid-template-columns: 1fr 460px;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}

/* Hero: CSL pillars directly under subtitle */
.csl-pillars{
  margin: 16px 0 14px 0;
}
.csl-pillars .card.third{
  padding: 16px 16px 14px 16px;
}


/* Hero boxes row (CSL + Schwerpunkte) */
.hero-grid{
  grid-template-columns: 1fr; /* Schwerpunkte ist jetzt Teil der Boxen-Zeile */
}

.hero-boxes{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.35fr;
  gap: 14px;
  margin-top: 26px;
}

.hero-boxes .card{
  grid-column: auto !important; /* entkoppeln vom 12er Grid */
}

.hero-boxes .card.third{
  padding: 16px 16px 14px 16px;
}

.hero-boxes .hero-focus h3{
  margin: 0 0 10px 0;
}

.hero-boxes .hero-focus ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,0.72);
}

@media (max-width: 1100px){
  .hero-boxes{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-boxes .hero-focus{
    grid-column: span 2;
  }
}

@media (max-width: 760px){
  .hero-boxes{
    grid-template-columns: 1fr;
  }
  .hero-boxes .hero-focus{
    grid-column: auto;
  }
}


/* spacing refinements */
.subtitle{
  white-space: nowrap;
}
@media (max-width: 760px){
  .subtitle{ white-space: normal; }
}

/* more air between CTA and hero boxes */
.hero-boxes{ margin-top: 26px; }

/* tighter transition to Leistungsportfolio */
section.hero{ padding-bottom: 18px; }
section.section#leistungen{ padding-top: 34px; }


/* About: bullet list styling */
.about-bullets{
  margin: 10px 0 0 0;
  padding-left: 20px;
  color: rgba(0,0,0,0.72);
}
.about-bullets li{
  margin: 10px 0;
}


/* hero padding: move headline slightly upward */
.hero{
  padding: clamp(44px, 7vw, 84px) 0 40px 0;
}


/* hero spacing: headline higher, more air before CTA */
.hero{
  padding: clamp(12px, 5vw, 36px) 0 40px 0; /* move content upward (was much larger) */
}
h1.csl-tagline{
  margin-top: 6px; /* slightly tighter to top */
}
.hero-actions{
  margin-top: 26px; /* more distance before the button row */
}


/* hero button position: CTA below the 4 boxes */
.hero-boxes{ margin-top: 18px; }
.hero-actions{ margin-top: 18px; }


/* Anchor offset for sticky header (prevents section titles from being hidden) */
:root{
  --scroll-offset: 120px;
}
section[id]{
  scroll-margin-top: var(--scroll-offset);
}
@media (max-width: 920px){
  :root{ --scroll-offset: 96px; }
}


/* spacing tweaks */
h1.csl-tagline{
  margin-top: 36px; /* ~1cm lower */
}


/* hero spacing: more air around 4 boxes and CTA */
.hero-boxes{
  margin-top: 28px;
  margin-bottom: 24px;
}
.hero-actions{
  margin-top: 18px;
  margin-bottom: 22px; /* more space after button */
}


/* Quote-style callout (Arbeitsweise) */
.quote-callout{
  margin: 34px 0 29px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--petrol);
  background: rgba(15, 76, 92, 0.06);
  border-radius: 14px;
}
.quote-callout p{
  margin: 0;
  color: rgba(0,0,0,0.78);
  line-height: 1.55;
}


/* About section: photo */
.about-grid{
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  align-items: start;
}
.about-photo img{
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
@media (max-width: 920px){
  .about-grid{
    grid-template-columns: 1fr;
  }
  .about-photo{
    max-width: 320px;
  }
}


/* about photo size: smaller portrait, closer to bullet list height */
.about-grid{
  grid-template-columns: 1fr 220px;
}
.about-photo{
  max-width: 220px;
}
@media (max-width: 920px){
  .about-photo{
    max-width: 260px; /* mobile can be a touch bigger */
  }
}


/* about photo size: 60% of previous */
.about-grid{
  grid-template-columns: 1fr 132px;
}
.about-photo{
  max-width: 132px;
}
@media (max-width: 920px){
  .about-photo{
    max-width: 156px;
  }
}


/* about photo align: portrait aligns with "Über mich" heading */
.about-wrapper{
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 18px;
  align-items: start;
}
.about-right{
  align-self: start;
}
.about-photo{
  max-width: 132px;
}
.about-photo img{
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
@media (max-width: 920px){
  .about-wrapper{
    grid-template-columns: 1fr;
  }
  .about-photo{
    max-width: 156px;
  }
}


body{

  }
  section{


  }
}


/* bottom spacer */
body{
  padding-bottom: 260px;
}


/* extra scroll room so #kontakt can be positioned higher */
.page-spacer{
  height: 260px;
}


/* leistungsportfolio spacing: more top padding so heading aligns with other sections */
section.section#leistungen{
  padding-top: 72px; /* +~1 cm compared to previous 34px */
}

/* Datenschutzerklärung – Headline Position */
.page-head--lower{
  padding-top: 57px !important;
}


/* shrink: Leistungsportfolio-Karten */
#leistungen .card{
  min-height: 210px;
}
