/* ==========================================================================
   darue.de — Basis-Stylesheet
   Farben zentral als Variablen: hier anpassen, falls das Markenblau /
   Orange des Logos leicht abweicht.
   ========================================================================== */

:root {
  --blue: #312e81;        /* Markenblau Indigo (Badge, oben) */
  --blue-deep: #1e1b4b;   /* dunkles Indigo (Badge, unten; Verläufe/Footer) */
  --orange: #f08a24;      /* Akzent (das eine Rad) */
  --ink: #0e1b33;         /* Textfarbe */
  --slate: #5c6b85;       /* gedämpfter Text */
  --bg: #f6f8fb;          /* kühles Off-White */
  --card: #ffffff;
  --radius: 18px;
  --maxw: 44rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, #eae8f9 0%, transparent 60%),
    var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 {
  font-family: "Sora", "Instrument Sans", system-ui, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- Startseite: dunkle Bühne -------------------------------------------- */

body.home {
  background:
    radial-gradient(900px 520px at 50% 12%, rgba(99, 91, 214, 0.38) 0%, transparent 65%),
    radial-gradient(1400px 800px at 50% 110%, rgba(240, 138, 36, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, #17143a 0%, #100e2c 60%, #0a081f 100%);
}

body.home { overflow-x: hidden; }

.stage {
  min-height: calc(100vh - 8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

/* --- Matroschka-Kern: Plakette als Herz in geschichteten Formen ---------- */

.core {
  position: relative;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(200, 196, 246, 0.16);
}

/* innerste Ebene: enges Echo der Plakettenform, fast massiv */
.ring-1 {
  inset: calc(-1 * clamp(14px, 3vmin, 26px));
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

/* zweite Ebene: leicht gedreht, nur Kontur */
.ring-2 {
  inset: calc(-1 * clamp(34px, 7vmin, 64px));
  border-radius: 44px;
  transform: rotate(-2.5deg);
  border-color: rgba(200, 196, 246, 0.20);
}

/* dritte Ebene: elliptisch – der Formwechsel in der Schichtung */
.ring-3 {
  inset: calc(-1 * clamp(60px, 12vmin, 115px));
  border-radius: 50%;
  border: 1px dashed rgba(200, 196, 246, 0.22);
}

/* äußerste Ebene: großes, weiches Rechteck, kaum noch sichtbar */
.ring-4 {
  inset: calc(-1 * clamp(95px, 19vmin, 185px));
  border-radius: 64px;
  transform: rotate(2deg);
  border-color: rgba(200, 196, 246, 0.10);
  background: radial-gradient(closest-side, rgba(99, 91, 214, 0.10), transparent 75%);
}

/* das eine orange Rad, das auf der elliptischen Bahn sitzt */
.ring-3 .satellite {
  position: absolute;
  top: -6px;
  left: 24%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(240, 138, 36, 0.65), 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* ruhiges Atmen der Schichten, von innen nach außen versetzt */
@keyframes breathe {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1; }
}

.ring-1 { animation: breathe 7s ease-in-out infinite; }
.ring-2 { animation: breathe 7s ease-in-out 1.2s infinite; }
.ring-3 { animation: breathe 7s ease-in-out 2.4s infinite; }
.ring-4 { animation: breathe 7s ease-in-out 3.6s infinite; }

@media (prefers-reduced-motion: reduce) {
  .ring-1, .ring-2, .ring-3, .ring-4 { animation: none; }
}

/* auf kleinen Displays rücken die äußeren Ebenen näher zusammen */
@media (max-width: 480px) {
  .ring-4 { display: none; }
}

.plaque {
  background: linear-gradient(180deg, #fdfdfb 0%, #f3f5f9 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 26px;
  padding: clamp(2.4rem, 6vw, 3.6rem) clamp(2rem, 7vw, 4.5rem);
  text-align: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.3);
}

.plaque .logo {
  /* Das Badge-SVG bringt eigenen Weißraum und Schlagschatten mit,
     daher etwas breiter und ohne zusätzlichen CSS-Schatten. */
  width: min(250px, 68vw);
  height: auto;
  display: inline-block;
  margin: -0.8rem 0 -1.2rem;
}

.hairline {
  border: none;
  height: 1px;
  width: 64px;
  margin: 1.8rem auto 1.4rem;
  background: linear-gradient(90deg, transparent, #c9d3e6 20%, #c9d3e6 80%, transparent);
}

.plaque .note {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.plaque .contact {
  margin: 0;
  font-size: 0.9rem;
}

.plaque .contact a {
  color: var(--slate);
  text-decoration: none;
}

.plaque .contact a:hover {
  color: var(--blue);
  text-decoration: underline;
}

footer.home-footer {
  background: transparent;
  color: rgba(215, 226, 245, 0.75);
}

footer.home-footer .wheels li { background: rgba(215, 226, 245, 0.55); }
footer.home-footer .wheels li.orange { background: var(--orange); }

/* --- Layout ------------------------------------------------------------- */

.wrap {
  width: min(var(--maxw), 92%);
  margin-inline: auto;
}

main { flex: 1; }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  padding: clamp(4rem, 12vh, 7.5rem) 0 3rem;
  text-align: center;
}

.hero .logo {
  width: min(340px, 78vw);
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 14px 30px rgba(30, 27, 75, 0.22));
}

.hero h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 700;
  margin: 2.2rem 0 0.6rem;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--slate);
  max-width: 34rem;
  margin: 0 auto;
}

/* --- Signatur: die vier Räder als Trennelement --------------------------- */

.wheels {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin: 2.4rem auto;
  padding: 0;
  list-style: none;
}

.wheels li {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.35), 0 2px 4px rgba(30,27,75,0.25);
}

.wheels li.orange {
  background: var(--orange);
  box-shadow: inset 0 -2px 3px rgba(0,0,0,0.15), 0 3px 6px rgba(240,138,36,0.45);
  animation: lift 3.2s ease-in-out infinite;
}

@keyframes lift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .wheels li.orange { animation: none; }
  html { scroll-behavior: auto; }
}

/* --- Inhalt / Karte ------------------------------------------------------ */

.card {
  background: var(--card);
  border: 1px solid #e3e9f4;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: 0 10px 30px rgba(30, 27, 75, 0.06);
  margin-bottom: 3rem;
}

.card h2 {
  font-size: 1.15rem;
  margin-top: 0;
  color: var(--blue);
}

/* --- Call to Action ------------------------------------------------------ */

.cta {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(30, 27, 75, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 27, 75, 0.35);
}

/* --- Footer --------------------------------------------------------------- */

footer {
  background: var(--blue-deep);
  color: #d7e2f5;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

footer a { color: #ffffff; }
footer a:hover { color: var(--orange); }

footer .wheels { margin: 0 auto 1.2rem; }
footer .wheels li { background: #d7e2f5; box-shadow: none; }
footer .wheels li.orange { background: var(--orange); animation: none; }

/* --- Impressum-Seite ------------------------------------------------------ */

.legal {
  padding: clamp(3rem, 8vh, 5rem) 0 3rem;
}

.legal h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); }

.legal h2 {
  font-size: 1.1rem;
  margin-top: 2rem;
  color: var(--blue);
}

.legal .back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.placeholder {
  background: #fff7ec;
  border: 1px dashed var(--orange);
  border-radius: 8px;
  padding: 0.1rem 0.45rem;
  font-style: normal;
}
