/* TapVisit – clean, Claude-friendly CSS
   Alle wichtigen Designwerte stehen hier oben. */
:root {
  --black: #050505;
  --text: #0a0a0a;
  --muted: #969696;
  --card: #f3f3f3;
  --border-radius: 30px;
  --max-width: 1380px;
  --font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.site-header {
  display: flex;
  justify-content: center;
  padding: 0;
}
.brand img {
  display: block;
  width: min(355px, 72vw);
  height: auto;
  /* Notbehelf, da mir die echte Logo-Datei nicht vorliegt (nur der Verweis
     im Code) - invertiert Hell/Dunkel, damit es auf Weiß sichtbar ist.
     Bei einem reinen Schwarz-Weiß-Logo funktioniert das gut; bei Farbtönen
     im Logo kann es seltsam aussehen - dann bitte die Originaldatei schicken. */
  filter: invert(1);
}

.hero {
  max-width: var(--max-width);
  margin: 38px auto 0;
  padding: 0 30px;
  text-align: center;
}
.hero h1 {
  margin: 0 auto 42px;
  font-size: clamp(32px, 4.1vw, 57px);
  line-height: 1.08;
  letter-spacing: -1.8px;
  font-weight: 800;
}
.cursor { color: #e9e9e9; }
.hero-subtitle {
  max-width: 1240px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 25px);
  font-weight: 700;
  line-height: 1.3;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 38px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn-dark { background: var(--black); color: white; }
.btn-light { background: #eeeeee; color: var(--black); }

.hero-image {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
  border-radius: 28px 28px 0 0;
  display: block;
}

.packages {
  max-width: var(--max-width);
  margin: 72px auto 0;
  padding: 0 30px;
}
.section-heading {
  text-align: center;
  margin-bottom: 125px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -2px;
}
.section-heading p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: clamp(30px, 3.3vw, 47px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.package-card {
  min-height: 520px;
  padding: 25px 20px 20px;
  background: var(--card);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.package-name {
  color: #737373;
  font-size: 18px;
  font-weight: 700;
}
.price {
  margin: 16px 0 18px;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1px;
}
.package-card img {
  width: 160px;
  height: 225px;
  display: block;
  object-fit: cover;
  margin: 0 auto 8px;
}
.package-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  color: #777;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}
.package-card li::before {
  content: "✓";
  color: #8a8a8a;
  font-weight: 800;
  margin-right: 14px;
}
.card-btn {
  width: 100%;
  min-height: 43px;
  border-radius: 10px;
  background: #dedede;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.card-btn-dark { background: #000; color: #fff; }

.benefits {
  max-width: var(--max-width);
  margin: 170px auto 100px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  text-align: center;
}
.icon {
  height: 65px;
  font-size: 52px;
  line-height: 1;
  margin-bottom: 15px;
}
.benefit h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.5px;
}

.contact {
  text-align: center;
  padding: 90px 25px;
  background: #f4f4f4;
}
.contact h2 {
  margin: 0 0 15px;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -1.5px;
}
.contact p {
  color: #777;
  font-size: 18px;
  margin-bottom: 28px;
}
footer {
  padding: 30px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

@media (max-width: 800px) {
  .hero { padding: 0 16px; margin-top: 28px; }
  .hero h1 { margin-bottom: 25px; letter-spacing: -1px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-image { height: 270px; border-radius: 20px 20px 0 0; }
  .packages { padding: 0 16px; margin-top: 55px; }
  .section-heading { margin-bottom: 55px; }
  .section-heading p { font-size: 29px; line-height: 1.05; }
  .package-grid { grid-template-columns: 1fr; gap: 18px; }
  .package-card { min-height: 0; }
  .benefits { grid-template-columns: repeat(2, 1fr); margin: 90px auto 70px; padding: 0 16px; }
}
@media (max-width: 430px) {
  .benefits { grid-template-columns: 1fr 1fr; gap: 40px 10px; }
  .benefit h3 { font-size: 17px; }
  .icon { font-size: 42px; }
}


/* --- Tippmaschinen-Effekt --- */
.cursor {
  color: #e9e9e9;
  animation: tv-blink 1s step-end infinite;
}
@keyframes tv-blink {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}

/* --- Bestellung (rein statisch, kein Server, keine Datenbank) --- */
.order-section {
  max-width: 640px;
  margin: 100px auto 120px;
  padding: 0 30px;
}
.order-panel {
  background: var(--card);
  border-radius: var(--border-radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  color: #444;
}
.form-block input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 15px;
  background: #fff;
}
.form-hint {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.package-select {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.package-option {
  position: relative;
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  border: 2px solid #e2e2e2;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s ease;
}
.package-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.package-option.is-selected,
.package-option:has(input:checked) {
  border-color: var(--black);
}
.package-option-name { font-weight: 700; }
.package-option-price { color: var(--muted); font-size: 14px; }

.form-block #quantity-hint {
  display: block;
  margin-top: 6px;
}

/* --- Kontaktformular (erscheint nach "Jetzt bestellen") --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid #e2e2e2;
}
.form-block input[type="text"],
.form-block input[type="email"],
.form-block input[type="tel"],
.form-block textarea,
.form-block input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 15px;
  background: #fff;
}
.form-block textarea { resize: vertical; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #555;
}
.consent input { margin-top: 3px; }
.consent a { text-decoration: underline; }
.form-message {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}
.form-message-error { background: #fdeaea; color: #a12525; }
.form-message-success { background: #e8f7ee; color: #1c7a3f; }

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

.order-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #e2e2e2;
  font-size: 18px;
}
.order-summary strong { font-size: 24px; }

.order-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 16px;
  min-height: 52px;
}

/* --- Überweisungsdaten (auf beleg.html) --- */
.transfer-receipt {
  background: #fff;
  border-radius: 20px;
  padding: 26px 24px;
}
.transfer-receipt h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -.5px;
}
.transfer-receipt > p {
  color: #666;
  margin: 0 0 22px;
  line-height: 1.5;
  font-size: 15px;
}
.receipt-details {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
}
.receipt-details > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e2e2;
}
.receipt-details dt {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.receipt-details dd {
  margin: 0;
  font-weight: 700;
  font-size: 17px;
  text-align: right;
  word-break: break-word;
}
#receipt-iban {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  letter-spacing: .5px;
}
.receipt-print {
  width: 100%;
  border: none;
  cursor: pointer;
}

@media (max-width: 800px) {
  .order-section { padding: 0 16px; margin: 70px auto 80px; }
  .order-panel { padding: 26px 20px; }
  .receipt-details > div { flex-direction: column; gap: 4px; }
  .receipt-details dd { text-align: left; }
}

@media print {
  .site-header, footer, .receipt-print, .transfer-receipt .btn-dark {
    display: none !important;
  }
  .order-section { margin: 0; padding: 0; }
  .transfer-receipt { border-radius: 0; padding: 0; background: none; }
}

/* --- Datenschutz/Impressum --- */
.legal-page {
  max-width: 760px;
  margin: 80px auto 100px;
  padding: 0 30px;
  line-height: 1.65;
  color: #333;
}
.legal-page h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -1px;
  margin: 0 0 8px;
}
.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}
.legal-page h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  letter-spacing: -.5px;
}
.legal-page h3 {
  font-size: 18px;
  margin: 24px 0 8px;
}
.legal-page p, .legal-page li { font-size: 16px; }
.legal-page ul { padding-left: 20px; }
.legal-page a { text-decoration: underline; }
.address-placeholder {
  background: #fff3cd;
  color: #7a5b00;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none !important;
}
.back-link { display: inline-block; margin-top: 40px; }

footer a { text-decoration: underline; }

@media (max-width: 800px) {
  .legal-page { padding: 0 16px; margin: 50px auto 70px; }
}
