/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --paper: #F1ECDD;
  --paper-deep: #E8EACB;
  --ink: #262420;
  --ink-soft: #52504A;
  --moss: #3F5B44;
  --moss-deep: #2E4433;
  --mustard: #6cd153;
  --rule: rgba(38, 36, 32, 0.14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1120px;
  --measure: 640px;
}

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

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--moss);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p { margin: 0 0 1.1em; }

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

:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 236, 221, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/Logo/Logo.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.brand-name {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  gap: 30px;
}

.site-nav a {
  font-size: 15px;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--mustard);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.hero.top {
  padding: 10% 0 8%;
  background-image: url("images/Huetz-Stefanie_kleiner.jpg");
  text-shadow: 4px 4px 5px black;
}

.hero.between {
  background-color: var(--mustard);
}

.hero-inner {
  position: relative;
  max-width: 760px;
}

.hero-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.01em;
  color: var(--paper);
}

.hero-sub {
  font-size: 22px;
  color: var(--paper);
  max-width: 46ch;
  margin-top: 22px;
}

@media (max-width: 760px) {
  .hero-badge { display: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 84px 0;
  border-top: 1px solid var(--rule);
}

.section-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
}

.section-label h2 {
  font-size: 22px;
  position: sticky;
  top: 100px;
}

.section-body {
  max-width: var(--measure);
}

.section-body h3 {
  font-size: 26px;
  margin-top: 0;
}

.section-body p {
  color: var(--ink-soft);
}

.section-body p:first-child { margin-top: 0; }

/* pull quotes */
.pullquote {
  margin: 40px 0;
  padding-left: 26px;
  border-left: 3px solid var(--ink);
}
.pullquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

.quote-context {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--moss-deep);
  border-bottom: 1px solid var(--moss-deep);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.text-link:hover,
.text-link:focus-visible {
  color: var(--mustard);
  border-color: var(--mustard);
}

/* wer subgrid */
.subgrid {
  display: grid;
  gap: 32px;
  margin: 36px 0 8px;
}
#Einleitung .subgrid{
  margin: 8px 0 8px;
}
.subitem h3 {
  font-size: 20px;
  margin-bottom: 0.4em;
}
.subitem p {
  margin-bottom: 0;
}

/* mit wem */
.client-list {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
}

.lead-in {
  color: var(--ink-soft);
  margin-bottom: 0.6em;
}

.work-list {
  list-style: none;
  margin: 0 0 1.1em;
  padding: 0;
}
.work-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.work-list li::before {
  content: "/";
  position: absolute;
  left: 0;
  color: var(--mustard);
  font-family: var(--serif);
  font-weight: 600;
}

/* Kontakt */
.Kontakt-lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
}
.contact-link {
  display: inline-block;
//  margin-top: 12px;
//  font-family: var(--serif);
//  font-size: 26px;
  color: var(--moss-deep);
  border-bottom: 2px solid var(--mustard);
//  padding-bottom: 4px;
}
.contact-link:hover,
.contact-link:focus-visible {
  color: var(--mustard);
}

/* ==========================================================================
   Footer / Impressum
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}

.site-footer h2 {
  color: var(--paper);
  font-size: 20px;
}

address {
  font-style: normal;
  color: rgba(241, 236, 221, 0.8);
  line-height: 1.7;
}

.footer-links {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 14px;
  color: var(--mustard);
  border-bottom: 1px solid transparent;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  border-bottom-color: var(--mustard);
}

.footer-fine {
  max-width: var(--measure);
  align-self: end;
}
.footer-fine p {
  font-size: 13.5px;
  color: rgba(241, 236, 221, 0.6);
  margin-bottom: 0.6em;
}
.footer-fine .credit {
  margin-top: 18px;
  color: rgba(241, 236, 221, 0.4);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .section-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-label h2 {
    position: static;
  }
}

@media (max-width: 780px) {
  .wrap { padding: 0 20px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
  }

  .hero { padding: 56px 0 60px; }
  .section { padding: 56px 0; }
}

/* ==========================================================================
 *  Tile Grid (checkerboard links)
 *  ========================================================================== */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.tile {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
  box-shadow: none;
  transition: opacity 0.15s ease;
}

.tile:nth-child(odd) {
  background: var(--ink-soft);
  color: var(--paper);
}

.tile:nth-child(even) {
  background: var(--mustard);
  color: var(--ink);
}

.tile:hover,
.tile:focus-visible {
  opacity: 0.85;
}

@media (max-width: 960px) {
  .tile-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 320px) {
  .tile-grid { grid-template-columns: repeat(1, 1fr); }
}
