/* Konstantin Straßel – Website
   Farben aus dem KS-Logo (Anthrazit, Sandstein, Weinrot), warme Papierfläche. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --paper: #f5f2ec;
  --paper-2: #ece7de;
  --card: #fffdf9;
  --ink: #1f2225;
  --ink-2: #2d3033;
  --muted: #5d605e;
  --line: #dfd8cb;
  --sand: #ab9a81;
  --sand-dark: #7d6c53;
  --wine: #744749;
  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(31, 34, 37, .04), 0 8px 30px rgba(31, 34, 37, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 450; line-height: 1.08; letter-spacing: -.015em; margin: 0; font-variation-settings: "opsz" 96, "SOFT" 30; }
h1 em, h2 em { font-style: italic; color: var(--wine); }
::selection { background: var(--sand); color: #fff; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font: 600 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-dark); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink-2); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 242, 236, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand span { font: 500 19px/1 var(--serif); letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s ease; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; padding: 11px 18px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s ease; }
  .nav a { padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; padding: 14px; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); font-weight: 400; letter-spacing: -.03em; line-height: .98; }
.hero .lead { font: 400 clamp(20px, 2.1vw, 25px)/1.45 var(--serif); color: var(--ink-2); margin: 28px 0 0; max-width: 34ch; font-variation-settings: "opsz" 24; }
.quals { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: 26px 0 34px; font-size: 14.5px; font-weight: 500; letter-spacing: .01em; color: var(--muted); }
.quals span { color: var(--sand); }
.roles { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 30px 0 34px; }
.roles li { font-size: 14px; font-weight: 500; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; }
.hero-photo .frame { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); box-shadow: var(--shadow); }
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { max-width: 440px; width: 100%; margin: 0 auto; order: -1; }
  .hero-photo .frame { aspect-ratio: 4 / 4.2; border-radius: 22px; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); max-width: 46ch; margin: 0; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* Featured: dickekreativ */
