/* ── Fonts ── */
@font-face {
  font-family: 'Boldonse';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/boldonse-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Boldonse';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/boldonse-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --red:  #FF5B48;
  --cyan: #9DFAFF;
  --white: #ffffff;
  --dark: #1a1a1a;
}

body {
  background: var(--red);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/Pattern.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.02;
  pointer-events: none;
  z-index: -1;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  max-width: 380px;
  width: 100%;
}

.logo {
  width: min(280px, 80vw);
  height: auto;
}

.description {
  text-align: center;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.6;
  width: 100%;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo        { animation: fadeUp 0.5s ease both; }
.description { animation: fadeUp 0.5s ease 0.1s both; }
.links       { animation: fadeUp 0.5s ease 0.2s both; }
footer       { animation: fadeUp 0.5s ease 0.3s both; }

.back-link                                              { animation: fadeUp 0.5s ease both; }
.legal-wrap h1                                          { animation: fadeUp 0.5s ease 0.1s both; }
.legal-wrap h2,
.legal-wrap p,
.legal-wrap address,
.legal-wrap .legal-meta                                 { animation: fadeUp 0.5s ease 0.2s both; }

@media (prefers-reduced-motion: reduce) {
  .logo, .description, .links, footer,
  .back-link, .legal-wrap h1, .legal-wrap h2,
  .legal-wrap p, .legal-wrap address, .legal-wrap .legal-meta {
    animation: none;
  }
  .btn {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}

.btn-instagram {
  background: var(--white);
  color: var(--dark);
}

.btn-mail {
  background: var(--white);
  color: var(--dark);
}

.btn-termine {
  background: var(--white);
  color: var(--dark);
}

.btn i, .btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon-external, .btn svg.icon-external {
  width: 14px;
  height: 14px;
  margin-left: auto;
  opacity: 0.6;
}

.text-small { font-size: 0.8rem;  }
.text-tiny  { font-size: 0.64rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Boldonse", sans-serif;
  font-weight: 400;
  line-height: 1.4;
}

h1 { font-size: 3.052rem; }
h2 { font-size: 2.441rem; }
h3 { font-size: 1.953rem; }
h4 { font-size: 1.563rem; }
h5 { font-size: 1.25rem;  }
h6 { font-size: 1rem;     }

footer {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  padding: 2rem 1rem;
}

footer a {
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

footer a:hover {
  color: var(--white);
}

body.page-home { overflow: hidden; }

body.page-home        .footer-home        { display: none; }
body.page-impressum   .footer-impressum   { display: none; }
body.page-datenschutz .footer-datenschutz { display: none; }

/* ── Legal pages ── */
.legal-wrap {
  flex: 1;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.legal-wrap h1 {
  font-size: 1.953rem;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.legal-wrap h2 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal-wrap p,
.legal-wrap address {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.65;
  font-style: normal;
}

.legal-wrap a {
  color: var(--white);
  text-decoration: underline;
}

.legal-wrap a:hover {
  opacity: 0.7;
}

.back-link {
  display: inline-block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 2.5rem;
}

.back-link:hover {
  color: var(--white);
}

.legal-meta {
  margin-top: 3rem;
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.4);
}
