/* pajaprints – Design im Stil der ursprünglichen KI-Seite */
:root {
  --primary: #0b73da;
  --primary-dark: #0a5fb4;
  --sky: #0ea5e9;
  --accent-bg: #f0f7ff;
  --secondary: #f4f5f7;
  --text: #1e293b;
  --muted: #475569;
  --border: #e0e6ec;
  --dark: #0f172a;
  --radius: 0.75rem;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 2px 4px rgba(15, 23, 42, 0.06), 0 14px 32px rgba(11, 115, 218, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Header / Navigation ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0.85rem 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

header .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-bereich {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-bild { height: 40px; width: auto; }
.logo-text {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
nav a:hover { color: var(--primary); background: var(--accent-bg); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 6rem 1.5rem 5.5rem;
  background:
    radial-gradient(1000px 400px at 100% -20%, rgba(32, 129, 226, 0.16), transparent),
    radial-gradient(800px 300px at -10% 120%, rgba(2, 132, 199, 0.14), transparent),
    linear-gradient(180deg, var(--accent-bg), #fff);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  max-width: 820px;
  margin: 0 auto 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero p {
  max-width: 680px;
  margin: 0 auto 2.2rem;
  font-size: 1.2rem;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(11, 115, 218, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(11, 115, 218, 0.34);
}

/* ---------- Inhalt ---------- */
main { max-width: 1100px; margin: 0 auto; padding: 4rem 1.5rem 3rem; }
section { margin-bottom: 4rem; }

h2 {
  color: var(--text);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 1.1rem;
}
main:not(.legal-content) h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 0.7rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--sky));
}
h3 { color: var(--text); font-size: 1.1rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--muted); }
p strong, p em { color: var(--text); }
main a { color: var(--primary); }
main a.btn { color: #fff; }

/* ---------- Karten ---------- */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.card {
  flex: 0 1 calc(25% - 1.125rem);
  min-width: 230px;
  background: #fff;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(11, 115, 218, 0.35);
}
.card h3 { color: var(--primary); }
.card p { margin-bottom: 0; }

/* ---------- Über uns ---------- */
.profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 1rem 0 2rem;
}
.profile-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
}
.avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  box-shadow: 0 8px 20px rgba(11, 115, 218, 0.3);
}
.profile-card p em { color: var(--primary); font-style: normal; font-weight: 600; }
.contact-list { list-style: none; }
.contact-list li { margin-bottom: 0.5rem; }
.avatar-foto {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  margin: 0 auto 1.2rem;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--primary), 0 8px 20px rgba(11, 115, 218, 0.3);
}
/* ---------- Rechtstexte ---------- */
.notice-banner {
  background: #fff8e1;
  color: #7a5b00;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border-bottom: 1px solid #ffe69c;
}
main.legal-content { max-width: 820px; padding-top: 3rem; }
.legal-content h2 { margin-bottom: 0.6rem; }
.legal-content h3 { margin-top: 1.8rem; color: var(--primary); }
.legal-content p { color: var(--text); }

table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
table, th, td { border: 1px solid var(--border); }
th, td { padding: 0.65rem; text-align: left; }
th { background: var(--secondary); }

/* ---------- Footer ---------- */
footer {
  background: var(--dark);
  color: #cbd5e1;
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.92rem;
}
footer p { color: #cbd5e1; margin-bottom: 0.4rem; }
footer a { color: #7dd3fc; text-decoration: none; margin: 0 0.6rem; }
footer a:hover { text-decoration: underline; }

/* ---------- Anfrage-Formular ---------- */
.anfrage-form {
  margin-top: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.anfrage-form fieldset {
  border: 0;
  margin: 0 0 1.75rem;
  padding: 0;
  min-width: 0;
}
.anfrage-form legend {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 0 0 0.75rem;
  margin-bottom: 0.25rem;
  width: 100%;
  border-bottom: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.field { display: flex; flex-direction: column; margin-top: 1rem; }
.field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.65rem 0.8rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 115, 218, 0.18);
}
.field input[type="file"] { padding: 0.55rem; background: var(--secondary); }
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.9rem;
  font-size: 0.93rem;
  color: var(--muted);
  cursor: pointer;
}
.check input { margin-top: 0.3rem; accent-color: var(--primary); flex: 0 0 auto; }
.btn-submit {
  margin-top: 1.5rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: #fff;
}
.form-hinweis { margin: 1rem 0 0; font-size: 0.88rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Bestätigungsseite nach dem Absenden */
.formular-antwort { text-align: center; max-width: 640px; }
.formular-antwort h2::after { margin-left: auto; margin-right: auto; }
.formular-antwort .btn { margin-top: 0.5rem; }

/*