/* LINE.E - Ankuendigungsseite
 *
 * Nachbau des Entwurfs. Die Stofffotos der Vorlage liegen nicht als Datei vor;
 * an ihrer Stelle steht eine feinkoernige Flaeche in Stoffbeige (siehe
 * .stoff). Sobald es Fotos gibt, wird dort ein background-image ergaenzt - die
 * Flaechen und Groessen bleiben dieselben.
 *
 * Die Schriften liegen im eigenen Verzeichnis und werden NICHT von Googles
 * CDN geladen. Das Landgericht Muenchen hat 2022 Schadensersatz zugesprochen,
 * weil eine Website Google Fonts dynamisch nachlud und dabei die IP-Adresse
 * des Besuchers uebertrug (Az. 3 O 17493/20).
 */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-300.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --creme:      #F2EDE6;
  --creme-hell: #F7F4EF;
  --stoff:      #E2D8C8;
  --stoff-tief: #D6C9B5;
  --dunkel:     #3B322A;
  --dunkel-satt:#2A231D;
  --leise:      #6B6055;
  --gold:       #A98C5F;
  --gold-hell:  #C9AF86;
  --linie:      #DDD4C7;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--creme);
  color: var(--dunkel);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Fuer Bildschirmleser, aber nicht sichtbar. */
.nur-vorlesen {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Stofffläche (Ersatz für die Fotos) ---------- */
.stoff {
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(155deg, var(--stoff) 0%, var(--stoff-tief) 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
/* Feine Körnung, damit die Fläche nicht wie ein Farbverlauf wirkt. Der Filter
   erzeugt das Rauschen im Browser - kein Bild, kein zusätzlicher Ladevorgang. */
.stoff::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23k)' opacity='.42'/%3E%3C/svg%3E");
}
.stoff > * { position: relative; z-index: 1; }

/* Die eingeprägte Ligatur: heller Rand oben, dunkler Schatten unten - das
   liest das Auge als Stickerei im Stoff. */
.gepraegt {
  color: rgba(255, 253, 249, .62);
  filter:
    drop-shadow(0 1.5px 0 rgba(255, 255, 255, .85))
    drop-shadow(0 -1.5px 1px rgba(122, 101, 74, .55))
    drop-shadow(0 3px 5px rgba(122, 101, 74, .22));
}

/* ---------- Kopf ---------- */
.kopf {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 62vh;
  border-bottom: 1px solid var(--linie);
  margin-top: -7.5rem;      /* holt die Stofflaeche unter die Wortmarke */
  padding-top: 7.5rem;
}
.kopf-text {
  padding: 3.5rem clamp(1.5rem, 5vw, 4.5rem) 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wortmarke {
  text-align: center;
  padding: 3rem 1.5rem .5rem;
  /* Ueber den Kopfbereich gelegt, damit die Stofflaeche rechts bis an den
     oberen Rand laeuft. Ohne das begaenne sie erst unterhalb der Wortmarke. */
  position: relative;
  z-index: 2;
  margin-bottom: -1rem;
}
.wortmarke .name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  letter-spacing: .16em;
  line-height: 1;
  margin: 0;
  color: var(--dunkel-satt);
}
.wortmarke .name .punkt { color: var(--gold); }
.wortmarke .unterzeile {
  font-size: clamp(.66rem, 1.6vw, .82rem);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--leise);
  margin: .9rem 0 0;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.16;
  letter-spacing: -.005em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
  color: var(--dunkel-satt);
}
.vorspann {
  font-size: clamp(1rem, 1.3vw, 1.09rem);
  max-width: 26rem;
  margin: 0 0 2.25rem;
  color: var(--dunkel);
}

.bald {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: clamp(1.1rem, 1.9vw, 1.5rem) clamp(2.6rem, 5vw, 4rem);
  font-size: clamp(.9rem, 1.25vw, 1.08rem);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  /* align-self, nicht justify-self: Der Eltern-Container ist ein flex-Container
     mit column-Richtung, dort liegt die Querachse waagerecht. justify-self hat
     in flex-Containern keine Wirkung - die Flaeche lief deshalb zu breit. */
  align-self: flex-start;
  line-height: 1.5;
}
.bald .jahr {
  letter-spacing: .2em;
  font-size: clamp(.82rem, 1.1vw, .96rem);
  opacity: .85;
  margin-top: .15rem;
}

