/* Übergangsseite golfing-mindsetinspiration.com, Farben und Schriften aus dem bisherigen Auftritt */

@font-face {
  font-family: "Cinzel";
  src: url("/schriften/cinzel-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Cardo";
  src: url("/schriften/cardo-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cardo";
  src: url("/schriften/cardo-400i-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --braun: #383124;
  --braun-tief: #1f1a12;
  --gold: #c9a24c;
  --creme: #f2e1ac;
  --hell: #fbf7ea;
  --text: 1.1875rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "Cardo", Georgia, serif;
  font-size: var(--text);
  line-height: 1.5;
  color: var(--hell);
  background-color: var(--braun-tief);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--creme);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Startseite: Foto über die ganze Fläche, oben und unten abgedunkelt, damit Text auf Himmel und Boden lesbar bleibt */
.buehne {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--braun-tief) url("/bilder/hintergrund-mobil.webp") center 30% / cover no-repeat;
}

@media (min-width: 768px) {
  .buehne {
    background-image: url("/bilder/hintergrund.webp");
    background-position: center 62%;
  }
}

.buehne::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgb(31 26 18 / 0.78) 0%,
    rgb(31 26 18 / 0.5) 38%,
    rgb(31 26 18 / 0.28) 58%,
    rgb(31 26 18 / 0.82) 100%
  );
}

.kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 5vw, 4rem) 0;
}

.logo img {
  display: block;
  width: clamp(88px, 12vw, 128px);
  height: auto;
}

.sprache {
  font-size: 1rem;
  text-decoration: none;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid rgb(242 225 172 / 0.5);
  line-height: 1;
}

.sprache:hover {
  border-bottom-color: var(--creme);
}

.inhalt {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2rem, 7vh, 5rem) 1.5rem clamp(2.5rem, 8vh, 6rem);
  text-align: center;
  text-shadow: 0 1px 12px rgb(31 26 18 / 0.55);
}

h1 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.875rem, 4.6vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--creme);
  text-wrap: balance;
}

.unterzeile {
  margin: 1rem auto 0;
  max-width: 34ch;
  font-style: italic;
  color: var(--hell);
}

.kontakt {
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
}

.kontakt p,
.angebote p {
  margin: 0 0 0.75rem;
}

.mail {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.1875rem, 2.4vw, 1.5rem);
  text-decoration: none;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid rgb(242 225 172 / 0.55);
  overflow-wrap: anywhere;
}

.mail:hover {
  border-bottom-color: var(--creme);
}

.mail svg {
  flex: none;
  width: 1.4em;
  height: 1.4em;
  color: var(--creme);
}

.angebote {
  margin: clamp(2.5rem, 7vh, 4.5rem) auto 0;
  max-width: 26rem;
}

.angebote ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.angebote li a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.5rem 0.25rem;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1rem, 1.9vw, 1.1875rem);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--creme);
}

.angebote li a span {
  border-bottom: 1px solid rgb(242 225 172 / 0.45);
}

.angebote li a:hover span {
  border-bottom-color: var(--creme);
}

