/* =====================================================================
   seelendialoge-symposium.de – Gestaltung angelehnt an seelendialoge.de
   ===================================================================== */

/* ---------- Schriften (liegen auf dem eigenen Webspace, kein Google) ---------- */
@font-face {
   font-family: "Open Sans";
   src: url("assets/fonts/opensans.woff") format("woff");
   font-weight: 300 800; font-style: normal; font-display: swap;
}
@font-face {
   font-family: "Open Sans";
   src: url("assets/fonts/opensans-italic.woff") format("woff");
   font-weight: 300 800; font-style: italic; font-display: swap;
}
@font-face {
   font-family: "Source Sans 3";
   src: url("assets/fonts/sourcesans3.woff") format("woff");
   font-weight: 200 900; font-style: normal; font-display: swap;
}
/* Logo-Schrift von seelendialoge.de ("Bilgie", gekaufte Lizenz) */
@font-face {
   font-family: "Bilgie";
   src: url("assets/fonts/Bilgie.woff") format("woff"), url("assets/fonts/Bilgie.ttf") format("truetype");
   font-display: swap;
}

/* ---------- Farben ---------- */
:root {
   --purple: #6e145f;
   --gold: #c9a25c;
   --gold-light: #d8bc6c;
   --wine: #5d1010;
   --text: #3e3e3e;
   --cream: #fbf7ea;
   --cream-text: #e6deca;
   --field: #f0f0f0;
   --heading-font: "Source Sans 3", "Assistant", "Segoe UI", Arial, sans-serif;
   --body-font: "Open Sans", "Segoe UI", Arial, sans-serif;
   --logo-font: "Bilgie", "Cormorant Garamond", "Garamond", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
   background: var(--cream);
   /* Platz fuer die Bildlaufleiste immer freihalten, damit kurze und lange Seiten
      nicht um einige Pixel gegeneinander verschoben erscheinen */
   overflow-y: scroll;
}

body {
   margin: 0;
   font-family: var(--body-font);
   font-size: 16px;
   line-height: 1.5;
   color: var(--text);
   background: var(--cream) url("assets/hintergrund.jpg") center top / cover no-repeat fixed;
}

#form1 { min-height: 100vh; display: flex; flex-direction: column; }

a { color: var(--purple); }
a:hover { color: var(--wine); }

img { max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

/* ---------- Kopfzeile ---------- */
.site-header {
   background: rgba(251, 247, 234, 0.92);
   box-shadow: 0 1px 8px rgba(110, 20, 95, 0.08);
   position: sticky; top: 0; z-index: 10;
}

.header-inner {
   max-width: 1060px;
   margin: 0 auto;
   padding: 6px 20px 4px;
   display: grid;
   grid-template-columns: 1fr auto;
   grid-template-areas: "menu contact";
   align-items: center;
   column-gap: 24px;
}


.main-menu { grid-area: menu; justify-self: center; }
.main-menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 34px; flex-wrap: wrap; justify-content: center; }
.main-menu a {
   display: block;
   font-family: var(--body-font);
   font-weight: 700;
   font-size: 14px;
   line-height: 44px;
   text-transform: uppercase;
   color: var(--gold);
   text-decoration: none;
   border-bottom: 2px solid transparent;
}
.main-menu a:hover { color: var(--purple); }
.main-menu a.current { color: var(--purple); border-bottom-color: var(--gold); line-height: 40px; }

.header-contact { grid-area: contact; display: flex; flex-direction: column; align-items: flex-end; }
.signature { display: block; text-decoration: none; }
.signature img { display: block; width: 293px; height: auto; margin: 0; }

.contact-links { display: flex; gap: 22px; justify-content: flex-end; margin-top: -16px; position: relative; }
.contact-links a {
   font-weight: 700; font-size: 13px; letter-spacing: 1.3px;
   text-transform: uppercase; color: var(--purple);
}

/* Menue-Schalter (nur auf schmalen Bildschirmen sichtbar) */
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-button { display: none; }

/* ---------- Inhalt ---------- */
.site-main { flex: 1; padding: 28px 20px 48px; }

.page {
   max-width: 1060px;
   margin: 0 auto;
   padding: 32px 44px 40px;
   background: transparent;
}

/* Kopfbereich jeder Seite: Schriftzug mit Spiralen, rechts unterhalb Titel/Datum/Ort.
   Alle Seiten benutzen dieselben Masse, damit Spiralen und Schrift immer an derselben Stelle stehen. */
