/* Konradi Design — Gestaltung der Website
 * Wegweiser: 01 Grundlagen · 02–13 Bereiche · 14–16 Responsive/Bewegung
 *            17 Markenstil · 18 Mint-Farben · 19–20 Bedienbarkeit und schmale Grids
 *            21–22 Branding-Bilder · 23 Designpreise · 24 Visueller QA-Feinschliff
 * Die Kaskade folgt der gelieferten Vorschau und bewahrt deren Erscheinungsbild.
 * Inhalte: ../../index.html | Verhalten: ../js/main.js
 */

/* 01 · Lokale Schrift, Farbvariablen, Typografie und gemeinsame Elemente */
@font-face {
  font-family: 'KD Sans';
  font-weight: 100 500;
  font-display: swap;
  src: url(../fonts/kd-sans-regular.woff) format('woff');
}

:root {
  --paper: #f4f3ee;
  --ink: #20221f;
  --muted: #62655e;
  --line: #d3d5ca;
  --sage: #dce2d2;
  --stone: #e7e5df;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 'KD Sans',Arial,sans-serif;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
  cursor: pointer;
}

button:focus-visible,a:focus-visible {
  outline: 3px solid #758264;
  outline-offset: 5px;
}

button {
  border: 0;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2,h3,.display {
  font-family: 'KD Sans',Arial,sans-serif;
  font-weight: 400;
  letter-spacing: -.047em;
  line-height: 1.06;
}

h1 {
  font-size: 112px;
  max-width: 1280px;
}

h2 {
  font-size: 64px;
}

h3 {
  font-size: 36px;
  line-height: 1.16;
}

p {
  max-width: 100%;
}

.eyebrow {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: var(--muted);
}

.large {
  font-size: 22px;
  line-height: 1.46;
}

.muted {
  color: var(--muted);
}

.section {
  padding: 88px 80px;
  scroll-margin-top: 24px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.row {
  display: flex;
  gap: 24px;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  width: 100%;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  line-height: 24px;
  white-space: nowrap;
  transition: background .15s;
}

.button:hover {
  background: var(--muted);
}

.button.light {
  background: var(--paper);
  color: var(--ink);
}

.button.light:hover {
  background: var(--sage);
}

.textlink {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  font-size: 15px;
  gap: 20px;
}

.textlink:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.dark {
  background: var(--ink);
  color: var(--paper);
}

.dark .eyebrow,.dark .muted {
  color: var(--sage);
}

.dark .rule {
  background: var(--muted);
}

/* 02 · Kopfzeile und Navigation */
header {
  padding: 24px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  font-size: 25px;
  letter-spacing: -.04em;
  line-height: .96;
  font-weight: 500;
  min-width: 170px;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navigation a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 15px;
}

.navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.menu-button {
  display: none;
  min-height: 48px;
  background: none;
  color: var(--ink);
}

/* 03 · Startbereich: Überschrift, Versprechen und Aktionen */
.hero {
  padding-top: 64px;
  padding-bottom: 56px;
}

.hero h1 {
  margin: 24px 0 64px;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 28px;
}

.hero-meta {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

/* 04 · Arbeitsproben und grafische Projektflächen */
.work {
  padding-top: 32px;
}

.work-heading {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 40px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 24px;
}

.project {
  display: block;
  background: none;
  text-align: left;
  padding: 0;
  color: inherit;
  width: 100%;
}

.project-art {
  height: 420px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background .18s;
}

.brand-art {
  background: var(--sage);
}

.project-art .display {
  font-size: 64px;
}

.rhythm {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 8px;
  height: 52px;
}

.rhythm i {
  display: block;
  background: var(--ink);
}

.rhythm i:nth-child(even) {
  background: var(--paper);
}

.web-art {
  background: var(--ink);
  color: var(--paper);
}

.web-art>.eyebrow {
  color: var(--sage);
}

.web-specimen {
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.web-specimen .project-title {
  font-size: 40px;
}

.social-art {
  background: var(--stone);
}

.posters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.poster {
  height: 228px;
  padding: 20px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.poster:nth-child(2) {
  background: var(--ink);
  color: var(--paper);
}

.poster:nth-child(2) .eyebrow {
  color: var(--sage);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 20px;
}

.project-meta > span > span:first-child {
  font-size: 18px;
  line-height: 1.4;
}

.project-meta .eyebrow {
  margin-top: 5px;
}

.project-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--paper);
  transition: background .18s,color .18s;
  flex-shrink: 0;
}

.project:hover .project-arrow {
  background: var(--ink);
  color: var(--paper);
}

.work-note {
  padding: 64px 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.work-note p {
  max-width: 460px;
}

/* 05 · Leistungen auf dunklem Hintergrund */
.services h2 {
  margin: 40px 0 48px;
}

.service {
  display: grid;
  grid-template-columns: 60px 1fr 1.25fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--muted);
  align-items: start;
}

.service h3 {
  font-size: 64px;
}

.service-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-copy .eyebrow {
  font-size: 12px;
  letter-spacing: 0;
}

.services .concept {
  margin-top: 24px;
}

/* 06 · Web-Pakete und Leistungslisten */
.packages h2 {
  margin: 24px 0;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 40px;
}

.package {
  padding: 32px;
  background: var(--stone);
  display: flex;
  flex-direction: column;
  min-height: 680px;
  gap: 24px;
}

.package.featured {
  background: var(--ink);
  color: var(--paper);
}

.package.featured .muted,.package.featured .eyebrow {
  color: var(--sage);
}

.package.featured .rule {
  background: var(--muted);
}

.package-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.package h3 {
  font-size: 36px;
}

.price {
  font-size: 40px;
  letter-spacing: -.05em;
  line-height: 1.2;
  margin-top: 4px;
}

.features {
  padding: 0;
  margin: 0;
  list-style: none;
  line-height: 1.7;
}

.features li {
  padding: 3px 0;
}

.package .button {
  margin-top: auto;
  width: 100%;
  gap: 12px;
  font-size: 14px;
}

.package-note {
  margin-top: 32px;
  max-width: 1100px;
}

/* 07 · Vorteile der Zusammenarbeit */
.benefits {
  background: var(--sage);
}

.benefits h2 {
  margin: 32px 0 48px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
}

.benefit {
  border-top: 1px solid var(--muted);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 08 · Mensch und Technologie */
.ai {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
}

.ai h2 {
  margin: 24px 0 32px;
}

.ai-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-content: center;
}

.ai-column {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ai-column h3 {
  font-size: 32px;
}

.ai-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2;
}

.ai-note {
  grid-column: span 2;
  font-size: 14px;
  color: var(--muted);
}

/* 09 · Über Jacob und Markenmotiv */
.about {
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.portrait {
  height: 580px;
  background: var(--stone);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portrait .initials {
  font-size: 260px;
  line-height: 1;
  letter-spacing: -.12em;
  color: var(--muted);
  font-weight: 400;
}

.portrait .eyebrow {
  max-width: 370px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.signature {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* 10 · Ablauf in fünf Schritten */
.process h2 {
  margin: 24px 0;
}

.process-intro {
  max-width: 720px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 24px;
  margin-top: 48px;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.step h3 {
  font-size: 25px;
  letter-spacing: -.035em;
}

.step .number {
  font-size: 56px;
  line-height: 1;
  color: var(--muted);
  letter-spacing: -.04em;
}

/* 11 · Kontaktbereich */
.contact {
  background: var(--sage);
}

.contact h2 {
  font-size: 96px;
  margin: 32px 0 48px;
  max-width: 1150px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.contact .email {
  font-size: 24px;
  letter-spacing: -.025em;
}

/* 12 · Fußzeile */
.footer {
  padding: 48px 80px 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: start;
}

.footer-col a,.footer-col button {
  min-height: 36px;
  padding: 4px 0;
  background: none;
  color: var(--ink);
  text-align: left;
  font-size: 15px;
}

.footer-col button:hover,.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
}

/* 13 · Dialoge und mobiles Menü */
dialog {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 40px;
  width: min(560px,calc(100% - 32px));
  max-height: 90vh;
}

dialog::backdrop {
  background: #20221f90;
}

dialog h2 {
  font-size: 42px;
  margin: 24px 0;
}

dialog p {
  margin-bottom: 24px;
}

dialog .close {
  background: none;
  float: right;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  font-size: 22px;
}

dialog .button {
  width: 100%;
}

#mobile-menu {
  width: 100%;
  max-width: 390px;
  height: 100%;
  max-height: 100%;
  margin: 0 0 0 auto;
  padding: 24px;
}

#mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 80px;
}

#mobile-menu nav a {
  font-size: 36px;
  letter-spacing: -.04em;
  line-height: 1.3;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

#mobile-menu .button {
  margin-top: 32px;
}

.prototype-note {
  font-size: 12px;
  color: var(--muted);
}

/* 14 · Grundlayout für Tablets */
@media(max-width:1050px) {
  header {
    padding: 24px 40px;
  }
  .section {
    padding: 64px 40px;
  }
  .navigation {
    gap: 18px;
  }
  .navigation a {
    font-size: 13px;
  }
  h1 {
    font-size: 84px;
  }
  h2 {
    font-size: 52px;
  }
  .hero-bottom {
    gap: 48px;
  }
  .work-heading {
    gap: 40px;
  }
  .service h3 {
    font-size: 46px;
  }
  .service {
    gap: 24px;
    grid-template-columns: 40px 1fr 1.2fr;
  }
  .package {
    padding: 24px;
  }
  .package h3 {
    font-size: 29px;
  }
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ai {
    gap: 48px;
  }
  .about {
    gap: 48px;
  }
  .contact h2 {
    font-size: 80px;
  }
  .footer {
    padding: 40px;
  }
  .process-grid {
    gap: 20px;
  }
  .step h3 {
    font-size: 21px;
  }
}

/* 15 · Grundlayout für Smartphones */
@media(max-width:700px) {
  header {
    padding: 24px;
    gap: 24px;
  }
  .wordmark {
    font-size: 24px;
  }
  .navigation,header>.button {
    display: none;
  }
  .menu-button {
    display: block;
    font-size: 15px;
  }
  .section {
    padding: 64px 24px;
  }
  h1 {
    font-size: 54px;
    line-height: 1.07;
    letter-spacing: -.05em;
  }
  h2 {
    font-size: 38px;
    line-height: 1.12;
  }
  h3 {
    font-size: 30px;
  }
  .large {
    font-size: 19px;
    line-height: 1.5;
  }
  .eyebrow {
    font-size: 11px;
    line-height: 1.5;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .hero h1 {
    margin: 24px 0 36px;
  }
  .desktop-break {
    display: none;
  }
  .hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .hero-promise {
    font-size: 16px;
    line-height: 1.6;
  }
  .hero-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-actions .textlink {
    justify-content: center;
  }
  .hero-meta {
    margin-top: 32px;
    padding-top: 24px;
    flex-direction: column;
    gap: 12px;
  }
  .work {
    padding-top: 24px;
  }
  .work-heading {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px;
    margin-bottom: 32px;
  }
  .work-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .project-art {
    height: 320px;
    padding: 24px;
  }
  .project-art .display {
    font-size: 46px;
  }
  .project-art .eyebrow {
    font-size: 10px;
  }
  .rhythm {
    height: 36px;
  }
  .web-specimen {
    padding: 20px;
    gap: 12px;
  }
  .web-specimen .project-title {
    font-size: 36px;
  }
  .poster {
    height: 185px;
    padding: 16px;
  }
  .poster .project-title {
    font-size: 32px;
  }
  .poster .eyebrow {
    font-size: 9px;
  }
  .project-meta {
    padding-top: 16px;
    gap: 12px;
  }
  .project-meta > span > span:first-child {
    font-size: 17px;
  }
  .work-note {
    padding: 16px 0 0;
    gap: 24px;
  }
  .service {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 16px;
    padding: 32px 0;
  }
  .service h3 {
    font-size: 38px;
  }
  .service-copy {
    grid-column: 2;
    font-size: 16px;
  }
  .service-copy .large {
    font-size: 18px;
  }
  .service-copy .eyebrow {
    font-size: 11px;
  }
  .services h2 {
    margin: 24px 0 32px;
  }
  .services .concept {
    margin-top: 16px;
    font-size: 14px;
  }
  .packages h2 {
    margin: 24px 0;
  }
  .package-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
    gap: 24px;
  }
  .package {
    padding: 28px;
    min-height: 0;
    gap: 24px;
  }
  .package-head {
    gap: 14px;
  }
  .package h3 {
    font-size: 34px;
  }
  .package .eyebrow {
    font-size: 10px;
  }
  .package .button {
    margin-top: 12px;
  }
  .price {
    font-size: 38px;
  }
  .features {
    font-size: 15px;
    line-height: 1.65;
  }
  .package-note {
    font-size: 14px;
  }
  .benefits h2 {
    margin: 24px 0 32px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .benefit {
    gap: 16px;
    padding-top: 20px;
  }
  .benefit h3 {
    font-size: 30px;
  }
  .ai {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .ai h2 {
    margin: 24px 0;
  }
  .ai-map {
    gap: 16px;
  }
  .ai-column {
    gap: 20px;
    padding: 24px 0;
  }
  .ai-column h3 {
    font-size: 25px;
  }
  .ai-column ul {
    font-size: 14px;
    line-height: 2;
  }
  .ai-note {
    font-size: 12px;
  }
  .about {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .portrait {
    height: 350px;
    width: 100%;
    padding: 24px;
  }
  .portrait .initials {
    font-size: 170px;
  }
  .portrait .eyebrow {
    font-size: 10px;
  }
  .about-copy {
    gap: 24px;
  }
  .signature {
    flex-direction: column;
    gap: 6px;
  }
  .process-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
    gap: 24px;
  }
  /* Eigene Grid-Flächen halten die Nummer (ebenfalls ein p-Element)
     links und Überschrift plus Beschreibung rechts, ohne Überlagerung. */
  .step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
      "number title"
      "number copy";
    gap: 12px 20px;
    padding-top: 24px;
    align-items: start;
  }
  .step .number {
    grid-area: number;
    font-size: 32px;
    line-height: 1.2;
  }
  .step h3 {
    grid-area: title;
    font-size: 25px;
  }
  .step p:not(.number) {
    grid-area: copy;
  }
  .contact h2 {
    font-size: 49px;
    line-height: 1.05;
    margin: 24px 0 32px;
  }
  .contact-row {
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
  }
  .contact .email {
    font-size: 22px;
  }
  .footer {
    padding: 40px 24px 28px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-bottom: 32px;
  }
  .footer-top>.wordmark {
    grid-column: span 2;
  }
  .footer-col {
    gap: 4px;
  }
  .footer-col a,.footer-col button {
    min-height: 44px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .footer-bottom p {
    font-size: 11px;
  }
  dialog {
    padding: 24px;
  }
  dialog h2 {
    font-size: 34px;
  }
  .contact .button {
    justify-content: space-between;
  }
}

/* 16 · Bewegungen entsprechend der Systemeinstellung reduzieren */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none!important;
  }
}

/* 17 · Markenstil der Vorlage: fette Schrift, Monogramm, Rundungen.
   Diese Ebene ergänzt bewusst das Grundlayout weiter oben. */
@font-face {
  font-family: 'KD Sans';
  font-weight: 600 900;
  font-display: swap;
  src: url(../fonts/kd-sans-bold.woff) format('woff');
}

:root {
  --paper: #fff;
  --ink: #080808;
  --muted: #606060;
  --line: #d8d8d8;
  --sage: #eeeeee;
  --stone: #f2f2f2;
}

h1,h2,h3,.display {
  font-weight: 700;
  letter-spacing: -.04em;
}

h1 {
  font-size: 104px;
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

h2 {
  font-size: 60px;
  line-height: 1.04;
}

h3 {
  font-size: 34px;
}

.large {
  font-weight: 400;
}

header {
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  min-width: 0;
  display: block;
  line-height: 0;
  width: 232px;
  flex-shrink: 0;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.navigation {
  margin-left: auto;
}

.navigation a {
  font-weight: 500;
}

.hero {
  padding-top: 58px;
}

.hero-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) 290px;
  gap: 56px;
  align-items: center;
  margin: 32px 0 56px;
}

.hero-heading h1 {
  margin: 0;
}

.hero-symbol {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.kd-symbol {
  display: block;
  position: relative;
  width: 270px;
  aspect-ratio: 445/513;
  overflow: hidden;
  flex-shrink: 0;
}

.kd-symbol img {
  display: block;
  width: 393.034%;
  height: auto;
  max-width: none;
}

.hero-symbol .eyebrow {
  font-size: 10px;
  letter-spacing: .12em;
}

.hero-bottom {
  grid-template-columns: 1fr 1.1fr;
}

.hero-promise {
  font-size: 22px;
}

/* Aktionsbuttons übernehmen das Kachelmotiv: nur die Ecke oben rechts ist rund.
   Gilt gemeinsam für Projektstart, Paketwahl und den E-Mail-Button im Dialog. */
.button {
  padding: 10px 12px 10px 24px;
  min-height: 56px;
  border-radius: 0 28px 0 0;
}

.button>span {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  /* Auch die kleine Pfeilfläche folgt der Form des äußeren Buttons. */
  border-radius: 0 17px 0 0;
  flex-shrink: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
}

.button.light>span {
  background: var(--ink);
  color: var(--paper);
}

/* Pfeilbuttons an den Arbeitsproben verwenden dieselbe einzelne Rundung. */
.project-arrow {
  border-radius: 0 22px 0 0;
  background: var(--ink);
  color: var(--paper);
}

.project:hover .project-arrow {
  background: var(--muted);
}

.project-art {
  border-radius: 0 110px 0 0;
}

.web-art {
  border-radius: 110px 0 0 0;
}

.brand-art {
  position: relative;
  background: #ededed;
}

.brand-art:after {
  content: "";
  position: absolute;
  right: 32px;
  top: 92px;
  width: 148px;
  height: 148px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
}

.brand-art .display {
  font-size: 62px;
  line-height: 1.02;
  position: relative;
  z-index: 1;
}

.rhythm {
  grid-template-columns: repeat(6,1fr);
}

.rhythm i {
  border-radius: 0 100% 100% 0;
}

.rhythm i:nth-child(2n) {
  border: 1px solid var(--ink);
  background: transparent;
}

.rhythm i:last-child {
  display: none;
}

.web-specimen .project-title {
  font-weight: 700;
}

.poster {
  border-radius: 80px 0 0 0;
  padding-top: 34px;
}

.poster:nth-child(2) {
  border-radius: 0 0 80px 0;
  padding-top: 20px;
}

.service h3 {
  font-weight: 400;
  letter-spacing: -.045em;
}

.service:nth-of-type(odd) h3 {
  font-weight: 700;
}

.package {
  background: #f2f2f2;
  border-top: 3px solid var(--ink);
}

.package.featured {
  border-radius: 100px 0 0 0;
  padding-top: 44px;
}

.package h3 {
  font-weight: 700;
}

.price {
  font-weight: 400;
}

.benefits {
  background: #eee;
}

.benefit>.eyebrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
}

.ai-column:first-child {
  border-top: 5px solid var(--ink);
}

.ai-column:last-of-type {
  border-top: 1px solid var(--ink);
}

.portrait {
  background: #f2f2f2;
  color: #080808;
  border-radius: 0 140px 0 0;
  align-items: flex-start;
}

.portrait .eyebrow {
  color: #606060;
}

.portrait .kd-symbol {
  width: 270px;
  filter: none;
  align-self: center;
}

.portrait .initials {
  display: none;
}

.contact {
  background: #080808;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact .eyebrow {
  color: #ccc;
}

.contact h2 {
  font-size: 92px;
  text-transform: uppercase;
  max-width: 1060px;
}

.contact .button {
  background: #fff;
  color: #080808;
}

.contact .button>span {
  background: #080808;
  color: #fff;
}

.contact .email {
  font-weight: 400;
}

.footer-top {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer-top .wordmark {
  width: 270px;
}

@media(max-width:1050px) {
  .wordmark {
    width: 190px;
  }
  .hero-heading {
    grid-template-columns: 1fr 210px;
    gap: 32px;
  }
  h1 {
    font-size: 78px;
  }
  .kd-symbol {
    width: 200px;
  }
  h2 {
    font-size: 48px;
  }
  .brand-art:after {
    width: 100px;
    height: 100px;
    right: 24px;
  }
  .brand-art .display {
    font-size: 50px;
  }
  .navigation {
    gap: 16px;
  }
  .contact h2 {
    font-size: 76px;
  }
}

@media(max-width:700px) {
  header {
    padding: 22px 24px;
  }
  .wordmark {
    width: 190px;
  }
  .hero {
    padding-top: 32px;
  }
  .hero-heading {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    margin: 24px 0 32px;
  }
  h1 {
    font-size: 52px;
    line-height: 1;
    letter-spacing: -.05em;
  }
  h2 {
    font-size: 38px;
    line-height: 1.06;
  }
  .hero-symbol {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
  }
  .hero-symbol .kd-symbol {
    width: 86px;
  }
  .hero-symbol .eyebrow {
    max-width: 180px;
    line-height: 1.7;
  }
  .hero-promise {
    font-size: 16px;
  }
  .project-art {
    border-radius: 0 72px 0 0;
  }
  .web-art {
    border-radius: 72px 0 0 0;
  }
  .brand-art:after {
    width: 78px;
    height: 78px;
    right: 24px;
    top: 90px;
  }
  .brand-art .display {
    font-size: 45px;
  }
  .poster .project-title {
    font-size: 30px;
  }
  .rhythm {
    height: 36px;
  }
  .package.featured {
    border-radius: 72px 0 0 0;
    padding-top: 38px;
  }
  .package h3 {
    font-size: 32px;
  }
  .benefit>.eyebrow {
    width: 32px;
    height: 32px;
  }
  .portrait {
    border-radius: 0 90px 0 0;
  }
  .portrait .kd-symbol {
    width: 176px;
  }
  .contact h2 {
    font-size: 48px;
    line-height: 1;
  }
  .contact .email {
    font-size: 22px;
  }
  .footer-top>.wordmark {
    width: 220px;
  }
  .service h3 {
    font-size: 38px;
  }
}

/* 18 · Finale Markenfarben und Mint-Akzente: hier die Akzentfarbe ändern. */
:root {
  --sage: #dce2d2;
  --mint: #dce2d2;
}

.brand-art,.benefits {
  background: var(--mint);
}

.button>span {
  background: var(--mint);
}

.button.light,.contact .button {
  background: var(--mint);
  color: var(--ink);
}

.button.light>span,.contact .button>span {
  background: var(--ink);
  color: var(--mint);
}

.project:hover .project-arrow {
  background: var(--mint);
  color: var(--ink);
}

.package.featured {
  border-top-color: var(--mint);
}

::selection {
  background: var(--mint);
  color: var(--ink);
}


/* 19 · Ergänzungen für Tastaturbedienung und kleine Bildschirmbreiten */
.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
body:has(dialog[open]) { overflow: hidden; }
main:focus { outline: none; }
.dialog-note { margin: 20px 0 0; }
.email { overflow-wrap: anywhere; }
/* Das Desktop-Menü benötigt mehr Platz als die schmalere Tabletbreite bietet. */
@media (min-width: 701px) and (max-width: 1150px) {
  .navigation, header > .button { display: none; }
  .menu-button { display: block; }
}
@media (max-width: 380px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .contact h2 { font-size: 40px; }
  .package { padding: 24px; }
  .package h3 { font-size: 28px; }
  .poster { padding-left: 12px; padding-right: 12px; }
  .poster .project-title { font-size: 26px; }
  .ai-column h3 { font-size: 22px; }
}

/* Projektkarten sind jeweils ein Button; innere Textblöcke bleiben semantisch gültig. */
.project span.eyebrow, .project span.display, .project-meta > span > span { display: block; }
.project-title {
  display: block;
  font-family: 'KD Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.16;
  font-size: 34px;
}

/* 20 · Schmale Grids: Paketbuttons und Footer dürfen die Seite nicht verbreitern. */
@media (max-width: 1050px) {
  .package-grid { grid-template-columns: 1fr; }
  .package { min-height: 0; }
  .package .button { margin-top: 12px; }
}
@media (max-width: 700px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-meta > span > span:first-child { font-size: 17px; }
}

/* 21 · Reclevo: Originalbild vollständig und unverzerrt in der Branding-Kachel.
   Die dunkle Fläche sorgt für Kontrast zum hellen Logo; contain verhindert Beschnitt. */
.reclevo-art {
  align-items: center;
  justify-content: center;
  background: var(--ink);
  padding: 40px;
}
.reclevo-logo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
@media (max-width: 700px) {
  .reclevo-art { padding: 32px; }
}

/* 22 · Branding-Kachel mit zwei Arbeitsproben.
   Zwei gleich hohe Flächen erhalten die gemeinsame Kartenhöhe neben der Web-Kachel.
   Reclevo benötigt einen dunklen Hintergrund, das JPG der Red Devils einen weißen.
   Beide Bilder bleiben vollständig sichtbar; die Originaldateien sind unverändert. */
.branding-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
}
.branding-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
}
.branding-gallery .reclevo-art { padding: 20px; }
.red-devils-art { background: #fff; }
.red-devils-logo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
/* Mehr Höhe auf Smartphones hält beide Wortmarken gut erkennbar. */
@media (max-width: 700px) {
  .branding-gallery { height: 400px; }
}

/* 23 · Design-Einzelpreise: Einleitung links, durchgehende Preisliste rechts.
   Bewusst keine Paketkarten: Die Tabelle stellt Leistung und Startpreis direkt gegenüber.
   Lokale Selektoren halten die Gestaltung unabhängig von Branding- und Web-Paketen. */
.design-pricing {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 72px;
  background: var(--stone);
}
.design-pricing-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.design-pricing-intro h2 { font-size: clamp(38px, 4vw, 56px); }
.design-pricing-intro .button { margin-top: 8px; }
.design-price-list { min-width: 0; }
.design-price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.design-price-table thead {
  background: var(--ink);
  color: var(--paper);
}
.design-price-table thead th {
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 500;
}
.design-price-table tbody th,
.design-price-table tbody td {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.design-price-table tbody th {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
}
.design-price-table tbody td {
  font-size: 24px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.design-price-table th:last-child,
.design-price-table td {
  text-align: right;
  white-space: nowrap;
}
/* Unterhalb der Desktopbreite steht die Einführung über der Liste.
   Auch auf kleinen Displays bleiben die Preise direkt neben ihren Leistungen. */
@media (max-width: 1050px) {
  .design-pricing { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .design-pricing-intro { max-width: 640px; }
}
@media (max-width: 700px) {
  .design-pricing { gap: 32px; }
  .design-pricing-intro h2 { font-size: 38px; }
  .design-price-table thead th { padding: 16px 12px; }
  .design-price-table tbody th,
  .design-price-table tbody td { padding: 18px 12px; }
  .design-price-table tbody th { font-size: 16px; }
  .design-price-table tbody td { font-size: 22px; }
}

/* 24 · Visueller QA-Feinschliff
   Bestehende Farben, Kachelformen und Breakpoints bleiben erhalten.
   Gemeinsame Kanten und robuste Umbrüche, ohne Inhalte auszublenden. */
.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project { min-width: 0; align-self: start; }
/* Beschriftungen halten Abstand zur abgerundeten Maskierung. */
.web-art > .eyebrow { margin-left: 12px; }
.poster { padding-bottom: 32px; }
/* Schmale Karten dürfen die Beschriftung umbrechen; der Pfeil bleibt vollständig. */
.button { white-space: normal; text-align: left; }
.hero-actions { flex-wrap: wrap; }
.hero-actions .textlink, .signature .textlink { white-space: nowrap; }
.signature .textlink { flex-shrink: 0; }
.menu-button { white-space: nowrap; }
.portrait .kd-symbol { max-width: 100%; }

/* Gleich hohe Desktop-Karten teilen ihre Inhaltszeilen. Der Preis sitzt am Ende
   des Kopfbereichs, die Listen und Aktionen beginnen auf gemeinsamen Kanten.
   Ohne Subgrid-Unterstützung bleibt das vorhandene Flex-Layout als Rückfall. */
@media (min-width: 1051px) {
  .package { padding-top: 44px; }
  @supports (grid-template-rows: subgrid) {
    .package { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
    .package-head .price { margin-top: auto; padding-top: 4px; }
  }
}

/* Gleichmäßige vertikale Ausrichtung trotz unterschiedlich dicker Oberkanten. */
.ai-column:last-of-type { padding-top: 36px; }
.contact .email { display: inline-flex; align-items: center; min-height: 44px; }
.footer-col a, .footer-col button { min-height: 44px; }
.footer-col a { display: inline-flex; align-items: center; }
.footer-col button { display: inline-flex; align-items: center; }

/* Alle interaktiven Varianten erhalten auch auf Tastatur und Touch Feedback.
   Nur vorhandene Markenfarben verwenden; keine zusätzliche Animation. */
.button.light:hover, .contact .button:hover { background: var(--paper); }
.button:active { background: var(--muted); }
.button.light:active, .contact .button:active { background: var(--line); }
.project:focus-visible .project-arrow,
.project:active .project-arrow { background: var(--mint); color: var(--ink); }
.menu-button:hover, dialog .close:hover { background: var(--stone); }
.menu-button:active, dialog .close:active { background: var(--line); }
dialog .close { color: var(--ink); }
.contact .email:hover, .contact .email:focus-visible,
#mobile-menu nav a:hover, #mobile-menu nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}
/* Scrollposition und sichtbare Bedienelemente bleiben bei kurzen Fenstern stabil. */
dialog { overscroll-behavior: contain; }
dialog h2 { overflow-wrap: anywhere; }

@media (min-width: 701px) and (max-width: 1050px) {
  .hero-actions { gap: 12px 24px; }
  .signature { flex-direction: column; gap: 6px; }
  .signature .textlink { align-self: flex-start; }
  .work-note { padding-left: 24px; }
}
/* Erst auf schmalen Tablets wird die innere Zweispaltigkeit zu eng. */
@media (min-width: 701px) and (max-width: 900px) {
  .ai { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 700px) {
  .ai-column:last-of-type { padding-top: 28px; }
  /* Auf kleinen Displays gleiche Link-Kanten auch bei unterschiedlich langen Namen. */
  .footer-col a, .footer-col button { line-height: 1.6; }
}
@media (max-width: 380px) {
  header { gap: 16px; }
  header .wordmark { width: 176px; }
  .web-specimen .project-title { font-size: 32px; }
  .design-pricing-intro h2 { font-size: 34px; }
  dialog h2 { font-size: 30px; }
}

/* 25 · Statische Rechtsseiten für den IONOS-Export.
   Bestehende Farben und Schriften, mit lesbarer Textbreite und langen Linkumbrüchen. */
.legal-page header { flex-wrap: wrap; }
.legal-content { max-width: 1120px; margin: 0 auto; }
.legal-content h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  text-transform: none;
  overflow-wrap: anywhere;
  margin: 24px 0 40px;
}
.legal-content section { margin-top: 40px; }
.legal-content h2 { font-size: clamp(25px, 3vw, 34px); margin-bottom: 16px; }
.legal-content p + p, .legal-content ul { margin-top: 16px; }
.legal-content a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-content address { font-style: normal; }
.legal-footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.legal-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.legal-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 26 · Cookie-Auswahl: gleiche Gewichtung beider Optionen, vorhandene Markenform.
   hidden bleibt auch bei Flex-/Grid-Regeln verbindlich; ohne JS keine leere Fläche. */
[data-cookie-settings][hidden], .cookie-choice[hidden] { display: none; }
.legal-footer button {
  border: 0; background: transparent; color: inherit; font: inherit;
  padding: 0; min-height: 44px; cursor: pointer; text-align: left;
}
.legal-footer button:hover { text-decoration: underline; text-underline-offset: 4px; }
.cookie-choice {
  position: fixed; z-index: 100; right: 24px; bottom: 24px;
  width: min(640px, calc(100% - 48px)); max-height: calc(100dvh - 48px);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 28px; background: var(--white); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0 28px 0 0;
  box-shadow: 0 8px 40px rgb(0 0 0 / 14%);
}
.cookie-choice h2 { font-size: 25px; line-height: 1.2; margin: 0 0 16px; }
.cookie-choice p { font-size: 15px; line-height: 1.5; margin: 0 0 12px; }
.cookie-choice a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-choice .cookie-status { color: var(--muted); font-size: 14px; }
.cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cookie-actions button {
  min-height: 48px; padding: 12px 16px; font: inherit; font-weight: 700;
  border: 1px solid var(--ink); border-radius: 0 18px 0 0;
  background: var(--mint); color: var(--ink); cursor: pointer;
}
.cookie-actions button:hover { background: var(--stone); }
.cookie-actions button:active { background: var(--line); }
.cookie-actions button:focus-visible, [data-cookie-settings]:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px;
}
@media (max-width: 700px) {
  .cookie-choice { right: 12px; bottom: 12px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 20px; }
  .cookie-actions { grid-template-columns: minmax(0, 1fr); }
}
@media print { .cookie-choice, [data-cookie-settings] { display: none; } }
