/* Fritz Sonntag – Farbkonzept „Beton & Signal“
   Kreide und Beton tragen, Schwarz spricht, Sand und Beige wärmen,
   Fritz-Blau ist das eine Signal. Alle Töne stammen aus den Logo-Varianten. */

@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --kreide: #F2EFE9;
  --beton: #DAD6CF;
  --sand: #9F928F;
  --beige: #E9DDC4;
  --blau: #003A79;
  --ink: #0E0E0E;
  --grau: #5C5853;
  --max: 1440px;
  --gutter: clamp(18px, 4vw, 56px);
  --section: clamp(72px, 10vw, 160px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--kreide);
  color: var(--ink);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 3px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--kreide);
}

.skip:focus {
  top: 12px;
}

/* Type */

.mega {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.82;
  font-size: clamp(64px, 13.2vw, 210px);
}

.big {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(44px, 6.4vw, 104px);
}

.lead {
  margin: 0;
  max-width: 30em;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.4;
  font-weight: 500;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px 48px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head .side {
  margin: 0;
  max-width: 22em;
  font-size: 18px;
  font-weight: 500;
  color: var(--grau);
}

.center {
  margin: clamp(40px, 5vw, 64px) 0 0;
  text-align: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.15s, background-color 0.15s, color 0.15s;
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn-ink {
  background: var(--ink);
  color: var(--kreide);
}

.btn-line {
  background: transparent;
  color: var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  color: var(--kreide);
}

.btn-blau {
  background: var(--blau);
  border-color: var(--blau);
  color: var(--kreide);
}

.btn-sand {
  background: var(--sand);
  color: var(--ink);
}

.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 16px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.center-row {
  justify-content: center;
  margin-top: clamp(40px, 5vw, 64px);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--kreide);
  border-bottom: 1px solid var(--beton);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.home img {
  width: clamp(150px, 16vw, 210px);
}

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  font-weight: 500;
  font-size: 16px;
}

.nav a:not(.btn) {
  text-decoration: none;
}

.nav a:not(.btn):hover {
  text-decoration: underline;
}

/* Hero */

.hero {
  padding-top: clamp(28px, 4vw, 56px);
  overflow: hidden;
}

.mega-top {
  position: relative;
  z-index: 1;
  margin-bottom: -0.12em;
}

.hero-img img {
  width: 100%;
  height: clamp(320px, 46vw, 780px);
  object-fit: cover;
  object-position: 55% 40%;
}

.mega-bottom {
  position: relative;
  z-index: 1;
  margin-top: -0.12em;
  text-align: right;
  color: var(--blau);
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 28px 48px;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(56px, 7vw, 104px);
}

/* Ticker */

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker {
  background: var(--blau);
  color: var(--beige);
  overflow: hidden;
  padding: 18px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}

.ticker-track span {
  padding-right: 56px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
  white-space: nowrap;
}

.ticker-track span::after {
  content: "/";
  margin-left: 56px;
  color: var(--sand);
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* Doors */

.doors {
  padding: var(--section) 0;
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}

.door {
  display: flex;
  flex-direction: column;
  min-height: clamp(300px, 34vw, 480px);
  padding: clamp(20px, 2.4vw, 32px);
  text-decoration: none;
  transition: transform 0.2s;
}

.door:hover {
  transform: translateY(-6px);
}

.door-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: auto;
  font-weight: 700;
}

.door-no {
  font-size: 16px;
}

.door-arrow {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  transition: transform 0.2s;
}

.door:hover .door-arrow {
  transform: translate(6px, -6px);
}

.door-name {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-size: clamp(52px, 5.6vw, 96px);
}

.door-verb {
  margin-top: 14px;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
}

.door-handle {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.8;
  overflow-wrap: anywhere;
}

.door-ink {
  background: var(--ink);
  color: var(--kreide);
}

.door-sand {
  background: var(--sand);
  color: var(--ink);
}

.door-blau {
  background: var(--blau);
  color: var(--beige);
}

/* Collections */

.collections {
  padding: var(--section) 0;
  background: var(--beton);
}

.coll-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
  align-items: start;
}

.coll img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.coll-shift {
  margin-top: clamp(0px, 6vw, 96px);
}

.coll h3 {
  margin: 20px 0 6px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-size: clamp(40px, 4.4vw, 72px);
}

.coll p {
  margin: 0;
  max-width: 24em;
  color: var(--ink);
}

/* Motifs */

.motifs {
  padding: var(--section) 0;
  background: var(--beige);
}

.motif-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.motif-list ul {
  list-style: none;
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.motif-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 2px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: padding 0.2s, color 0.2s;
}

.motif-list a:hover {
  padding-left: 14px;
  color: var(--blau);
}

/* Feed */

.feed {
  padding: var(--section) 0;
}

.feed-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}

.feed-grid a {
  display: block;
  overflow: hidden;
}

.feed-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.4s;
}

.feed-grid a:hover img {
  transform: scale(1.04);
}

/* About */

.about {
  padding: var(--section) 0;
  background: var(--ink);
  color: var(--kreide);
}

.about-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.about-text p {
  margin: 24px 0 0;
  max-width: 30em;
  font-size: clamp(18px, 1.5vw, 21px);
}

.about-text .strong {
  font-weight: 700;
  color: var(--beige);
}

.about .sig {
  width: min(320px, 70%);
  margin-top: 32px;
}

.about-img img {
  width: 100%;
}

/* Footer */

.site-footer {
  padding: clamp(56px, 8vw, 120px) 0 40px;
  overflow: hidden;
}

.mega-foot {
  color: var(--beton);
  font-size: clamp(72px, 17vw, 270px);
}

.foot-row {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 24px;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.foot-logo {
  width: 180px;
}

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-weight: 500;
}

.foot-links a {
  display: inline-block;
  padding: 10px 0;
}

.fine {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--grau);
}

/* Legal pages */

.legal {
  padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 8vw, 96px);
}

.legal .wrap {
  max-width: calc(760px + 2 * var(--gutter));
}

.legal h1 {
  margin: 0 0 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.9;
  font-size: clamp(44px, 6vw, 80px);
}

.legal h2 {
  margin: 40px 0 8px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}

.legal p,
.legal ul {
  margin: 0 0 16px;
}

.legal ul {
  padding-left: 1.2em;
}

.legal address {
  font-style: normal;
}

.legal .updated {
  margin-top: 48px;
  color: var(--grau);
  font-size: 15px;
}

/* Small screens */

@media (max-width: 900px) {
  .door-grid,
  .coll-grid,
  .motif-row,
  .about-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .coll-shift {
    margin-top: 0;
  }

  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .nav-hide {
    display: none;
  }

  .hero-img img {
    height: 62vh;
    min-height: 380px;
    max-height: 560px;
    object-position: 58% 40%;
  }

  .door {
    min-height: 240px;
  }
}

/* Links on collections and captions */

.coll-link {
  display: block;
  overflow: hidden;
}

.coll-link img {
  transition: transform 0.4s;
}

.coll-link:hover img {
  transform: scale(1.03);
}

.coll .coll-more {
  margin-top: 12px;
  font-weight: 700;
}

.caption {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--grau);
}

.caption a {
  color: var(--ink);
  font-weight: 700;
}

/* Language switch */

.lang {
  display: flex;
  gap: 6px;
  font-size: 15px;
}

.lang a {
  color: var(--grau);
  text-decoration: none;
}

.lang a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.lang [aria-current] {
  font-weight: 700;
}

.lang [aria-hidden] {
  color: var(--beton);
}
