/*
Theme Name: Levi Gebetsbrief
Theme URI: https://example.com/
Author: OpenAI für Levi Zimmermann
Description: Eine schlichte Vorstellungsseite mit Gebetsbrief-Anmeldung.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: levi-gebetsbrief-theme
*/

:root {
  --levi-black: #020202;
  --levi-paper: #fbf7ff;
  --levi-lavender: #b7b0c4;
  --levi-violet: #605773;
  --levi-sand: #dcd3c6;
  --levi-white: #ffffff;
  --levi-line: rgba(2, 2, 2, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--levi-paper);
  color: var(--levi-black);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wp-site-blocks, .levi-site { overflow: hidden; }
.levi-site { min-height: 100vh; display: flex; flex-direction: column; }

.levi-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--levi-line);
}
.levi-brand { display: inline-flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.levi-brand-mark {
  width: 43px; height: 43px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--levi-black); color: var(--levi-paper);
  font-family: Georgia, "Times New Roman", serif; font-size: 15px;
}
.levi-brand-copy { display: flex; flex-direction: column; gap: 3px; }
.levi-brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 400; }
.levi-brand-copy small { color: var(--levi-violet); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.levi-content { flex: 1; }
.levi-content > * { margin-block-start: 0; }
.levi-home {
  min-height: calc(100vh - 155px);
  padding: 68px 24px 92px;
  display: flex;
  align-items: center;
}
.levi-main-grid { width: min(1180px, 100%); margin-inline: auto !important; gap: 70px; align-items: center !important; }
.levi-intro-column { position: relative; z-index: 1; }
.levi-kicker {
  margin: 0 0 23px !important;
  display: flex; align-items: center; gap: 10px;
  color: var(--levi-violet); font-size: 10px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
}
.levi-kicker::before { content: ''; width: 30px; height: 1px; background: currentColor; }
.levi-title {
  margin: 0 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7vw, 96px) !important;
  font-weight: 400 !important; line-height: .98 !important; letter-spacing: -.055em;
}
.levi-title em { color: var(--levi-violet); font-weight: 400; }
.levi-lead { max-width: 620px; margin: 30px 0 0 !important; color: #3e3944; font-size: 18px; line-height: 1.8; }

.levi-photo {
  position: relative; overflow: hidden;
  max-width: 470px; min-height: 430px;
  margin-top: 46px !important;
  border: 13px solid rgba(255,255,255,.45);
  border-radius: 230px 230px 24px 24px;
  background: linear-gradient(150deg, var(--levi-lavender), var(--levi-sand));
  box-shadow: 0 0 0 1px var(--levi-line);
}
.levi-photo::after {
  content: ''; position: absolute; inset: -40px;
  border: 1px solid rgba(96,87,115,.2); border-radius: 50%; pointer-events: none;
}
.levi-photo .wp-block-cover__inner-container { color: var(--levi-violet); }
.levi-photo-label { font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1.3; }
.levi-photo-label small { font-family: Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.levi-form-panel {
  padding: clamp(28px, 4vw, 54px);
  background: var(--levi-white);
  border: 1px solid var(--levi-line);
  box-shadow: 0 28px 70px rgba(96,87,115,.12);
}
.levi-form-panel .levi-kicker { margin-bottom: 16px !important; }
.levi-form-title {
  margin: 0 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 58px) !important;
  font-weight: 400 !important; line-height: 1.02 !important; letter-spacing: -.04em;
}
.levi-form-intro { margin: 20px 0 30px !important; color: #5a5360; font-size: 14px; line-height: 1.7; }

.levi-signup-form { display: grid; gap: 18px; }
.levi-field { display: grid; gap: 7px; }
.levi-field label, .levi-captcha-label { font-size: 12px; font-weight: 800; }
.levi-required { color: #9b3348; }
.levi-field input[type="text"],
.levi-field input[type="email"],
.levi-field textarea,
.levi-captcha input {
  width: 100%;
  border: 1px solid #b8b2bc;
  border-radius: 3px;
  background: #fff;
  color: var(--levi-black);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.levi-field input[type="text"], .levi-field input[type="email"], .levi-captcha input { min-height: 48px; padding: 0 13px; }
.levi-field textarea { min-height: 115px; padding: 12px 13px; resize: vertical; }
.levi-field input:focus, .levi-field textarea:focus, .levi-captcha input:focus { border-color: var(--levi-violet); box-shadow: 0 0 0 3px rgba(183,176,196,.25); }
.levi-check { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; font-size: 12px; line-height: 1.55; }
.levi-check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--levi-violet); }
.levi-captcha { display: grid; grid-template-columns: auto 110px; gap: 12px; align-items: center; }
.levi-captcha input { min-width: 0; }
.levi-submit {
  min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px;
  justify-self: start; background: var(--levi-violet); color: var(--levi-paper);
  font-size: 13px; font-weight: 800; cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.levi-submit:hover { transform: translateY(-2px); background: var(--levi-black); }
.levi-form-note { margin: -4px 0 0; color: #746c7c; font-size: 10px; line-height: 1.55; }
.levi-form-message { margin: 0 0 20px; padding: 12px 14px; border-left: 4px solid var(--levi-violet); background: var(--levi-paper); font-size: 12px; line-height: 1.55; }
.levi-form-message.is-success { border-left-color: #3c7b5b; }
.levi-form-message.is-error { border-left-color: #9b3348; }
.levi-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.levi-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto; padding: 20px 0 24px;
  display: flex; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--levi-line);
  color: var(--levi-violet); font-size: 9px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
}

@media (max-width: 920px) {
  .levi-main-grid { flex-wrap: wrap !important; }
  .levi-main-grid > .wp-block-column { flex-basis: 100% !important; }
  .levi-photo { margin-inline: auto !important; }
}
@media (max-width: 620px) {
  .levi-header, .levi-footer { width: calc(100% - 30px); }
  .levi-header { min-height: 78px; }
  .levi-brand-copy small { display: none; }
  .levi-home { padding: 54px 15px 70px; }
  .levi-main-grid { gap: 45px; }
  .levi-title { font-size: clamp(49px, 15vw, 70px) !important; }
  .levi-lead { font-size: 16px; }
  .levi-photo { min-height: 390px; }
  .levi-captcha { grid-template-columns: 1fr; }
  .levi-footer { flex-direction: column; gap: 8px; }
}

