/* Tonwerk Eschweiler – statische Web-Visitenkarte
   CI-Version nach Tonwerk-CI:
   #3AC2BC Türkis · #C2AA3A Gold · #3A80C2 Blau · #C28E3A Orange · #455A6D Dunkelblaugrau

   Reine HTML/CSS-Seite. Keine externen Schriften, kein JavaScript, kein Tracking.
   Schrift technisch bewusst als Systemschrift, keine externen Webfonts.
*/

:root {
  --bg: #f7f9fb;
  --panel: #ffffff;
  --text: #1a1d20;
  --muted: #455A6D;
  --line: #d8e0e7;

  --tw-turquoise: #3AC2BC;
  --tw-gold: #C2AA3A;
  --tw-blue: #3A80C2;
  --tw-orange: #C28E3A;
  --tw-slate: #455A6D;

  --accent: var(--tw-blue);
  --accent-2: var(--tw-turquoise);
  --accent-warm: var(--tw-gold);
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at -8% 10%, rgba(58, 194, 188, 0.16) 0%, rgba(58, 194, 188, 0.10) 26%, rgba(58, 194, 188, 0.05) 46%, rgba(58, 194, 188, 0.00) 68%),
    linear-gradient(90deg,
      rgba(58, 128, 194, 0.20) 0%,
      rgba(58, 128, 194, 0.15) 18%,
      rgba(58, 128, 194, 0.10) 38%,
      rgba(58, 128, 194, 0.06) 58%,
      rgba(58, 128, 194, 0.03) 74%,
      rgba(58, 128, 194, 0.00) 100%
    ),
    var(--bg);
  background-attachment: fixed;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: 0.22em;
}

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

.site-header {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  display: block;
  width: min(420px, 58vw);
  height: auto;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.96rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav a[aria-current="page"],
.nav a:hover,
.nav a:focus {
  color: var(--accent);
}

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero {
  max-width: 860px;
  padding: 24px 0 30px;
}

.kicker {
  color: var(--tw-blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 650;
  margin: 0 0 18px;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.0rem, 5.6vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 650;
}

h2 {
  margin: 44px 0 14px;
  color: var(--tw-slate);
  font-size: clamp(1.22rem, 2.4vw, 1.72rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h3 {
  margin: 26px 0 10px;
  font-size: 1.08rem;
}

.lead {
  margin: 28px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 42px 0 28px;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  padding: 22px;
  min-height: 118px;
  box-shadow: 0 12px 32px rgba(69, 90, 109, 0.07);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--accent);
}

.card:nth-child(2)::before {
  background: var(--accent-2);
}

.card:nth-child(3)::before {
  background: var(--accent-warm);
}

.card strong {
  display: block;
  font-size: 1.03rem;
  margin-bottom: 8px;
  color: var(--text);
}

.card span {
  display: block;
  color: var(--muted);
}

.copy {
  max-width: 760px;
  color: var(--muted);
}

.copy p {
  margin: 0 0 16px;
}

.copy strong {
  color: var(--text);
}

.cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--tw-blue);
  background: var(--tw-blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 750;
}

.button:hover,
.button:focus {
  background: var(--tw-slate);
  border-color: var(--tw-slate);
  color: #ffffff;
}

.muted-link {
  color: var(--muted);
}

.info-box {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  padding: 22px;
  margin: 24px 0;
  max-width: 760px;
  box-shadow: 0 12px 32px rgba(69, 90, 109, 0.07);
}

.info-box p {
  margin: 0 0 10px;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.legal {
  max-width: 820px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 1.2rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 38px 0;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--accent);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo {
    width: min(360px, 88vw);
  }

  .nav {
    justify-content: flex-start;
  }

  main {
    padding-top: 38px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: unset;
  }
}


/* Dezentere Startseite: keine große Kampagnen-Headline */
.hero-compact {
  max-width: 760px;
  padding: 8px 0 24px;
}

.hero-compact h1 {
  max-width: 620px;
  margin: 0;
  color: var(--tw-slate);
  font-size: clamp(1.28rem, 2.1vw, 1.72rem);
  line-height: 1.34;
  letter-spacing: -0.012em;
  font-weight: 500;
}

.hero-compact .lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.65;
}

.hero-compact .kicker {
  margin-bottom: 14px;
}


/* Version Visitenkarte:
   Keine große Hero-Headline, kein aufdringlicher Startseiten-Auftritt. */
main {
  padding-top: 34px;
}

.intro {
  max-width: 720px;
  padding: 10px 0 26px;
}

.intro-text {
  margin: 0;
  color: var(--tw-slate);
  font-size: clamp(1.12rem, 1.65vw, 1.38rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.008em;
}

.intro-sub {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.grid {
  margin-top: 26px;
}

.card {
  min-height: 108px;
}

.copy {
  margin-top: 4px;
}

.cta {
  display: none;
}


/* Startseiten-Fix:
   Der Hintergrund liegt jetzt auf html, der Body ist transparent.
   Dadurch läuft der Verlauf auch auf der Startseite weich über die ganze Fläche. */
body {
  min-height: 100vh;
}

.site-header,
main,
.site-footer {
  position: relative;
}

main {
  margin-left: auto;
  margin-right: auto;
}

.intro,
.hero,
.copy {
  margin-left: 0;
  margin-right: auto;
}

@media (min-width: 1100px) {
  .site-header,
  main,
  .site-footer {
    width: min(var(--max), calc(100% - 96px));
  }
}