/* ---------- Werte ---------- */
.werte {
  background: var(--creme-hell);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--linie);
}
.wert {
  padding: 2.75rem 1.5rem;
  text-align: center;
  border-left: 1px solid var(--linie);
}
.wert:first-child { border-left: 0; }
.wert .zeichen { height: 44px; margin-bottom: 1.1rem; display: grid; place-items: center; }
.wert h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .74rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin: 0 0 .85rem;
  color: var(--dunkel-satt);
}
.wert p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.62;
  color: var(--leise);
  max-width: 15rem;
  margin-inline: auto;
}

/* ---------- Ausblick + Kontakt ---------- */
.ausblick {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  border-bottom: 1px solid var(--linie);
}
.ausblick .stoff { min-height: 21rem; }
.ausblick-inhalt {
  display: grid;
  grid-template-columns: 1.25fr auto 1.05fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
  padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
}
.marke {
  font-size: .72rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--dunkel-satt);
  margin: 0 0 1rem;
}
.dreiwort {
  font-family: var(--serif);
  font-size: 1.32rem;
  color: var(--dunkel-satt);
  margin: 0 0 .9rem;
}
.ausblick-inhalt p { margin: 0 0 .9rem; font-size: .95rem; color: var(--leise); }
.ausblick-inhalt p:last-child { margin-bottom: 0; }

.ligatur-mitte { display: grid; place-items: center; padding-top: .5rem; }

.kontakt { border-left: 1px solid var(--linie); padding-left: clamp(1.25rem, 3vw, 2.25rem); }
.kontakt .adresse {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  /* Die Adresse ist eine Einheit - ein Umbruch mitten im Namen ('hallo@linee-'
     / 'fashion.de') liest sich wie ein Tippfehler. Lieber schrumpfen als
     trennen; auf sehr schmalen Bildschirmen greift die Regel unten. */
  white-space: nowrap;
  color: var(--dunkel-satt);
  display: inline-block;
  margin-top: .35rem;
  border-bottom: 1px solid var(--gold-hell);
  padding-bottom: .1rem;
}
.kontakt .adresse:hover { text-decoration: none; border-bottom-color: var(--gold); }
.kontakt .klein { font-size: .82rem; color: var(--leise); margin-top: 1.1rem; }

/* ---------- Fuß ---------- */
.fuss-merkmale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--creme-hell);
  border-bottom: 1px solid var(--linie);
}
.merkmal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 1.4rem 1rem;
  border-left: 1px solid var(--linie);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--leise);
}
.merkmal:first-child { border-left: 0; }

.fuss {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem 2.5rem;
  font-size: .8rem;
  color: var(--leise);
}
.fuss a { color: var(--leise); }
.fuss a:hover { color: var(--gold); }

/* ---------- Rechtsseiten ---------- */
.recht {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}
.recht .zurueck {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 2.5rem;
}
.recht h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}
.recht h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  margin: 2.5rem 0 .7rem;
  color: var(--dunkel-satt);
}
.recht h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 1.8rem 0 .5rem;
  color: var(--dunkel-satt);
}
.recht p, .recht li { color: var(--leise); }
.recht p { margin: 0 0 1rem; }
.recht ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.recht li { margin-bottom: .35rem; }
.recht address { font-style: normal; margin-bottom: 1rem; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 62rem) {
  .kopf { grid-template-columns: 1fr; min-height: 0; }
  .kopf .stoff { min-height: 15rem; order: 2; }
  .kopf-text { order: 1; padding-top: 2rem; }
  .werte { grid-template-columns: repeat(2, 1fr); }
  .wert:nth-child(3) { border-left: 0; }
  .wert:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .ausblick { grid-template-columns: 1fr; }
  .ausblick .stoff { min-height: 13rem; }
  .ausblick-inhalt { grid-template-columns: 1fr; }
  .ligatur-mitte { justify-self: start; padding: .5rem 0; }
  .kontakt {
    border-left: 0;
    border-top: 1px solid var(--linie);
    padding: 1.5rem 0 0;
  }
}

@media (max-width: 40rem) {
  body { font-size: 16px; }
  .kontakt .adresse { white-space: normal; overflow-wrap: anywhere; }
  .wortmarke { padding-top: 2.25rem; }
  .werte { grid-template-columns: 1fr; }
  .wert { border-left: 0; border-top: 1px solid var(--linie); }
  .wert:first-child { border-top: 0; }
  .fuss-merkmale { grid-template-columns: 1fr; }
  .merkmal { border-left: 0; border-top: 1px solid var(--linie); justify-content: flex-start; padding-left: 1.5rem; }
  .merkmal:first-child { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Druck: Flächen und Körnung kosten nur Toner. */
@media print {
  .stoff::after { display: none; }
  body { background: #fff; }
}
