/* --------------------------------------------------
   EH Bagpipe Tuner – Standardlayout
   Ausgelagert aus index_de/en.php
-------------------------------------------------- */

body {
    font-family: "Roboto", "Arial", sans-serif;
    background-color: #ECECEC;
    color: #222;
    margin: 0 80px;
    padding: 0;
    line-height: 1.55;
    font-size: 15px;
}

/* ---------- Header / Navigation ---------- */

header {
    color: #00695c;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lang-switch {
    position: absolute;
    top: 12px;
    right: 20px;
}

.lang-switch a {
    color: #00695c;
    font-weight: 600;
    text-decoration: none;
}

.lang-switch a:hover {
    text-decoration: underline;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.header-row img {
    width: 100px;
    height: 99px;
}

.header-row h1 {
    color: #00695c;
    margin: 0;
}

header p {
    color: #00796b;
    margin: 0.6em 0 0 0;
}

/* ---------- Main Structure ---------- */

main {
    padding: 20px 14px 40px 14px;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
}

h1, h2 {
    color: #00695c;
}

h2 {
    border-bottom: 1px solid #00695c;
    padding-bottom: 4px;
    margin-top: 2em;
    font-size: 14pt;
}

p {
    margin: 0.5em 0;
}

ul {
    list-style: disc;
    margin-left: 1.2em;
}

li {
    font-size: 0.95em;
    margin: 0.4em 0;
}

/* ---------- Section: About ---------- */

.about-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 1em;
    flex-wrap: wrap;
    text-align: center;
}

.about-title img {
    display: block;
}

.about-title span {
    font-size: 1.6em;
    color: #00695c;
    font-weight: 600;
}

#features td,
#features ul,
#features ul li {
  white-space: normal;         /* normaler Fließtext */
  overflow-wrap: break-word;   /* darf bei Zeichen‑Grenzen brechen */
  word-break: normal;          /* keine Trennung mitten im Wort */
}

#features table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

#features td {
  width: 50%;
  vertical-align: top;
  padding: 0 8px;
}
}

/* Listen & Items */
#features ul,
#features ul li {
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: normal;
}

@media (max-width: 640px) {
  #features table, #features tr, #features td {
    display: block;
    width: 100%;
  }
}

.wordwrap {
  white-space: normal;      /* erlaubt Zeilenumbrüche an Leerzeichen */
  word-break: keep-all;     /* verhindert Trennung innerhalb von Wörtern */
  overflow-wrap: break-word;/* Zeilenumbruch nur an Wortgrenzen/Satzzeichen */
}

/* ---------- Image line (Screenshots) ---------- */

.image-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.image-row img {
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* ---------- Highlight boxes ---------- */

.highlight {
    background-color: #f7f7f7;
    padding: 10px 14px;
    border-left: 4px solid #00796b;
    margin: 12px 0;
}

p, .highlight p {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ---------- Download section ---------- */

.download-box {
    margin: 14px 0;
}

button,
.download-box button {
    background: #00695c;
    color: #fff;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.download-box span {
    color: red;
}

/* ---------- Contact section ---------- */

#contact {
    text-align: center;
    padding: 12px 0;
}

#mailBtn {
    display: inline-block;
    background: #00695c;
    color: #fff;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin: 6px 4px;
}

#copyBtn {
    background: #ececec;
    color: #00695c;
    border: 1px solid #00695c;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin: 6px 4px;
}

#copyInfo {
    color: #00796b;
    font-size: 0.95em;
    margin-top: 6px;
    min-height: 16px;
}

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

footer {
    text-align: center;
    font-size: 0.9em;
    color: #555;
    padding-top: 24px;
}

/* ---------- Responsive adjustments ---------- */

@media (max-width: 768px) {
    body {
        margin: 0 24px;
    }
}

@media (max-width: 480px) {
    header .header-row img {
        width: 80px;
        height: 79px;
    }

    header .header-row h1 {
        font-size: 1.4em;
    }

    body {
        margin: 0 12px;
    }
}