:root {
  color-scheme: light;
  --ink: #243a32;
  --forest: #244b3e;
  --forest2: #163b30;
  --cream: #faf7ef;
  --paper: #fffdf8;
  --muted: #596b61;
  --gold: #b88a42;
  --line: #d7dcd0;
  --radius: 22px;
  font-family: Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #1e5743;
  text-underline-offset: 4px;
}
a:hover {
  color: #102f24;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
*:focus-visible {
  outline: 3px solid #b56a1c;
  outline-offset: 4px;
}
.container {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
}
.skip {
  position: absolute;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 9;
}
.skip:focus {
  top: 4px;
}
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.brand {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.33rem;
  text-decoration: none;
  color: var(--forest);
}
nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
nav > a:not(.button) {
  text-decoration: none;
  font-weight: 600;
}
nav form {
  margin: 0;
}
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: normal;
  transition:
    background-color 0.15s,
    color 0.15s;
}
.primary {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.primary:hover {
  background: var(--forest2);
  color: white;
}
.secondary {
  background: #74511f;
  border-color: #74511f;
  color: #fff;
}
.secondary:hover {
  background: #593b17;
  color: #fff;
}
.plain {
  background: transparent;
  border-color: transparent;
  color: var(--forest);
}
.plain:hover {
  background: #e9efe8;
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 48px;
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
  line-height: 1.16;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  letter-spacing: -0.04em;
  margin: 0.25em 0 0.36em;
  color: var(--forest);
}
h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin: 0 0 12px;
}
h3 {
  font-size: 1.26rem;
  margin: 0 0 8px;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #76521e;
}
.lead {
  font-size: 1.17rem;
  line-height: 1.63;
  color: var(--muted);
  max-width: 620px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 12px;
}
.fine,
small {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}
.hero-art {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(29, 58, 45, 0.15);
  background: #1e463c;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}
.art-note {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  text-align: center;
  color: #fff5da;
  background: #193c32e8;
  border-radius: 12px;
  padding: 12px;
  font-family: Georgia, serif;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 16px 0 48px;
}
.features article {
  padding: 24px 24px;
  background: #eef0e6;
  border-radius: var(--radius);
}
.features span {
  color: #866024;
  font-size: 1.8rem;
}
.features p {
  line-height: 1.6;
  color: var(--muted);
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0 0 20px;
  box-shadow: 0 4px 12px #233c2b08;
}
.card p {
  line-height: 1.6;
}
.demo {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 32px;
}
.demo video {
  display: block;
  width: 100%;
  border-radius: 14px;
  background: #183d33;
}
.pricing {
  padding: 28px 0;
}
.price {
  font-size: 2.2rem;
  font-family: Georgia, serif;
  color: var(--forest);
  font-weight: bold;
  margin: 12px 0;
}
.featured {
  border: 2px solid #6e967e;
}
.grid {
  display: grid;
  gap: 20px;
}
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
main > h1,
.heading {
  margin-top: 36px;
}
.heading p {
  margin-top: 0;
}
.auth {
  max-width: 560px;
  margin: 44px auto;
}
.auth h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}
label:not(.button) {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  margin: 0 0 16px;
}
.check {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
  font-weight: 500 !important;
}
.check input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin: 0;
}
input:not([type="checkbox"]):not([type="hidden"]):not([type="file"]),
textarea,
select {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #a3b5ab;
  background: #fff;
  color: var(--ink);
  border-radius: 9px;
}
textarea {
  min-height: 105px;
  resize: vertical;
  line-height: 1.5;
}
form .button {
  margin-top: 4px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.list li a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
}
.list span {
  color: var(--muted);
}
progress {
  display: block;
  width: 100%;
  height: 14px;
  margin: 12px 0 16px;
  accent-color: var(--forest);
}
.letter-paper {
  background: #fffdf4;
  border: 1px solid #bd9a5b;
  box-shadow: 0 5px 15px #77603e14;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 36px;
  min-height: 420px;
}
.letter-paper h2 {
  text-align: center;
  color: #486252;
  font-style: italic;
  margin-bottom: 32px;
}
.letter-body {
  white-space: pre-wrap;
  font-family: Georgia, serif;
  font-size: 1.17rem;
  font-style: italic;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.paper-foot {
  display: block;
  text-align: center;
  color: #8e652d;
  font-size: 1.5rem;
  margin-top: 20px;
}
.filters {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr 1.4fr;
  gap: 12px;
  align-items: end;
}
.filters label {
  margin: 0;
}
.filters .button {
  align-self: end;
}
.prank h2 {
  font-size: 1.31rem;
}
.tag {
  display: inline-block;
  font-size: 0.82rem;
  background: #e9ecde;
  color: #355749;
  padding: 8px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.alert,
.notice {
  padding: 16px 16px;
  border-radius: 12px;
  font-weight: bold;
  margin: 16px 0;
}
.alert {
  background: #fbe5de;
  color: #822a24;
  border: 1px solid #bd6d62;
}
.notice {
  background: #e5f1e4;
  color: #244b35;
  border: 1px solid #90ad8c;
}
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 40px;
}
.input-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.input-tools span {
  font-size: 0.85rem;
  color: var(--muted);
}
.welcome {
  background: #e8eee5;
}
code {
  overflow-wrap: anywhere;
}
video {
  max-width: 100%;
}
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .hero-art {
    max-width: 550px;
  }
  .features,
  .three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top {
    gap: 16px;
  }
  .demo {
    grid-template-columns: 1fr;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 550px) {
  .container {
    width: calc(100% - 30px);
  }
  .top {
    padding: 12px 0;
  }
  nav {
    gap: 8px;
    font-size: 0.9rem;
  }
  .two,
  .three,
  .features,
  .filters {
    grid-template-columns: 1fr;
  }
  .features {
    gap: 12px;
  }
  .card {
    padding: 16px;
  }
  .hero {
    padding: 28px 0;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .actions .button {
    width: 100%;
  }
  .letter-paper {
    padding: 24px;
  }
  .demo {
    padding: 16px;
  }
  .list li a {
    flex-wrap: wrap;
  }
  .brand {
    font-size: 1.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}
.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.cal-day.selected {
  background: var(--forest);
  color: white;
}
.cal-day:hover:not(.selected) {
  background: #e9efe8;
}
.character-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.character-choice {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  font-size: 0.82rem !important;
}
.character-choice img {
  width: 100%;
  display: block;
  border-radius: 5px;
}
.character-choice input {
  width: 20px;
  height: 20px;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 16px;
  padding: 8px;
}
legend {
  font-size: 0.9rem;
  font-weight: 700;
}
@media (max-width: 550px) {
  .character-options {
    grid-template-columns: repeat(2, 1fr);
  }
}
.video-source {
  display: block;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 16px;
}
.prompt-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #eef0e6;
  border-radius: 8px;
  padding: 16px;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.55;
}
#video-photo-form input[type="file"] {
  display: block;
  max-width: 100%;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #a3b5ab;
  border-radius: 8px;
}
.photo-regie {
  align-items: start;
}
.storyboard-summary {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 3fr;
  gap: 12px 16px;
  margin: 16px 0;
}
.storyboard-summary dt {
  font-weight: 700;
}
.storyboard-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.tech-prompt summary {
  cursor: pointer;
  min-height: 44px;
  padding: 12px;
  color: var(--forest);
  font-weight: 700;
}
@media (max-width: 550px) {
  .storyboard-summary {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .storyboard-summary dd {
    margin-bottom: 8px;
  }
}

/* Hörproben bleiben auch in schmalen Profilkarten vollständig bedienbar. */
audio[controls] {
  display: block;
  width: 100%;
  max-width: 22rem;
}