.page-head { position: relative; min-height: 330px; margin: -46px 0 24px; } /* obere Spirale beginnt ca. 14 px unter dem Header */
.head-text { position: relative; padding: 196px 0 0 230px; }
.content { margin-left: 140px; max-width: 780px; }

/* Schriftzug "Seelen Dialoge Symposium" - Anordnung wie auf seelendialoge.de */
.brand {
   position: absolute;
   left: 0; top: 0;
   width: 545px;
   height: 345px;
   font-family: var(--logo-font);
   color: #e7d17b;
   font-size: 40px;
   line-height: 47px;
   font-weight: 400;
}
.brand-word, .brand .spiral { position: absolute; }
.w-seelen     { left: 0;     top: 7px; }
.w-dialoge    { left: 165px; top: 8px; }
.w-third      { left: 284px; top: 74px; }
.spiral-s     { left: 100px; top: 0;    width: 110px; height: 185px; }
.spiral-tall  { left: 35px;  top: 69px; width: 73px;  height: 276px; }

.title {
   font-family: var(--heading-font);
   font-weight: 700;
   font-size: 22px;
   line-height: 1.35;
   color: var(--purple);
   text-align: left;
   margin: 0 0 10px;
}
.title span { font-size: 20px; }

.facts {
   display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
   font-family: var(--heading-font); font-weight: 600; font-size: 17px;
   color: var(--text); margin: 0;
}
.facts span::before { content: "◆"; color: var(--gold); font-size: 11px; margin-right: 8px; vertical-align: 2px; }

.text p { margin: 0 0 1.1em; }

.highlight {
   font-family: var(--heading-font);
   font-weight: 700;
   color: var(--purple);
   font-size: 17px;
   margin: 26px 0 14px;
}

.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 8px; }
.photos img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

.call { text-align: center; margin: 26px 0 6px; }

/* ---------- Impressum / Datenschutz ---------- */
.legal h2 {
   font-family: var(--heading-font);
   font-size: 18px;
   font-weight: 700;
   color: var(--purple);
   text-transform: none;
   margin: 28px 0 8px;
}
.legal h2.caps { text-transform: uppercase; letter-spacing: 0.5px; }
.legal p { margin: 0 0 0.8em; }
.legal ul { margin: 0 0 0.8em; padding-left: 22px; }
.legal .address { margin-bottom: 0.2em; }
.legal .content > .title { text-align: left; margin-top: 10px; }

/* ---------- Kontakt ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px 48px; align-items: start; }
.contact-intro { color: var(--purple); }
.contact-intro ul { margin: 4px 0 0; padding-left: 22px; }
.contact-intro .highlight { margin-top: 0; }
.contact-intro p { margin: 0 0 6px; }
.page-head .contact-intro { font-size: 17px; }
.contact-aside { font-size: 16px; padding-top: 6px; }
.contact-aside p { margin: 0 0 1.1em; }
.contact-aside .label { font-weight: 700; color: var(--purple); }
.contact-aside .small { font-size: 15px; }

/* ---------- Schaltflaechen ---------- */
.button {
   display: inline-block;
   background: var(--wine);
   color: #fff;
   font-family: var(--body-font);
   font-size: 16px;
   line-height: 1.3;
   padding: 12px 34px;
   border: 0;
   border-radius: 8px;
   text-decoration: none;
   cursor: pointer;
}
.button:hover, .button:focus-visible { background: var(--purple); color: #fff; }

/* ---------- Formular ---------- */
.form-box {
   background: transparent;
   padding: 12px 0 8px;
   margin-top: 18px;
   color: var(--purple);
   font-family: var(--heading-font);
   font-size: 17px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 30px; }
.field.wide { grid-column: 1 / -1; }

.field label { display: block; margin-bottom: 6px; }
.req { color: var(--purple); }

.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
   width: 100%;
   font: inherit;
   font-family: var(--body-font);
   font-size: 16px;
   color: var(--text);
   background: var(--field);
   border: 1px solid transparent;
   border-radius: 6px;
   padding: 8px 10px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple); background: #fff; }