.featured { background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.featured-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.featured-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 9%, transparent); color: var(--brand); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.role { font-size: 14px; color: var(--muted); }
.featured .logo { height: 64px; width: auto; margin-bottom: 26px; object-fit: contain; object-position: left center; }
.featured h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.featured-body > p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 8px 0 28px; }
.chips li { font-size: 13.5px; padding: 6px 12px; border-radius: 8px; background: var(--paper); color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; margin: auto 0 28px; }
.facts b { display: block; font: 450 34px/1 var(--serif); color: var(--brand); margin-bottom: 6px; }
.facts span { font-size: 13.5px; color: var(--muted); line-height: 1.3; display: block; }
.link-out { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--brand); align-self: flex-start; border-bottom: 1.5px solid color-mix(in srgb, var(--brand) 30%, transparent); padding-bottom: 3px; transition: border-color .2s ease, gap .2s ease; }
.link-out:hover { border-color: var(--brand); gap: 14px; }
.featured-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.35fr 1fr; gap: 6px; padding: 6px; min-height: 100%; }
.featured-media figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--paper-2); }
.featured-media figure:first-child { grid-column: 1 / -1; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.featured:hover .featured-media img { transform: scale(1.02); }
@media (max-width: 960px) {
  .featured { grid-template-columns: minmax(0, 1fr); }
  .featured-media { order: -1; grid-template-rows: 260px 160px; }
}
@media (max-width: 520px) {
  .featured-media { grid-template-rows: 210px 120px; }
  .facts b { font-size: 28px; }
}

/* Group: KS Marketingvertrieb */
.group { margin-top: clamp(64px, 8vw, 100px); }
.group-head { display: flex; align-items: baseline; gap: 18px 28px; flex-wrap: wrap; border-top: 1px solid var(--ink-2); padding-top: 22px; margin-bottom: 28px; }
.group-head h3 { font-size: clamp(26px, 3vw, 34px); }
.group-head p { color: var(--muted); margin: 0; max-width: 60ch; flex: 1 1 320px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { --brand: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media.is-art { background: var(--ink-2); display: grid; place-items: center; color: #fff; }
.card-media.is-art svg { width: 100%; height: 100%; }
.card-body { padding: 26px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.card .logo { height: 40px; width: auto; max-width: 220px; margin-bottom: 18px; object-fit: contain; object-position: left center; }
.card h3 { font-size: 26px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 8px; }
.ticks li { font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); transform: translateY(-2px); flex: none; }
.card .link-out { margin-top: auto; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr; } }

/* Über mich */
.about { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: sticky; top: 100px; }
.about-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.about-photos figure:first-child { grid-column: 1 / -1; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }
.about-photos figure:first-child img { aspect-ratio: 3 / 2; object-position: 50% 30%; }
.about-photos figure:not(:first-child) img { aspect-ratio: 1 / 1; }
.about-text h2 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 26px; }
.about-text .big { font: 400 clamp(20px, 2vw, 24px)/1.5 var(--serif); color: var(--ink-2); font-variation-settings: "opsz" 24; }
.about-text p { color: var(--muted); }
.fact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.fact-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.fact-list b { display: block; font: 500 20px/1.2 var(--serif); margin-bottom: 4px; }
.fact-list span { font-size: 14.5px; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photos { position: static; }
}
@media (max-width: 480px) { .fact-list { grid-template-columns: 1fr; } }

/* Haltung */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.values article { padding: 32px 32px 8px 0; }
.values article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.values .num { font: 500 14px/1 var(--sans); color: var(--sand-dark); letter-spacing: .08em; margin-bottom: 22px; display: block; }
.values h3 { font-size: clamp(23px, 2.2vw, 28px); margin-bottom: 14px; }
.values p { color: var(--muted); font-size: 16px; }
@media (max-width: 820px) {
  .values { grid-template-columns: 1fr; }
  .values article, .values article + article { padding: 28px 0 4px; border-left: 0; }
  .values article + article { border-top: 1px solid var(--line); }
}

/* Kontakt */
.contact { background: var(--ink-2); color: #eceae4; }
.contact .eyebrow { color: var(--sand); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); }
.contact h2 { font-size: clamp(38px, 5.4vw, 64px); color: #fff; margin-bottom: 22px; }
.contact h2 em { color: var(--sand); }
.contact-intro p { color: #b9b8b2; max-width: 40ch; }
.contact-direct { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 4px; }
.contact-direct a { display: flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: color .2s ease, padding .2s ease; }
.contact-direct a:hover { color: var(--sand); padding-left: 4px; }
.contact-direct small { display: block; color: #8f8e89; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.contact-direct span { overflow-wrap: anywhere; }
.form { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: #b9b8b2; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: #fff; background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 13px 14px; transition: border-color .2s ease, background .2s ease; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b9b8b2' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field select option { color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sand); background: rgba(0, 0, 0, .28); }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #b9b8b2; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sand); flex: none; }
.check a { color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form .btn { background: var(--sand); color: var(--ink); }
.form .btn:hover { background: #c3b399; }
.form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { font-size: 14.5px; margin: 0; }
.form-status.ok { color: #9fd3a8; }
.form-status.err { color: #f0a59a; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #23262a; color: #9c9b95; font-size: 14px; padding: 34px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; flex-wrap: wrap; }
.site-footer .brand span { color: #fff; font-size: 17px; }
.site-footer .brand img { width: 32px; height: 32px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.foot-links a, .foot-links button { color: #c8c6bf; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.foot-links a:hover, .foot-links button:hover { color: #fff; }

/* Rechtstexte */
.legal { padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 110px); }
.legal .wrap { max-width: calc(780px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 36px; }
.legal h2 { font-size: 26px; margin: 44px 0 14px; }
.legal h3 { font: 600 17px/1.4 var(--sans); margin: 26px 0 8px; letter-spacing: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal a { color: var(--wine); }
.legal .card-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin: 18px 0; }

/* Fehlerseite */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(48px, 8vw, 96px); margin-bottom: 18px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* Consent (nur aktiv, wenn ein Tag-Manager konfiguriert ist) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 520px; margin-left: auto; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .18); padding: 22px; font-size: 14.5px; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 21px; margin-bottom: 8px; }
.consent p { color: var(--muted); margin-bottom: 14px; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { padding: 11px 16px; font-size: 14px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Social-Links an Unternehmen und Projekten */
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; margin-top: auto; }
.featured .card-foot { margin-top: 0; }
.card-foot .link-out { margin-top: 0; }
.socials { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.socials a { display: inline-block; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--muted); padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; transition: color .2s ease, border-color .2s ease; }
.socials a:hover { color: var(--brand, var(--ink)); border-color: currentColor; }

/* Abschlüsse */
.edu { list-style: none; padding: 0; margin: 4px 0 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.edu li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; }
.edu b { display: block; font: 500 18px/1.2 var(--serif); hyphens: manual; margin-bottom: 6px; color: var(--ink); }
.edu span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
@media (max-width: 560px) { .edu { grid-template-columns: 1fr; } .edu li { display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; } .edu b { margin: 0; min-width: 9.5em; } }

/* Mitscrollender Termin-Button (Calendly lädt erst beim Klick) */
.book-badge { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px 13px 16px; border-radius: 999px; background: var(--wine); color: #fff; font: 600 15px/1 var(--sans); text-decoration: none; box-shadow: 0 10px 30px rgba(116, 71, 73, .35); transition: transform .2s ease, box-shadow .2s ease, opacity .3s ease; }
.book-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(116, 71, 73, .45); }
.book-badge.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }
@media (max-width: 560px) { .book-badge { right: 12px; bottom: 12px; padding: 12px 16px 12px 13px; font-size: 14px; } }
.calendly-overlay { z-index: 200 !important; }
