/* === SUSE Mono einbinden === */
@import url('https://fonts.googleapis.com/css2?family=SUSE+Mono:wght@400;700&display=swap');

/* === Farben === */
:root {
  --accent: #f2e2c9;       /* neue Akzentfarbe für Titel/Links/Buttons */
  --accent-dark: #e89ce8;  /* leicht dunklere Variante */
  --bg-top: #fffafc;
  --bg-bottom: #ffeef4;
  --text: #333;
  --muted: #777;
}

/* === Basis & Layout === */
* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  font-family: "SUSE Mono", monospace;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--text);
  margin: 0;
  text-align: center;
  transition: background 1s ease-in-out;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* === Header & Titel === */
header h1 {
  font-family: "SUSE Mono", monospace;
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--accent);
  margin: 0 0 0.5rem 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  position: relative;
  display: inline-block;
}


/* === Sprachumschalter === */
.lang-switch {
  margin: 0 0 2rem 0;
}

.lang-switch a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  outline: none;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  background: #ffe5ec;
  color: var(--accent);
}

.lang-switch a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* === Einladungsgrafik === */
.invite img {
  width: 100%;
  max-width: 700px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}

.invite img:hover {
  transform: scale(1.02);
}

/* === Mail-Hinweis === */
.mailnote {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.mailnote a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.mailnote a:hover,
.mailnote a:focus-visible {
  text-decoration: underline;
}

/* === Kalender-Button === */
.calendar-btn {
  margin-top: 1.25rem;
}

.calendar-btn a {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(255,184,255,0.35);
  transition: all 0.3s ease;
  outline: none;
}

.calendar-btn a:hover,
.calendar-btn a:focus-visible {
  background: var(--accent-dark);
  box-shadow: 0 6px 15px rgba(255,184,255,0.4);
  transform: translateY(-2px);
}

/* === Hinweis „Weitere Infos folgen“ === */
.comingsoon {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
}

/* === Footer === */
footer {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--muted);
}

/* === Responsiv === */
@media (max-width: 520px) {
  .container { padding: 1.25rem; }
  header h1 { font-size: 2.6rem; }
  .calendar-btn a { width: 100%; }
}
