/* ==========================================================================
   Wick Mediendesign — Stylesheet
   Design: Editorial/Print-Studio-Ästhetik — passend zum Beruf des Kunden
   (Grafik-Design, Druckproduktion, Werbetexte).
   ========================================================================== */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f8f6f4;
  --paper-2: #eaeaea;
  --ink: #23241F;
  --ink-soft: #57554A;
  --red: #B8402D;
  --petrol: #2E4A56;
  --line: #C7C0AC;
  --line-soft: #D9D4C4;

  --font-head: "IBM Plex Sans", -apple-system, Segoe UI, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, Segoe UI, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 650;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 13px;
  color: var(--red);
  margin-bottom: 0.9em;
}
.eyebrow-mark svg { width: 14px; height: 14px; flex: none; }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.5em;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Crop-mark motif (print-production reference) ---------- */
.crop {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.crop::before, .crop::after { content: ""; position: absolute; background: var(--red); }
.crop::before { width: 100%; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.crop::after { height: 100%; width: 1.5px; left: 50%; top: 0; transform: translateX(-50%); }
.crop.tl { top: 14px; left: 14px; }
.crop.tr { top: 14px; right: 14px; }
.crop.bl { bottom: 14px; left: 14px; }
.crop.br { bottom: 14px; right: 14px; }

/* ---------- Header ---------- */
header.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 76px;
  background: rgba(237, 234, 226, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.wordmark span { color: var(--red); }

nav.main-nav { display: flex; align-items: center; gap: 2.1rem; }
nav.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  margin-right: 2.1rem;
}
nav.main-nav a:last-child { margin-right: 0; }
nav.main-nav a:hover { color: var(--ink); }
nav.main-nav a.current { color: var(--ink); }
nav.main-nav a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--red);
}
nav.main-nav a.cta {
  color: var(--paper);
  background: var(--ink);
  padding: 0.55em 1.1em;
}
nav.main-nav a.cta:hover { background: var(--red); }

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 28px; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 4px; right: 4px; height: 2px; background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle span { top: 13px; }
.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { top: 8px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 4vw;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  margin-bottom: 0.4em;
}
.hero-text .lede { margin-bottom: 1.6em; }
.hero-actions { display: flex; gap: 0.9em; flex-wrap: wrap; }
.hero-figure {
  position: relative;
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--paper-2);
}
.hero-figure img { width: 100%; height: 320px; object-fit: cover; }
.hero-figure figcaption {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.7em;
  display: flex;
  justify-content: space-between;
}

/* ---------- Intro strip ---------- */
.intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3.2rem 0;
}
.intro .wrap { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(20px, 4vw, 60px); }
.intro-label {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.intro-copy p { font-size: 1.05rem; }
.intro-copy p:last-child { margin-bottom: 0; }

/* ---------- Section shell ---------- */
.section { padding: 4.6rem 0; position: relative; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-head {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(20px, 4vw, 60px);
  margin-bottom: 2.4rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-label {
  font-size: 0.8rem;
  color: var(--red);
  text-transform: none;
  letter-spacing: 0.02em;
}
.section-body { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(20px, 4vw, 60px); }
.section-body.img-right { grid-template-columns: 1.25fr 0.75fr; align-items: start; }
.section-body .filler { }

.mini-figure {
  position: relative;
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--paper-2);
  margin: 0;
}
.mini-figure img { width: 100%; height: 230px; object-fit: cover; }
.mini-figure figcaption {
  font-size: 0.76rem;
  color: var(--ink-soft);
  margin-top: 0.6em;
}

.svc-list { list-style: none; margin: 0; padding: 0; max-width: 46ch; }
.svc-list li {
  padding: 0.6em 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.98rem;
}
.svc-list li:first-child { padding-top: 0; }
.svc-list li:last-child { border-bottom: none; }

.section-cta { margin-top: 1.8rem; }
.section-cta a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 2px;
  font-size: 0.95rem;
}
.section-cta a:hover { color: var(--red); }

/* Section accent per topic */
#grafik .section-label { color: var(--red); }
#content .section-label { color: var(--petrol); }
#sprecherei .section-label { color: var(--ink-soft); }

/* ---------- Ueber mich ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.about-figure { position: relative; border: 1px solid var(--line); padding: 10px; background: var(--paper-2); }
.about-figure img { width: 100%; height: auto; }
.about-copy p { font-size: 1.02rem; }
.about-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: none;
  color: var(--ink-soft);
  margin: 1.8em 0 0.8em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line-soft);
}
.about-copy > .about-sub:first-of-type { border-top: none; padding-top: 0; }
ul.timeline { list-style: none; margin: 0; padding: 0; }
ul.timeline li {
  position: relative;
  padding-left: 4.2em;
  margin-bottom: 0.8em;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
ul.timeline li span {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-head);
  color: var(--red);
  font-size: 0.92rem;
}
dl.skills { margin: 0; display: grid; grid-template-columns: 9em 1fr; gap: 0.7em 1.4em; }
dl.skills dt { font-size: 0.85rem; color: var(--ink-soft); padding-top: 0.15em; }
dl.skills dd { margin: 0; font-size: 0.95rem; }
dl.skills a { border-bottom: 1px solid var(--red); text-decoration: none; }
dl.skills a:hover { color: var(--red); }

/* ---------- Kontakt ---------- */
#kontakt { background: var(--ink); color: var(--paper); }
#kontakt .section-label { color: #E7A08F; }
#kontakt.section + .section { border-top: none; }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}
.kontakt-figure { position: relative; border: 1px solid rgba(237,234,226,0.25); }
.kontakt-figure img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.kontakt-details dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5em 1.4em;
  margin: 0 0 2em;
  font-size: 0.98rem;
}
.kontakt-details dt { color: rgba(237,234,226,0.55); }
.kontakt-details dd { margin: 0; }
.kontakt-details a { text-decoration: none; border-bottom: 1px solid rgba(237,234,226,0.35); }
.kontakt-details a:hover { border-color: var(--red); color: #E7A08F; }

form.kontakt-form { display: grid; gap: 1rem; margin-top: 0.5rem; }
form.kontakt-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form.kontakt-form label {
  display: block;
  font-size: 0.82rem;
  color: rgba(237,234,226,0.6);
  margin-bottom: 0.35em;
}
form.kontakt-form input,
form.kontakt-form select,
form.kontakt-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(237,234,226,0.35);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.5em 0.1em;
}
form.kontakt-form select option { color: var(--ink); }
form.kontakt-form input:focus,
form.kontakt-form select:focus,
form.kontakt-form textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}
form.kontakt-form textarea { resize: vertical; min-height: 100px; }
form.kontakt-form .form-note {
  font-size: 0.8rem;
  color: rgba(237,234,226,0.55);
}
form.kontakt-form .btn { margin-top: 0.4em; align-self: start; }

