/*
 * velvento.de - die Unternehmensseite der Velvento GmbH (#126).
 *
 * Kein Build, kein Framework: diese Datei ist alles, was die Seite an Stil braucht. Farben und
 * Abstaende stammen aus dem AI-Studio-Entwurf (Tailwind slate/rose), Schriften liegen unter
 * /assets/fonts (selbst gehostet, kein Google-Fonts-Request).
 *
 * Grautoene fuer Text nie heller als --slate-500: --slate-400 auf Weiss kommt nur auf 2,6:1 und
 * faellt durch jede Kontrastpruefung. Auf dem dunklen Abschnitt ist es umgekehrt.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
}

:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --rose-100: #ffe4e6;
  --rose-600: #e11d48;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --container: 80rem;
  --gutter: 1.25rem;
  --header-height: 4.5rem;
  --text-lead: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);
}

@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
}

@media (min-width: 768px) {
  :root { --header-height: 5rem; }
}

/* ---------------------------------------------------------------- Grundlage */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Der Kopf klebt oben; ohne Abstand landen Sprungziele unter ihm. */
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-900);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
address {
  margin: 0;
}

/* Deutsche Komposita sind laenger als 320 px Bildschirm. Wo ein Wort in einer grossen Ueberschrift
   steht, kommt zusaetzlich ein &shy; ins Markup ("Datenschutz&shy;erklaerung") - auf die
   Silbentrennung des Browsers ist unter Windows kein Verlass. */
h1,
h2 {
  overflow-wrap: break-word;
  hyphens: manual;
}

a {
  color: inherit;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--slate-900);
  outline-offset: 3px;
  border-radius: 4px;
}

.section--dark :focus-visible {
  outline-color: #ffffff;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--slate-900);
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------------------------------------------------------- Kopf */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-height);
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--slate-900);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Vier Sprungmarken passen erst ab Tablet-quer neben Wortmarke und Knopf. Darunter bleibt der
   Knopf allein: die Seite ist kurz, gescrollt wird ohnehin, und ein Menue braeuchte JavaScript. */
.site-nav__links {
  display: none;
  gap: 2rem;
  padding: 0;
  list-style: none;
}

.site-nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav__links a:hover {
  color: var(--slate-900);
}

@media (min-width: 960px) {
  .site-nav__links { display: flex; }
}

@media (max-width: 479px) {
  .hide-narrow { display: none; }
}

/* ---------------------------------------------------------------- Knoepfe */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--slate-900);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--slate-800);
}

.btn--secondary {
  background: #ffffff;
  border-color: var(--slate-200);
  color: var(--slate-900);
}

.btn--secondary:hover {
  background: var(--slate-50);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn--xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn svg {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  transition: transform 0.15s ease;
}

.btn:hover svg {
  transform: translateX(0.25rem);
}

.btn-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

@media (min-width: 640px) {
  .btn-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn svg,
  .site-nav__links a {
    transition: none;
  }

  .btn:hover svg {
    transform: none;
  }
}

/* ---------------------------------------------------------------- Bausteine */

.section {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .section { padding-block: 8rem; }
}

.section--muted {
  background: var(--slate-50);
}

.section--dark {
  background: var(--slate-900);
  color: #ffffff;
}

.eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.section--dark .eyebrow {
  color: var(--slate-400);
}

.h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--slate-900);
}

.section--dark .h2 {
  color: #ffffff;
}

.accent {
  font-style: italic;
  color: var(--slate-500);
}

.section--dark .accent {
  color: var(--slate-400);
}

.prose-lg p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--slate-600);
}

.prose-lg p + p {
  margin-top: 1.5rem;
}

.inline-link {
  color: var(--slate-900);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--slate-300);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.15s ease;
}

.inline-link:hover {
  text-decoration-color: var(--slate-900);
}

/* ---------------------------------------------------------------- Hero */

/* Die oberste Ebene blendet beide Farbflecken nach unten in Weiss aus - sonst schneidet die
   Abschnittskante den rosa Fleck unten rechts sichtbar ab. */
.hero {
  padding-block: 5rem 6rem;
  text-align: center;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, #ffffff 100%),
    radial-gradient(ellipse 30rem 30rem at 10% 15%, rgba(224, 231, 255, 0.6), transparent 70%),
    radial-gradient(ellipse 36rem 36rem at 90% 80%, rgba(255, 228, 230, 0.65), transparent 70%);
}

@media (min-width: 768px) {
  .hero { padding-block: 9rem 10rem; }
}

/* Mobil liegt das Label im blauen Farbfleck: --slate-500 kaeme dort nur auf 4,4:1. */
.hero .eyebrow {
  color: var(--slate-600);
}

