/* ===== Webfonts (Variable Fonts, lokal) ===== */
/* Dateien im Ordner /fonts:
   - fonts/Nunito-VariableFont_wght.ttf
   - fonts/Nunito-Italic-VariableFont_wght.ttf */

@font-face {
  font-family: "NunitoLocal";
  src: url("fonts/Nunito-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NunitoLocal";
  src: url("fonts/Nunito-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ===== Basislayout ===== */

:root {
  --rose: #f6b5b9;
  --mint: #c0dfd9;
  --text: #444444;
  --muted: #9a9a9a;
  --bg-top: #f7f8fc;
  --bg-bottom: #e9edf5;
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
}

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

body {
  margin: 0;
  font-family: "NunitoLocal", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(
    circle at top center,
    #ffffff 0,
    var(--bg-top) 45%,
    var(--bg-bottom) 100%
  );
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem 3rem;
}

/* ===== Header / Intro ===== */

header {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 720px;
}

.brand {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose);
}

/* Header klickbar, aber ohne Stiländerung */
.brand-link {
  color: inherit;
  text-decoration: none;
}

.brand-link:hover,
.brand-link:focus-visible {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.tagline {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: inline-block;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.intro-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ===== Grid / Buttons ===== */

.grid {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr)); /* auch mobil 2x2 */
  gap: 1.4rem;
  margin: 2rem auto 2.5rem;
  justify-items: center;
}

.shop-link {
  display: block;
  width: 100%;
  max-width: 190px;          /* mobile: eher Icon-Größe */
  border-radius: 22px;
  border: 4px solid #ffffff; /* etwas dünnerer Rahmen */
  padding: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.shop-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.shop-link:hover,
.shop-link:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

/* ===== Legal-Seiten (Impressum/Datenschutz) ===== */

.main-content {
  max-width: 800px;
  width: 100%;
  margin: 2rem auto 2.5rem;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem 2rem;
}

.main-content h1 {
  margin-top: 0;
  font-size: 1.6rem;
  color: var(--rose);
}

.main-content h2 {
  margin-top: 1.4rem;
  font-size: 1.1rem;
}

.main-content p,
.main-content li {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Footer ===== */

footer {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: auto;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */

@media (min-width: 768px) {
  .page {
    padding-top: 3.5rem;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1.75rem;
  }

  .shop-link {
    max-width: 260px;     /* Desktop: größer */
    border-width: 6px;    /* Rahmen skaliert mit */
    padding: 10px;
  }

  .main-content {
    padding: 2rem 2.25rem 2.4rem;
  }
}