.angebote li a svg {
  flex: none;
  width: 0.9em;
  height: 0.9em;
  transform: translateY(0.08em);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.angebote li a:hover svg {
  transform: translate(0.2em, 0.08em);
}

.hinweis {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.85;
}

.instagram {
  display: inline-flex;
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  padding: 0.6rem;
  color: var(--creme);
  border-radius: 12px;
}

.instagram svg {
  width: 2.25rem;
  height: 2.25rem;
}

.instagram:hover {
  color: var(--hell);
}

/* Fußzeile mit Trennlinie wie in Karos Skizze */
.fuss {
  background: var(--braun-tief);
  border-top: 1px solid rgb(201 162 76 / 0.55);
  padding: 1.25rem 1.5rem 1.5rem;
}

.fuss nav {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.fuss a {
  font-size: 1rem;
  padding: 0.6rem 0.25rem;
  color: var(--creme);
}

/* Rechtstexte */
.rechtstext {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.rechtstext .zurueck {
  display: inline-block;
  font-size: 1rem;
  padding: 0.6rem 0;
  color: var(--creme);
}

.rechtstext h1 {
  margin: 1.5rem 0 2rem;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
}

.rechtstext h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.2;
  color: var(--creme);
}

.rechtstext p,
.rechtstext ul {
  margin: 0 0 1rem;
  max-width: 68ch;
}

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

.rechtstext address {
  font-style: normal;
  margin: 0 0 1rem;
}

.rechtstext .stand {
  margin-top: 3rem;
  font-size: 1rem;
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
  .angebote li a svg {
    transition: none;
  }
}

/* Ab Tablet quer: Inhalt links im dunklen Himmel, Foto vergrößert, damit die Golferin rechts frei steht */
@media (min-width: 1024px) {
  .buehne {
    background-size: 135% auto;
    background-position: 0% 52%;
  }

  .buehne::before {
    background:
      linear-gradient(to right, rgb(31 26 18 / 0.82) 0%, rgb(31 26 18 / 0.62) 34%, rgb(31 26 18 / 0.08) 62%, rgb(31 26 18 / 0) 100%),
      linear-gradient(to bottom, rgb(31 26 18 / 0.35) 0%, rgb(31 26 18 / 0) 30%, rgb(31 26 18 / 0) 75%, rgb(31 26 18 / 0.6) 100%);
  }

  .inhalt {
    max-width: none;
    margin: 0;
    padding-left: clamp(2rem, 7vw, 7rem);
    padding-right: 2rem;
    text-align: left;
  }

  .inhalt > * {
    max-width: 34rem;
  }

  .unterzeile {
    margin-left: 0;
  }

  .angebote {
    margin-left: 0;
  }

  .instagram {
    margin-left: -0.6rem;
  }
}

/* Handy: Mailadresse in einer Zeile, lange Wörter in Rechtstexten nicht über den Rand */
@media (max-width: 480px) {
  .mail {
    font-size: 1.0625rem;
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .mail svg {
    width: 1.25em;
    height: 1.25em;
  }

  .rechtstext h1 {
    font-size: 1.625rem;
    hyphens: auto;
  }
}

/* Kontrast: Text auf dem Foto braucht mehr Abdunklung (gemessen mit kontrast-foto.py) */
.buehne::before {
  background: linear-gradient(
    to bottom,
    rgb(31 26 18 / 0.9) 0%,
    rgb(31 26 18 / 0.78) 35%,
    rgb(31 26 18 / 0.74) 70%,
    rgb(31 26 18 / 0.9) 100%
  );
}

.angebote li a,
.instagram {
  color: var(--hell);
}

@media (min-width: 1024px) {
  .buehne::before {
    background:
      linear-gradient(to right, rgb(31 26 18 / 0.93) 0%, rgb(31 26 18 / 0.88) 32%, rgb(31 26 18 / 0.55) 46%, rgb(31 26 18 / 0) 66%),
      linear-gradient(to bottom, rgb(31 26 18 / 0.35) 0%, rgb(31 26 18 / 0) 30%, rgb(31 26 18 / 0) 75%, rgb(31 26 18 / 0.6) 100%);
  }
}

.buehne::before {
  background: linear-gradient(
    to bottom,
    rgb(31 26 18 / 0.9) 0%,
    rgb(31 26 18 / 0.8) 35%,
    rgb(31 26 18 / 0.8) 72%,
    rgb(31 26 18 / 0.9) 100%
  );
}

@media (min-width: 1024px) {
  .buehne::before {
    background:
      linear-gradient(to right, rgb(31 26 18 / 0.93) 0, rgb(31 26 18 / 0.88) 42rem, rgb(31 26 18 / 0.5) 52rem, rgb(31 26 18 / 0) 70rem),
      linear-gradient(to bottom, rgb(31 26 18 / 0.35) 0%, rgb(31 26 18 / 0) 30%, rgb(31 26 18 / 0) 75%, rgb(31 26 18 / 0.6) 100%);
  }
}

/* Angebotslinks halbfett ab 19 px: gilt als großer Text und bleibt auf dem Foto lesbar */
.angebote li a {
  font-weight: 600;
  font-size: clamp(1.1875rem, 1.9vw, 1.25rem);
}

.angebote li a span {
  border-bottom: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: rgb(242 225 172 / 0.5);
}

.angebote li a:hover span {
  text-decoration-color: var(--creme);
}

/* Zweizeilige Angebotstitel: Pfeil bleibt vor der ersten Zeile */
.angebote li a {
  display: inline;
}

.angebote li a svg {
  display: inline-block;
  margin-right: 0.45em;
  vertical-align: -0.05em;
}