.hero__title {
  margin-bottom: 2rem;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 1.5rem + 5.5vw, 6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--slate-900);
}

.hero__lead {
  max-width: 42rem;
  margin: 0 auto 3rem;
  font-size: var(--text-lead);
  line-height: 1.625;
  color: var(--slate-600);
}

/* ---------------------------------------------------------------- Ueber uns */

.about {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .about {
    grid-template-columns: 5fr 6fr;
    gap: 6rem;
    align-items: start;
  }
}

/* ---------------------------------------------------------------- Vision */

.vision {
  max-width: 56rem;
  text-align: center;
}

.vision .h2 {
  margin-bottom: 2.5rem;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  line-height: 1.15;
}

.vision p:not(.eyebrow) {
  font-size: var(--text-lead);
  line-height: 1.7;
  color: var(--slate-300);
}

.vision p:not(.eyebrow) + p {
  margin-top: 1.5rem;
}

.divider {
  width: 6rem;
  height: 1px;
  margin: 3rem auto 0;
  background: rgba(255, 255, 255, 0.2);
}

/* ---------------------------------------------------------------- Die Marke hinter myweddingplace */

.brand-card {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--slate-100);
  border-radius: 2rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

@media (min-width: 768px) {
  .brand-card {
    gap: 3rem;
    padding: 4rem;
    border-radius: 3rem;
  }
}

@media (min-width: 1024px) {
  .brand-card {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
    padding: 5rem;
  }
}

.brand-card .h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.5rem);
}

.org {
  padding: 1.5rem;
  list-style: none;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 1.5rem;
}

@media (min-width: 768px) {
  .org { padding: 2rem; }
}

.org__node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.org__node + .org__node {
  margin-top: 3rem;
}

/* Die Linie zwischen den beiden Kreisen: GmbH oben, Marke darunter. */
.org__node + .org__node::before {
  content: "";
  position: absolute;
  left: calc(1.75rem - 0.5px);
  bottom: calc(100% + 0.5rem);
  width: 1px;
  height: 2rem;
  background: var(--slate-300);
}

.org__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1;
}

.org__badge--company {
  background: var(--slate-900);
  color: #ffffff;
}

.org__badge--brand {
  background: var(--rose-100);
  color: var(--rose-600);
}

.org__name {
  display: block;
  font-weight: 600;
  color: var(--slate-900);
}

.org__role {
  display: block;
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* ---------------------------------------------------------------- Anspruch in der Praxis */

.practice {
  max-width: 48rem;
  text-align: center;
}

.practice .h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.25rem);
}

/* ---------------------------------------------------------------- Kontakt */

.contact {
  max-width: 64rem;
  text-align: center;
}

.contact .h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  line-height: 1.15;
}

.contact__lead {
  max-width: 42rem;
  margin: 0 auto 3rem;
  font-size: var(--text-lead);
  line-height: 1.7;
  color: var(--slate-600);
}

.contact__mail {
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

/* ---------------------------------------------------------------- Fuss */

.site-footer {
  padding-block: 3rem;
  border-top: 1px solid var(--slate-100);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer .wordmark {
  font-size: 1.25rem;
}

.site-footer__copy {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.site-footer__links a {
  display: inline-block;
  padding-block: 0.25rem;
  color: var(--slate-500);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--slate-900);
}

/* ---------------------------------------------------------------- Impressum, Datenschutz */

.legal {
  padding-block: 4rem 6rem;
}

@media (min-width: 768px) {
  .legal { padding-block: 6rem 8rem; }
}

.legal__inner {
  max-width: 48rem;
}

.legal h1 {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.legal__meta {
  margin-bottom: 3rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.legal h2 {
  margin: 3rem 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
}

.legal h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.legal p,
.legal li,
.legal address {
  font-style: normal;
  line-height: 1.75;
  color: var(--slate-600);
}

.legal p + p,
.legal p + address,
.legal address + p {
  margin-top: 1rem;
}

.legal ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.25rem;
}

.legal a {
  color: var(--slate-900);
  text-decoration: underline;
  text-decoration-color: var(--slate-300);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.legal a:hover {
  text-decoration-color: var(--slate-900);
}

.legal strong {
  color: var(--slate-900);
  font-weight: 600;
}

.legal__box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 1rem;
}

.legal__box h3 {
  margin-top: 0;
}

/* ---------------------------------------------------------------- 404 */

.not-found {
  padding-block: 6rem 8rem;
  text-align: center;
}

.not-found .h2 {
  margin-bottom: 1.5rem;
}

.not-found__text {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  font-size: var(--text-lead);
  line-height: 1.7;
  color: var(--slate-600);
}
