/* Preflight – Tailwind-style reset (simplified, no theme() references) */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: currentColor;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none;
}

/* Site styles */
:root {
  --color-divider: #a8c5d9;
  --color-accent: #2c5f4f;
  --color-rose: #be123c;
  --color-gray: #4b5563;
}

body {
  font-family: 'Source Sans 3', ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  color: #000;
  /* background: linear-gradient(to right, #f5e6e8 0%, #e8ecf0 100%); */
  /* background: linear-gradient(to right, #e8b8c8 0%, #b8d4f0 100%); */
   background: linear-gradient(to right, #e088a8 0%, #88c4f0 100%);
  min-height: 100vh;
}

/* Index page */
.page-index {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

@media (min-width: 640px) {
  .page-index {
    padding: 2rem;
  }
}

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

.page-index .page {
  width: fit-content;
}

.page-index header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-index h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-index .header-line {
  font-size: 1.25rem;
  font-weight: 400;
}

.page-index .divider {
  width: 100%;
  height: 1px;
  margin: 0 auto;
  background: var(--color-divider);
}

.page-index .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 2rem;
  align-items: start;
  width: 100%;
  margin: 2.5rem auto 0;
}

@media (min-width: 640px) {
  .page-index .contact-grid {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 2rem;
  }
}

.page-index .contact-column {
  padding: 1rem 0;
  text-align: left;
}

.page-index .contact-column h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.page-index .contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-index .contact-links a {
  color: #000;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.page-index .contact-links a:hover {
  color: var(--color-rose);
}

.page-index .divider-v {
  width: 100%;
  height: 1px;
  margin: 1.5rem 0;
  background: var(--color-divider);
}

@media (min-width: 640px) {
  .page-index .divider-v {
    width: 1px;
    height: 100%;
    min-height: 80px;
    margin: 0;
  }
}

.page-index footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-divider);
  text-align: center;
}

.page-index footer a {
  color: #000;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-index footer a:hover {
  color: var(--color-rose);
}

/* Impressum page */
.page-impressum {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

@media (min-width: 768px) {
  .page-impressum {
    padding: 4rem 1.5rem;
  }
}

.page-impressum .back-link {
  display: inline-block;
  color: #000;
  text-decoration: none;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
}

.page-impressum .back-link:hover {
  color: var(--color-rose);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-impressum h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.page-impressum .content {
  font-size: 1rem;
  line-height: 1.625;
}

.page-impressum .content > section {
  margin-bottom: 2rem;
}

.page-impressum .content > section:last-of-type {
  margin-bottom: 0;
}

.page-impressum h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.page-impressum p {
  margin-bottom: 0.5rem;
}

.page-impressum p.mb-2 {
  margin-bottom: 0.5rem;
}

.page-impressum p.mb-4 {
  margin-bottom: 1rem;
}

.page-impressum p.mt-4 {
  margin-top: 1rem;
}

.page-impressum .text-muted {
  color: var(--color-gray);
}

.page-impressum .content a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-impressum .content a:hover {
  color: var(--color-rose);
}

.page-impressum .footer-link {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-divider);
}

.page-impressum .footer-link a {
  color: #000;
  text-decoration: none;
  font-size: 0.875rem;
}

.page-impressum .footer-link a:hover {
  color: var(--color-rose);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Datenschutzerklärung page – lists and heading hierarchy */
.page-datenschutz .content ul {
  list-style: disc;
  margin: 0.75rem 0 1rem;
  padding-left: 1.5rem;
}

.page-datenschutz .content li {
  margin-bottom: 0.5rem;
}

.page-datenschutz .content li:last-child {
  margin-bottom: 0;
}

.page-datenschutz .content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.page-datenschutz .content h3:first-child {
  margin-top: 0;
}

.page-datenschutz .content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.page-datenschutz .content h4:first-child {
  margin-top: 0;
}

.page-datenschutz .content section {
  margin-bottom: 2.5rem;
}

.page-datenschutz .content section:last-child {
  margin-bottom: 0;
}
