/* Druckerei Geiger – schlankes, statisches Stylesheet */
:root {
  --brand: #e5097f;
  --brand-dark: #b8066a;
  --brand-soft: #fde8f3;
  --ink: #1d1d24;
  --ink-soft: #55556a;
  --line: #e7e5ea;
  --bg: #ffffff;
  --bg-alt: #f7f6f9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 29, 36, .08);
  --max: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 750; }
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 20px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  background: var(--brand); color: #fff;
  border: 2px solid var(--brand);
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-alt); color: var(--ink); border-color: var(--line); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.logo:hover { color: var(--ink); }
.logo img { height: 42px; width: auto; }
.logo-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand); color: #fff; font-size: 1.1rem;
}
.logo-text:not([hidden]) { display: flex; align-items: center; gap: 10px; }
.logo span small { display: block; font-weight: 500; font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav .btn { color: #fff; padding: .6em 1.2em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
}

/* Hero */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--brand); }
.h1-sub { display: block; margin-top: .4em; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 650; color: var(--ink); letter-spacing: 0; }
.hero .lead { font-size: 1.25rem; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; gap: 40px; } }

.page-hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }

/* Bild-Platzhalter: Bild wird angezeigt, sobald die Datei existiert */
.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(229, 9, 127, .05) 14px 28px),
    var(--bg-alt);
  border: 2px dashed rgba(229, 9, 127, .35);
}
.media::before { content: ""; display: block; padding-top: var(--ratio, 75%); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media:has(img) { border: 0; }
.media-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
  color: var(--ink-soft); font-size: .9rem;
}
.media-label strong { color: var(--brand); font-size: 1rem; margin-bottom: .3em; }
.media-label code { background: #fff; padding: 2px 8px; border-radius: 6px; font-size: .85rem; margin-top: .5em; }

/* Grid & Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 56px; align-items: center; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .grid-2 { gap: 36px; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--ink-soft); margin: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card-link { display: inline-block; margin-top: 16px; font-weight: 700; font-size: .95rem; }

.section-head { margin-bottom: 48px; }

/* Leistungslisten */
.service-block { padding: 40px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block h2 { font-size: 1.5rem; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.service-list li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.service-list strong { color: var(--ink); display: block; }
@media (max-width: 820px) { .service-block { grid-template-columns: 1fr; gap: 16px; } }

/* Fließtext-Seiten */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose p { color: var(--ink-soft); }

.prose ul { color: var(--ink-soft); padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.todo { background: #fff3a8; color: var(--ink); padding: 0 4px; border-radius: 4px; }

/* Tabellen */
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--ink); background: var(--bg-alt); font-weight: 700; }
td { color: var(--ink-soft); }

/* Hinweisbox */
.note { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 8px; padding: 18px 22px; margin: 1.5em 0; }
.note p { color: var(--ink); margin: 0; }

/* CTA-Band */
.cta {
  background: var(--ink); color: #fff;
  border-radius: calc(var(--radius) * 1.5);
  padding: 56px;
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.cta h2 { margin: 0 0 .3em; }
.cta p { color: rgba(255, 255, 255, .7); margin: 0; max-width: 560px; }
@media (max-width: 600px) { .cta { padding: 36px 24px; } }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { text-align: center; }
.contact-item .icon { margin: 0 auto 18px; }
.contact-item a, .contact-item strong { color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.contact-item a:hover { color: var(--brand); }
.contact-item small { display: block; color: var(--ink-soft); margin-top: 6px; font-size: .9rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: .9rem; color: var(--ink-soft); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--brand); }
