/* DoGether Support – Farben angelehnt an DesignTokens (Light) */
:root {
  --bg: #f7f7f7;
  --card: #ffffff;
  --text: #1c1c1e;
  --text-muted: #3c3c43;
  --accent: #66d9b2;
  --accent-hover: #4cc9a3;
  --accent-text: #ffffff;
  --border: #e5e5ea;
  --danger: #e63946;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(28, 28, 30, 0.06);
  --max: 640px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1c;
    --card: #2a2a2e;
    --text: #fafafc;
    --text-muted: #aeaeb2;
    --accent: #40d1ae;
    --accent-hover: #5ad9ba;
    --border: #38383c;
    --shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height:1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-hover);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px 56px;
}

header {
  text-align: center;
  padding: 32px 0 28px;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 5vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
  margin-inline: auto;
}

section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.h2-note {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
}

h3 {
  margin: 20px 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

h3:first-child {
  margin-top: 0;
}

p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

li {
  margin-bottom: 8px;
}

li:last-child {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--accent-text);
}

.btn:active {
  transform: scale(0.98);
}

#kontakt .btn-mail {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  touch-action: manipulation;
}

.mail-hint {
  margin: 12px 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  gap: 14px;
}

.contact-item {
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.contact-item strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-item a {
  font-weight: 500;
  word-break: break-all;
}

.placeholder {
  font-style: italic;
  opacity: 0.85;
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.faq details:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq summary {
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-weight: 400;
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin-top: 12px;
  padding-right: 8px;
}

.notice {
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--danger) 28%, transparent);
  color: var(--text);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.impressum-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2px;
}

.impressum-block {
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.impressum-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 8px;
}

.impressum-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.35;
}

.impressum-address {
  margin: 0;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.55;
  color: var(--text-muted);
}

.impressum-mail {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  word-break: break-all;
}

footer {
  text-align: center;
  padding: 28px 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 12px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 8px;
}
