/* Festatelier Flores – Mini-Seite
   Reines HTML und CSS. Keine externen Ressourcen, keine Skripte, keine Cookies. */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-latin-700-normal.woff2") format("woff2");
}

:root {
  --bougainvillea: #B5175A;
  --bougainvillea-dunkel: #8E1247;
  --sand: #F6EEE2;
  --sand-hell: #FBF6EE;
  --sonnengelb: #E8A33D;
  --dunkelbraun: #2B2320;
  --warmgrau: #6B5D52;
  --linie: #DDD0BC;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--sand);
  color: var(--dunkelbraun);
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--dunkelbraun);
  line-height: 1.2;
  margin: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}

h1 {
  font-weight: 600;
  text-wrap: balance;
}

h2,
h3 {
  font-weight: 500;
}

em {
  font-style: italic;
}

a {
  color: var(--bougainvillea);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--bougainvillea-dunkel);
  text-decoration-thickness: 2px;
}

a:focus-visible,
.skip:focus {
  outline: 3px solid var(--bougainvillea);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--dunkelbraun);
  color: var(--sand);
  text-decoration: none;
  border-radius: 4px;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Kopf (Rechtsseiten) ---------- */

.kopf {
  padding: 1.5rem 0 0;
}

.kopf .wrap {
  display: flex;
}

.kopf a {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.kopf img {
  width: 15rem;
  height: auto;
  display: block;
}

/* ---------- Hauptbereich ---------- */

main {
  flex: 1 0 auto;
  padding: 2.5rem 0 3.5rem;
}

/* ---------- Startseite ---------- */

.start {
  text-align: center;
}

.start .logo {
  margin: 1rem auto 2.25rem;
}

.start .logo img {
  width: min(100%, 26rem);
  height: auto;
  display: inline-block;
}

.vorzeile {
  margin: 0 0 1rem;
  color: var(--warmgrau);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.start h1 {
  font-size: clamp(2rem, 7.5vw, 3.25rem);
  margin: 0 0 1.5rem;
}

.start h1 em {
  color: var(--bougainvillea);
  font-weight: 500;
}

.zier {
  display: block;
  width: 4rem;
  height: 3px;
  margin: 0 auto 1.5rem;
  background: var(--sonnengelb);
  border: 0;
  border-radius: 2px;
}

.start p {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
}

.start .kontakt {
  margin-top: 2rem;
}

.kontakt a {
  white-space: nowrap;
}

.social {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.25rem 0.5rem;
  font-weight: 700;
}

.social svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

/* ---------- Rechtstexte ---------- */

.recht h1 {
  font-size: clamp(2rem, 6vw, 2.5rem);
  margin: 0 0 0.5rem;
}

.recht h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 0.75rem;
}

.recht h3 {
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 500;
  margin: 1.75rem 0 0.5rem;
}

.recht p,
.recht ul,
.recht address {
  margin: 0 0 1rem;
  max-width: 50ch;
}

.recht address {
  font-style: normal;
}

.recht ul {
  padding-left: 1.25rem;
}

.recht li {
  margin-bottom: 0.4rem;
}

.recht .stand {
  color: var(--warmgrau);
  margin-top: 3rem;
}

.kasten {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--bougainvillea);
  background: var(--sand-hell);
  border-radius: 0 4px 4px 0;
  max-width: 50ch;
}

.kasten p:last-child {
  margin-bottom: 0;
}

/* ---------- Fehlerseite ---------- */

.fehler {
  text-align: center;
}

.fehler h1 {
  font-size: clamp(2rem, 7.5vw, 3rem);
  margin: 1rem 0 1rem;
}

.fehler p {
  max-width: 30rem;
  margin: 0 auto 1.25rem;
}

.fehler p a {
  display: inline-block;
  padding: 0.6rem 0;
}

/* ---------- Fuß ---------- */

.fuss {
  border-top: 1px solid var(--linie);
  padding: 1.25rem 0 1.5rem;
  color: var(--warmgrau);
  font-size: 0.9375rem;
}

.fuss .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: center;
}

.fuss nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5rem;
}

.fuss a {
  color: var(--warmgrau);
  display: inline-block;
  padding: 0.6rem 0.25rem;
  min-height: 2.75rem;
  line-height: 1.5;
}

.fuss a[aria-current="page"] {
  color: var(--dunkelbraun);
  font-weight: 700;
}

.fuss a:hover {
  color: var(--bougainvillea-dunkel);
}

.fuss .punkt {
  color: var(--warmgrau);
}

@media (max-width: 47.99rem) {
  .fuss .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .fuss .wrap > .punkt {
    display: none;
  }
}

@media (min-width: 48rem) {
  body {
    font-size: 1.125rem;
  }

  .kopf {
    padding-top: 2rem;
  }

  .kopf img {
    width: 18rem;
  }

  main {
    padding: 3.5rem 0 5rem;
  }

  .start .logo {
    margin: 2.5rem auto 3rem;
  }

  .start .logo img {
    width: 30rem;
  }
}

@media print {
  body {
    background: #fff;
    font-size: 11pt;
  }

  .skip,
  .fuss nav,
  .fuss .wrap > .punkt:last-of-type {
    display: none;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
  }

  li,
  address {
    break-inside: avoid;
  }

  a {
    color: inherit;
  }

  main a[href^="http"]:not(.url)::after {
    content: " (" attr(href) ")";
    word-break: break-all;
  }
}