/* ---------- Footer ---------- */
footer.site-foot {
  background: var(--ink);
  color: rgba(237,234,226,0.7);
  border-top: 1px solid rgba(237,234,226,0.15);
  padding: 2.6rem 0 2rem;
  font-size: 0.9rem;
}
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1.6rem; }
.foot-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.foot-nav a { text-decoration: none; color: inherit; }
.foot-nav a:hover { color: var(--paper); }
.foot-social { display: flex; gap: 0.9rem; align-items: center; }
.foot-social img { width: 20px; height: 20px; opacity: 0.85; }
.foot-social a:hover img { opacity: 1; }
.foot-bottom {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(237,234,226,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(237,234,226,0.5);
}

/* ---------- Simple pages (Impressum/Datenschutz) ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 130px var(--gutter) 5vw;
}
.legal h1 { font-size: 2rem; margin-bottom: 0.9rem; }
.legal h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .back-link { display: inline-block; margin-bottom: 2rem; font-size: 0.9rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.legal .placeholder {
  background: var(--paper-2);
  border-left: 3px solid var(--red);
  padding: 0.15em 0.5em;
}

/* ---------- Blog ---------- */
.blog-page { max-width: 860px; }
.blog-page h1 { font-size: 2.1rem; margin-bottom: 0.5rem; }
.post-list { display: flex; flex-direction: column; }
.post {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.post.has-img { grid-template-columns: 230px 1fr; align-items: start; }
.post.has-img.two-img { grid-template-columns: 230px 230px 1fr; }
.post:last-child { padding-bottom: 0; }
.post-figure { margin: 0; border: 1px solid var(--line); padding: 6px; background: var(--paper-2); }
.post-figure img { width: 100%; height: 170px; object-fit: cover; display: block; }
.post-body { min-width: 0; }
.post-date {
  font-size: 0.8rem;
  color: var(--red);
  margin: 0 0 0.4em;
}
.post h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5em;
}
.post p:not(.post-date):not(.post-link) { color: var(--ink-soft); }
.post-link { margin-top: 0.6em; }
.post-link a {
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  color: var(--ink);
}
.post-link a:hover { color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  nav.main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 66px; left: 0; right: 0; bottom: 0;
    background: var(--paper);
    padding: 2rem var(--gutter);
    gap: 1.5rem;
    overflow-y: auto;
  }
  nav.main-nav.mobile-open a { font-size: 1.15rem; }

  .hero { grid-template-columns: 1fr; }
  .hero-figure img { height: 260px; }
  .intro .wrap,
  .section-head,
  .section-body,
  .about-grid,
  .kontakt-grid { grid-template-columns: 1fr; }
  .svc-list { columns: 1; }
  .kontakt-figure img { min-height: 200px; }
  form.kontakt-form .row2 { grid-template-columns: 1fr; }
  dl.skills { grid-template-columns: 1fr; }
  dl.skills dt { padding-top: 0; font-weight: 600; }
  .post.has-img,
  .post.has-img.two-img { grid-template-columns: 1fr; }
  .post-figure img { height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
