:root {
  --bg: #141312;
  --bg-2: #1b1918;
  --bg-3: #211e1c;
  --surface: #292522;

  --paper: #f2ede4;
  --paper-muted: #c9c0b5;
  --line: rgba(242, 237, 228, 0.16);

  --accent: #e19a63;
  --accent-soft: #f0c49f;
  --ink-dark: #181614;

  --max: 1280px;
  --radius: 18px;
}


/* GRUNDEINSTELLUNGEN */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  line-height: 1.65;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}


/* BARRIEREFREIHEIT */

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink-dark);
}

.skip-link:focus {
  top: 1rem;
}


/* HEADER UND NAVIGATION */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1rem 0;

  background: rgba(20, 19, 18, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 0.05rem;

  color: var(--paper);
  font-weight: 760;
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand small {
  color: var(--paper-muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.navigation {
  display: flex;
  gap: 1.35rem;
}

.navigation a {
  color: var(--paper-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.navigation a:hover,
.navigation a:focus-visible {
  color: var(--paper);
}

.navigation a[aria-current="page"] {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.35rem;
}

.menu-button {
  display: none;
}


/* ABSCHNITTE */

.split-section,
.section-title,
.contact-section {
  border-top: 1px solid var(--line);
}

.hero-section {
  border-top: 0;
}

.section-tone-1 {
  background: var(--bg);
}

.section-tone-2 {
  background: var(--bg-2);
}

.section-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}


/* ZWEISPALTIGES RASTER */

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;

  min-height: 560px;
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.text-panel {
  width: 100%;
  max-width: 560px;
}

.text-left .text-panel {
  justify-self: start;
}

.image-left .text-panel {
  justify-self: end;
}


/* KLEINE ÜBERSCHRIFT ÜBER DEM TITEL */

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);

  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 800;
}


/* ÜBERSCHRIFTEN */

h1,
h2 {
  margin: 0;

  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

/* Deutlich kleiner als vorher */

h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
}

h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3vw, 3.15rem);
}


/* FLIESSTEXT */

p {
  margin: 1.5rem 0 0;
  color: var(--paper-muted);
  font-size: 1.05rem;
}

.lead {
  max-width: 42rem;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
}


/* BUTTON */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  margin-top: 2rem;
  padding: 0.9rem 1.4rem;

  border: 1px solid var(--paper);
  border-radius: 999px;

  background: var(--paper);
  color: var(--ink-dark);

  text-decoration: none;
  font-weight: 760;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}


/* BILDER */

/*
  Der Bildbereich nimmt die gesamte Spaltenbreite ein.
  Das eigentliche Bild wird darin zentriert.
*/

.image-panel,
.secondary-image {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  overflow: visible;

  background: transparent;
  box-shadow: none;
}

/*
  Die Bilder bleiben vollständig sichtbar.

  width: auto:
  Die Breite ergibt sich aus dem Originalformat.

  max-width: 100%:
  Das Bild wird niemals breiter als seine Spalte.

  max-height:
  Sehr hohe Bilder werden begrenzt und dadurch automatisch schmaler.
*/

.image-panel img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 680px;

  border-radius: var(--radius);
  object-fit: contain;

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

/*
  Das erste beziehungsweise besonders große Bild
  darf etwas größer dargestellt werden.
*/

.hero-section .image-panel img {
  max-height: 720px;
}

/*
  Zusätzliche kleine Bilder innerhalb einer Section.
*/

.secondary-image {
  justify-content: flex-start;
  margin-top: 2rem;
}

.secondary-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 360px;

  border-radius: var(--radius);
  object-fit: contain;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}


/*
  Alte Formatklassen werden neutralisiert.
  Dadurch erzwingen sie keinen Beschnitt mehr.
*/

.landscape-image,
.portrait-image,
.square-image,
.landscape-small {
  aspect-ratio: auto;
  max-height: none;
}


/* THEMENLISTE */

.topic-list {
  margin: 2.2rem 0 0;
  padding: 0;

  list-style: none;
  border-top: 1px solid var(--line);
}

.topic-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
}


/* KOMPAKTE WERKSCHAU */

.works-section {
  border-top: 1px solid var(--line);
  background: var(--bg-3);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.title-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;

  padding: clamp(4rem, 6vw, 6rem) 0;
}

.title-copy h2 {
  max-width: 16ch;
}

.title-inner p:last-child {
  margin: 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.work-card img {
  width: 100%;
  height: clamp(280px, 34vw, 440px);
  padding: 1rem;
  background: #11100f;
  object-fit: contain;
}

.work-card figcaption {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 1.4rem 1.4rem;
}

.work-card strong {
  color: var(--paper);
}

.work-card span {
  color: var(--paper-muted);
  font-size: 0.94rem;
}


/* PREISE UND FAKTEN */

.facts {
  margin: 2.2rem 0 0;
}

.facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;

  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--paper-muted);
}

