/* ============================================================
   Barrierefreies-Internet.at — style.css
   Farbschema: Kühles Nass (passend zu vienna-webdesign.at)
   ============================================================ */

/* ── FONTS ── */
@font-face {
  font-family: 'Montserrat';
  src: url('/VWD/fonts/montserrat-v15-latin-regular.woff2') format('woff2'),
       url('/VWD/fonts/montserrat-v15-latin-regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrol-dark:  #003B46;
  --petrol-mid:   #07575b;
  --petrol-light: #66a5ad;
  --petrol-pale:  #c4dfe6;
  --gold:         #cfb67d;
  --text-light:   #444444;
  --bg:           #ffffff;
  --bg-page:      #f4f8f9;
  --border:       #e0e0e0;
  --radius:       8px;
  --shadow:       0 4px 16px rgba(0,59,70,0.10);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

/* ── FOKUS ── */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── CONTAINER ── */
.container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── HEADER — volle Breite, zentriert ── */
.site-header {
  background: var(--petrol-dark);
  border-bottom: 4px solid var(--gold);
  width: 100%;
  padding: 2.75rem 1.5rem 2.25rem;
  text-align: center;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
}

.header-logo {
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.header-claim {
  font-size: .78rem;
  color: var(--petrol-pale);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.header-divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.header-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem 1.5rem;
  font-size: .82rem;
  color: var(--petrol-pale);
  font-style: normal;
}

.header-contact a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity .2s;
}
.header-contact a:hover { opacity: .75; }

/* ── DEMO HINWEIS — abgesetzt vom Header ── */
.demo-hinweis {
  background: var(--petrol-dark);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin: 2rem 0 1.5rem;
  font-size: .87rem;
  color: var(--petrol-pale);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  text-align: center;
}

.demo-hinweis strong { color: #ffffff; }

.demo-link {
  display: inline-block;
  background: var(--gold);
  color: var(--petrol-dark);
  font-weight: 700;
  font-size: .82rem;
  padding: .4rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}
.demo-link:hover { opacity: .85; }

/* ── ARTICLE ── */
article {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

/* ── ÜBERSCHRIFTEN ── */
h1 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--petrol-dark);
  line-height: 1.25;
  margin-bottom: .65rem;
  padding-bottom: .75rem;
  border-bottom: 3px solid var(--petrol-pale);
}

h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--petrol-mid);
  margin-top: 2rem;
  margin-bottom: .55rem;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--petrol-dark);
  margin-top: 1.25rem;
  margin-bottom: .4rem;
}

/* ── ABSÄTZE & LISTEN ── */
p { margin-bottom: .9rem; }
ul, ol { margin: .5rem 0 1rem 1.5rem; }
li { margin-bottom: .4rem; }

/* ── LINKS — kein Unterstrich ── */
a {
  color: var(--petrol-mid);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
a:hover   { color: var(--petrol-dark); }
a:visited { color: var(--petrol-dark); }

/* Fließtext-Links: dezente untere Linie statt Unterstrich */
article p a,
article li a {
  color: var(--petrol-mid);
  border-bottom: 1px solid var(--petrol-pale);
  padding-bottom: 1px;
  font-weight: 600;
}
article p a:hover,
article li a:hover {
  color: var(--petrol-dark);
  border-bottom-color: var(--petrol-mid);
}

/* ── TABELLE ── */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead { background: var(--petrol-dark); color: #ffffff; }

th {
  padding: .75rem 1.1rem;
  text-align: left;
  font-weight: 700;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

td {
  padding: .7rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--bg-page); }
td strong { color: var(--petrol-dark); }

/* ── DEMO BOX ── */
.demo-box {
  background: var(--petrol-dark);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  text-align: center;
}

.demo-box h2 { color: #ffffff; margin-top: 0; font-size: 1.15rem; }
.demo-box p  { color: var(--petrol-pale); font-size: .88rem; }

.demo-btn {
  display: inline-block;
  margin: 1.1rem 0 .75rem;
  padding: .85rem 2.25rem;
  background: var(--gold);
  color: var(--petrol-dark);
  font-weight: 700;
  font-size: .95rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: .02em;
  transition: opacity .2s, transform .15s;
}
.demo-btn:hover {
  opacity: .9;
  transform: translateY(-2px);
  color: var(--petrol-dark);
}

.demo-sub {
  font-size: .76rem;
  color: var(--petrol-light);
  margin: 0;
}

/* ── KONTAKT BOX ── */
.kontakt-box {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-top: 2rem;
}

.kontakt-box h2 { margin-top: 0; }

.kontakt-box address {
  font-style: normal;
  line-height: 2;
  margin-bottom: .75rem;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--petrol-dark);
  color: var(--petrol-pale);
  text-align: center;
  padding: 1.5rem 0;
  font-size: .8rem;
  border-top: 3px solid var(--gold);
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.site-footer a:hover { opacity: .8; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header-logo    { font-size: 1.55rem; }
  .header-contact { gap: .3rem .75rem; }
  h1              { font-size: 1.3rem; }
  h2              { font-size: 1.05rem; }
  article         { padding: 1.5rem 1.25rem; }
  .demo-box       { padding: 1.5rem 1.25rem; }
  .demo-hinweis   { flex-direction: column; }

  /* Responsive Tabelle */
  table thead     { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: .75rem;
    background: var(--bg);
  }
  td              { border: none; padding: .5rem 1rem; font-size: .85rem; }
  td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--petrol-mid);
    margin-bottom: .15rem;
  }
}

@media (max-width: 480px) {
  .site-header { padding: 1.75rem 1rem 1.5rem; }
  h1           { font-size: 1.15rem; }
  article      { padding: 1.25rem .9rem; }
}

/* Links in dunklen Petrol-Bereichen — Hover muss hell bleiben */
.demo-hinweis a:hover,
.demo-box a:hover,
.site-footer a:hover,
.header-contact a:hover {
  color: var(--gold);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
