/*
Theme Name: AD Form Demo
Theme URI: https://demo.andredingfelder.com
Author: Dingfelder Digital
Author URI: https://andredingfelder.de
Description: Öffentliche Business-Demo für AD Form. Digitale Lösungen. Persönlich. Zukunftssicher.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.2
Text Domain: ad-form-demo
License: GPL-2.0-or-later
*/

:root {
  --ad-primary: #2563EB;
  --ad-signal: #14B8A6;
  --ad-text: #0C1524;
  --ad-bg: #EEF2F6;
  --ad-card: #FFFFFF;
  --ad-line: #C5D0DC;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ad-text);
  background: var(--ad-bg);
  line-height: 1.6;
}

a {
  color: var(--ad-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.ad-wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.ad-site-header {
  background: #fff;
  border-bottom: 1px solid var(--ad-line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.ad-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.ad-brand {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ad-brand span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ad-signal);
  font-weight: 700;
}

.ad-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ad-nav a {
  color: var(--ad-text);
  font-weight: 600;
  font-size: 15px;
}

.ad-hero {
  background: linear-gradient(135deg, #0C1524 0%, #1e3a8a 52%, #14B8A6 140%);
  color: #fff;
  padding: 72px 0 64px;
  border-radius: 0 0 28px 28px;
}

.ad-hero h1 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.ad-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--ad-signal);
  font-weight: 700;
  margin: 0;
}

.ad-lead {
  max-width: 640px;
  font-size: 1.15rem;
  opacity: 0.92;
}

.ad-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none !important;
}

.ad-btn--primary {
  background: var(--ad-signal);
  color: #042f2e;
}

.ad-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.ad-section {
  padding: 56px 0;
}

.ad-section h2 {
  letter-spacing: -0.03em;
  margin-top: 0;
}

.ad-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ad-card {
  background: var(--ad-card);
  border: 1px solid var(--ad-line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(12, 21, 36, 0.06);
}

.ad-card h3 {
  margin-top: 0;
}

.ad-page {
  padding: 40px 0 72px;
}

.ad-page h1 {
  letter-spacing: -0.03em;
}

.ad-site-footer {
  border-top: 1px solid var(--ad-line);
  background: #fff;
  padding: 28px 0;
  font-size: 14px;
  color: #445066;
}

.ad-site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.ad-site-footer nav {
  display: flex;
  gap: 16px;
}

.ad-badge {
  display: inline-block;
  background: #ecfeff;
  color: #0f766e;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.ad-page .ad-form-wrap,
.ad-section .ad-form-wrap {
  max-width: 680px;
}

.ad-page .ad-form,
.ad-section .ad-form {
  margin-top: 8px;
}