.facts dd {
  margin: 0;
  color: var(--paper);
  font-weight: 720;
}


/* STIMMEN ZUM UNTERRICHT */

.testimonials-section {
  border-top: 1px solid var(--line);
  background: var(--bg-3);
}

.testimonials-inner {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.testimonials-heading {
  max-width: 760px;
}

.placeholder-note {
  color: var(--accent-soft);
  font-size: 0.88rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;

  margin: 0;
  padding: clamp(1.4rem, 3vw, 2rem);

  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.testimonial-card p {
  margin: 0;
  color: var(--paper);
  font-size: 1.08rem;
}

.testimonial-card footer {
  color: var(--paper-muted);
  font-size: 0.88rem;
}


/* PRAKTISCHE FRAGEN */

.faq-section {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.faq-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.faq-heading h2 {
  max-width: 13ch;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
  color: var(--paper);
  font-size: 1.15rem;
}

.faq-item p {
  margin-top: 0.75rem;
}


/* KONTAKT */

.contact-section {
  background: #0f0e0d;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;

  padding: clamp(5rem, 8vw, 8rem) 0;
}

.contact-copy {
  max-width: 520px;
}

.contact-form {
  padding: clamp(1.6rem, 4vw, 2.8rem);

  border: 1px solid var(--line);
  border-radius: var(--radius);

  background: var(--surface);
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.field label {
  color: var(--paper);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;

  border: 1px solid rgba(242, 237, 228, 0.25);
  border-radius: 10px;

  background: #171513;
  color: var(--paper);
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(225, 154, 99, 0.2);
  border-color: var(--accent);
}

textarea {
  resize: vertical;
}

.form-privacy {
  margin: 0 0 1.2rem;
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.form-privacy a {
  color: var(--paper);
}

.honeypot {
  position: absolute;
  left: -9999px;

  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.6em;
  margin-top: 1rem;
}

.form-status.error {
  color: #ffb2a8;
}

.form-status.success {
  color: #b7e0b9;
}

.privacy-note {
  font-size: 0.94rem;
}


/* FOOTER */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;

  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;

  border-top: 1px solid var(--line);

  color: var(--paper-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer div {
  display: flex;
  gap: 1rem;
}


/* IMPRESSUM UND DATENSCHUTZ */

.legal {
  width: min(calc(100% - 2rem), 780px);
  margin: 0 auto;
  padding: 5rem 0;
}

.legal h1 {
  max-width: none;
  font-size: clamp(2.6rem, 4vw, 4rem);
}

.legal h2 {
  max-width: none;
  margin-top: 3rem;
  font-size: 1.7rem;
}


/* TABLET UND KLEINERE BILDSCHIRME */

@media (max-width: 900px) {

  .navigation {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;

    display: none;
    flex-direction: column;

    min-width: 220px;
    padding: 1rem;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: var(--surface);
  }

  .navigation.open {
    display: flex;
  }

  .menu-button {
    display: inline-flex;

    padding: 0.55rem 0.85rem;

    border: 1px solid var(--line);
    border-radius: 999px;

    background: transparent;
    color: var(--paper);
  }

  .split-grid,
  .contact-grid,
  .title-inner,
  .faq-inner,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .split-grid {
    min-height: 0;
    padding: 4rem 0;
  }

  /*
    Mobil steht immer erst der Text und danach das Bild.
  */

  .image-left .image-panel {
    order: 2;
  }

  .image-left .text-panel {
    order: 1;
    justify-self: start;
  }

  .text-panel {
    max-width: 680px;
  }

  .title-inner p:last-child {
    margin-top: 0;
  }

  /*
    Auch auf Tablets bleiben alle Bilder vollständig sichtbar.
  */

  .image-panel {
    justify-content: flex-start;
  }

  .image-panel img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 680px;
  }
}


/* SMARTPHONE */

@media (max-width: 580px) {

  .site-header {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .section-inner {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  h1 {
    max-width: 15ch;
    font-size: clamp(2.45rem, 11vw, 3.6rem);
  }

  h2 {
    max-width: 17ch;
    font-size: clamp(1.9rem, 8.5vw, 2.8rem);
  }

  p {
    font-size: 1rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .split-grid {
    gap: 2.5rem;
    padding: 3.5rem 0;
  }

  /*
    Hochformatbilder werden auf kleinen Displays
    nicht höher als der sichtbare Bildschirm.
  */

  .image-panel img {
    max-height: 78vh;
  }

  .secondary-image img {
    max-height: 60vh;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .site-footer {
    flex-direction: column;
    width: min(calc(100% - 1.25rem), var(--max));
  }
}


/* REDUZIERTE BEWEGUNG */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
