:root {
  --bg: #0F172A;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  /*--accent: #7DD3FC;*/
  /*--accent: #38BDF8;*/
  --accent: #0EA5E9;
  --accent-hover: #7cd6ff;
  --brand-color: #E5E7EB;
  --brand-color-hover: #ffffff;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1100px;
}

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

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

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

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

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  background: #0F172A;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  line-height: 1.5;
  background: transparent;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transform: translateZ(0);

  background:
    radial-gradient(100% 70% at 20% 10%,
      rgba(125, 211, 252, 0.12) 0%,
      rgba(125, 211, 252, 0.05) 40%,
      transparent 75%),

    radial-gradient(90% 60% at 85% 20%,
      rgba(167, 139, 250, 0.10) 0%,
      rgba(167, 139, 250, 0.04) 45%,
      transparent 80%),

    radial-gradient(120% 80% at 50% 120%,
      rgba(30, 64, 175, 0.10) 0%,
      transparent 70%),

    linear-gradient(180deg,
      #0F172A 0%,
      #0b1322 25%,
      #0c1424 55%,
      #0c1628 100%);

  background-blend-mode: screen, screen, screen, normal;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 18px 56px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;

  color: var(--brand-color);
  --underline-middle: color-mix(in srgb, var(--brand-color) 50%, var(--accent) 50%);
}

.logo {
  height: 44px;
  width: auto;
  display: block;
}

.logo-base {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Arial, sans-serif;
  font-size: 84px;
  font-weight: 500;
  letter-spacing: 0.01em;

  /* websoft erbt brand color */
  fill: currentColor;
}

.logo-accent {
  font-weight: 700;
  fill: var(--accent);
}

.grad-start {
  stop-color: var(--brand-color);
}

.grad-middle {
  stop-color: var(--underline-middle);
}

.grad-end {
  stop-color: var(--accent);
}

.brand:hover {
  --brand-color: var(--brand-color-hover);
  --accent: var(--accent-hover);
}

.brand span {
  font-weight: 600;
  letter-spacing: 0.2px;
}

nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
}

nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 6px;
}

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-text {
  padding: 28px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-text .lead {
  max-width: 100%;
}

.cta-group {
  display: flex;
  margin-top: 30px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-group #btn_leistungen {
  margin-bottom: 30px;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.4px;
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.84);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12.5px;
}

@media (min-width: 1050px) {
  .pill-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .pill {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

@media (min-width: 615px) and (max-width: 900px) {
  .pill-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .pill {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
}

.cta-row a {
  min-width: 210px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.btn.primary {
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(125, 211, 252, 0.16);
  box-shadow: 0 10px 25px rgba(125, 212, 252, 0.15);
}

.btn:hover {
  transform: translateY(-1px);
  /*transition: 140ms ease;*/
}

.fineprint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  padding: 10px;
}

.imgbox {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  /* falls du es nicht schon hast */
}

.imgbox::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;

  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.28) 35%,
      rgba(0, 0, 0, 0.12) 55%,
      rgba(0, 0, 0, 0.00) 82%);
}

.imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(1.02);
}

.imgcap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  text-align: center;

  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(20, 20, 25, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12.5px;
  line-height: 1.35;
  z-index: 1;

  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .imgcap {
    background: rgba(20, 20, 25, 0.75);
  }
}

section {
  margin-top: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  padding: 18px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* About section (moved inline styles here) */
.about {
  padding: 18px;
}

.about h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.about p {
  margin: 0;
  color: var(--muted);
}

.footer {
  margin-top: 22px;
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

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

/* Hovereffekt für Bilder */
/* 
@media (hover: hover) {
  .hero-media {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  .hero-media:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  }
}
*/

.lang-switch {
  margin-left: 20px;
}

.lang-switch a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.lang-switch a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ---------- Textseiten (Impressum/Datenschutz) ---------- */

.page {
  margin-top: 6px;
}

.prose {
  padding: 22px;
}

.prose h1 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.prose h2 {
  margin: 22px 0 10px;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.prose p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.prose ul {
  margin: 0 0 12px 18px;
  padding: 0;
  color: var(--muted);
  line-height: 1.65;
}

.prose li {
  margin: 6px 0;
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--text);
}

/* kleine Trennlinie, falls du später Abschnitte trennen willst */
.prose hr {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin: 18px 0;
}