.check { margin: 20px 0 0; display: flex; align-items: flex-start; gap: 12px; }
.check input[type="checkbox"] { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--purple); }
.check label { cursor: pointer; }
/* asp:CheckBox mit Text erzeugt <span><input><label></span> */
.check > span { display: flex; align-items: flex-start; gap: 12px; }

.challenge { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.challenge label { margin: 0; }
.challenge input[type="text"] { width: 5em; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-buttons { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; }
.req-note { font-size: 14px; }

.message { border-radius: 8px; padding: 16px 22px; margin: 18px 0; font-size: 17px; }
.message ul { margin: 6px 0 0; padding-left: 22px; }
.message.error { background: #fbe9ec; border: 1px solid #c98a96; color: var(--wine); }
.message.ok { background: rgba(255, 255, 255, 0.75); border: 1px solid var(--gold); color: var(--text); text-align: center; }
.message.ok p { margin: 0 0 12px; }

/* ---------- Fusszeile ---------- */
.site-footer {
   padding: 14px 20px 12px;
   background:
      radial-gradient(circle at 32% 100%, #82a374 0%, rgba(130, 163, 116, 0) 40%),
      radial-gradient(circle at 6% 89%, rgba(227, 245, 213, 0.99) 0%, rgba(227, 245, 213, 0) 50%),
      radial-gradient(circle at 6% 14%, #c2e494 0%, rgba(194, 228, 148, 0) 70%),
      radial-gradient(circle at 94% 11%, #fbf7ea 0%, rgba(251, 247, 234, 0) 85%),
      #fff;
   font-size: 12px;
   color: var(--text);
}
/* gleiche Breite und Einrueckung wie der Seiteninhalt (.page) */
.cookie-note, .footer-links { max-width: 1060px; margin: 0 auto; padding: 0 44px; }
.cookie-note { margin-bottom: 6px; font-style: italic; }
.footer-links { display: flex; gap: 60px; }
.footer-links a { color: var(--purple); text-transform: uppercase; font-size: 13px; font-weight: 600; }

/* =====================================================================
   Schmale Bildschirme
   ===================================================================== */
@media (max-width: 820px) {
   body { font-size: 16px; background-attachment: scroll; }

   .site-header { position: static; }
   .header-inner {
      grid-template-columns: 1fr auto;
      grid-template-areas:
         "contact button"
         "menu    menu";
      row-gap: 10px;
      padding-bottom: 10px;
   }
   .header-contact { justify-self: start; align-items: flex-start; }
   .contact-links { justify-content: flex-start; margin-top: -2px; padding-left: 30px; gap: 14px; white-space: nowrap; }
   .contact-links a { letter-spacing: 0.6px; font-size: 12px; }

   .menu-button {
      grid-area: button;
      display: inline-flex; align-items: center; gap: 8px;
      font-weight: 700; font-size: 14px; text-transform: uppercase;
      color: var(--purple); cursor: pointer; padding: 6px 4px;
   }
   .menu-button span, .menu-button span::before, .menu-button span::after {
      display: block; width: 20px; height: 2px; background: var(--purple); position: relative;
   }
   .menu-button span::before, .menu-button span::after { content: ""; position: absolute; left: 0; }
   .menu-button span::before { top: -6px; }
   .menu-button span::after { top: 6px; }

   .main-menu { display: none; justify-self: stretch; }
   .menu-toggle:checked ~ .main-menu { display: block; }
   .main-menu ul { flex-direction: column; gap: 0; }
   .main-menu a { line-height: 42px; border-top: 1px solid rgba(201, 162, 92, 0.3); }
   .main-menu a.current { line-height: 42px; border-bottom-color: transparent; }

   .signature img { width: 220px; margin: 0; }

   .site-main { padding: 16px 10px 32px; }
   .page { padding: 12px 8px 28px; }

   .page-head { min-height: 0; margin: -24px 0 18px; }
   .brand { position: relative; transform: scale(0.62); transform-origin: left top; margin-bottom: -131px; }
   .head-text { padding: 0; }
   .content { margin-left: 0; }
   .cookie-note, .footer-links { padding: 0 8px; }

   .photos { grid-template-columns: 1fr; }
   .contact-layout { grid-template-columns: 1fr; }

   .form-grid { grid-template-columns: 1fr; }
   .form-buttons { flex-direction: column-reverse; align-items: stretch; }
   .form-buttons .button { width: 100%; }

   .footer-links { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
   * { scroll-behavior: auto !important; }
}
