*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --page-top: #ddd4c6;
  --page-bottom: #c8bdb0;
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.9);
  --text-soft: rgba(255, 255, 255, 0.82);
  --shadow-soft: 0 2px 12px rgba(58, 48, 36, 0.28);
  /* Bündig mit linkem Logo-Rand in der PNG (~7% der Kartenbreite) */
  --card-gutter: clamp(1.85rem, 7.1vw, 3.15rem);
  --text-anchor-top: 21%;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(255, 255, 255, 0.45), transparent 58%),
    linear-gradient(180deg, var(--page-top) 0%, var(--page-bottom) 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

a:hover,
a:focus-visible {
  opacity: 0.9;
}

.page {
  min-height: calc(100vh - 3.25rem);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem) clamp(0.85rem, 3vw, 1.5rem) 1rem;
}

.visitenkarte {
  position: relative;
  width: min(920px, 100%);
  aspect-ratio: 1200 / 1020;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 28px 70px rgba(58, 48, 36, 0.22),
    0 8px 24px rgba(58, 48, 36, 0.12);
}

.visitenkarte-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.visitenkarte-body {
  position: absolute;
  top: var(--text-anchor-top);
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.visitenkarte-copy {
  width: 100%;
  max-width: 100%;
  padding:
    0.35rem
    var(--card-gutter)
    clamp(1.35rem, 3.5vw, 1.85rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.05rem;
  pointer-events: auto;
}

.visitenkarte-copy > * {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.legal-name {
  font-size: clamp(0.9rem, 2vw, 1.02rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.35;
  color: var(--text-muted);
  text-shadow: var(--shadow-soft);
}

.tagline {
  max-width: 34ch;
  font-size: clamp(0.92rem, 2.05vw, 1.04rem);
  line-height: 1.65;
  font-weight: 500;
  color: var(--text-soft);
  text-shadow: var(--shadow-soft);
}

.contact-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
  font-size: clamp(0.76rem, 1.85vw, 0.88rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
  text-shadow: var(--shadow-soft);
}

.contact-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-bar a:hover,
.contact-bar a:focus-visible {
  opacity: 1;
  color: #fff;
}

.contact-bar .sep {
  display: none;
}

.icon {
  width: 0.92rem;
  height: 0.92rem;
  fill: currentColor;
  opacity: 0.92;
  flex: 0 0 auto;
}

.ecosystem {
  font-size: clamp(0.76rem, 1.85vw, 0.88rem);
  line-height: 1.55;
  color: var(--text-soft);
  text-shadow: var(--shadow-soft);
}

.ecosystem-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.btn-produkt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  align-self: flex-start;
  margin-top: 0.15rem;
  padding: 0.72rem 1.35rem;
  font-size: clamp(0.68rem, 1.65vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #fff;
  opacity: 1;
  background: rgba(20, 10, 32, 0.52);
  border: 1px solid rgba(196, 168, 255, 0.45);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(40, 28, 58, 0.28);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.btn-produkt:hover,
.btn-produkt:focus-visible {
  opacity: 1;
  background: rgba(35, 18, 58, 0.68);
  border-color: rgba(196, 168, 255, 0.72);
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem 1.35rem;
  font-size: 0.82rem;
  color: rgba(70, 58, 42, 0.72);
}

.site-footer a {
  color: inherit;
}

@media (min-width: 720px) {
  :root {
    --text-anchor-top: 20%;
  }

  .visitenkarte-copy {
    gap: 1.15rem;
  }

  .contact-bar {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 0.85rem;
    row-gap: 0.45rem;
  }

  .contact-bar .sep {
    display: inline;
    color: rgba(255, 255, 255, 0.38);
    user-select: none;
  }
}

@media (min-width: 900px) {
  :root {
    --card-gutter: 3.15rem;
    --text-anchor-top: 19.5%;
  }
}

@media (max-width: 640px) {
  :root {
    --text-anchor-top: 22%;
    --card-gutter: clamp(1.65rem, 8vw, 2rem);
  }

  .visitenkarte-copy {
    gap: 0.95rem;
  }
}
