
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: Arial, sans-serif;
    overflow-x: 0;
    overflow-y: 0;
    overflow: hidden; /* verhindert Scrollen */
    background: #262626; /* etwas heller als #1a1a1a */

}

.book {
    left: 300px;
    width: 600px;
    height: 700px;
    perspective: 3000px;
    position: relative;
    cursor: pointer;
}




/* Seiten */
.sheet {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: left;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border: 2px solid #262626;


}

.page {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    background: #faf7f1;
    backface-visibility: hidden;
}
.page.back {
    transform: rotateY(180deg);
}

.page.last-page {
    background-color: #454545;
}

.firmenstempel {
    position: absolute;
    left: 34px;
    bottom: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 230px;
    padding: 18px 14px 15px;
    border: 4px solid #d8d8d8;
    border-radius: 8px;
    color: #d8d8d8;
    text-align: center;
    transform: rotate(-7deg);
    opacity: 0.92;
}

.firmenstempel strong {
    font-size: 38px;
    letter-spacing: 5px;
}

.firmenstempel span {
    font-size: 15px;
    letter-spacing: 2px;
}

.firmenstempel small {
    margin-top: 5px;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.stach-content {
    box-sizing: border-box;
    width: 86%;
    max-height: 88%;
    overflow: hidden;
    align-self: flex-start;
    margin-top: 34px;
    color: #242424;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.35;
}

.stach-content h3 {
    margin: 0 0 18px;
    font-size: 27px;
    line-height: 1.15;
}

.firmenvorstellung h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.15;
}

.firmenvorstellung {
    max-height: calc(100% - 48px);
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.25;
    padding-right: 6px;
}

.firmenvorstellung h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.firmenvorstellung h3 {
    margin: 10px 0 8px;
    font-size: 20px;
}

.stach-content.firmenvorstellung p {
    margin-bottom: 9px;
}

.stach-content p {
    margin: 0 0 14px;
}

.stach-content ul {
    margin: 12px 0 0;
    padding-left: 22px;
}

.stach-content li {
    margin: 7px 0;
}

.leistungsseite {
    max-height: calc(100% - 48px);
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.3;
}

.leistungen-kopf {
    border-bottom: 2px solid #c49a5a;
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.leistungen-label {
    color: #9a6b2f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.leistungen-kopf h2 {
    margin: 4px 0 3px;
    color: #2f2416;
    font-size: 23px;
    line-height: 1.1;
}

.leistungen-kopf p {
    margin: 0;
    color: #5b5145;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.leistungskarte {
    padding: 10px;
    border: 1px solid #eadfce;
    border-left: 4px solid #c49a5a;
    border-radius: 7px;
    background: linear-gradient(135deg, #fffdf9, #f8f1e7);
}

.leistungskarte h3 {
    margin: 0 0 5px;
    color: #352718;
    font-size: 14px;
    line-height: 1.15;
}

.leistungskarte p {
    margin: 0;
}

.leistungskarte ul {
    margin: 6px 0 0;
    padding-left: 16px;
}

.leistungskarte li {
    margin: 2px 0;
}

.leistungskarte-abschluss {
    background: #f1e4d0;
}

.leistungsprofil {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0;
}

.leistungsprofil > div {
    padding: 10px 8px;
    border-top: 3px solid #c49a5a;
    background: #faf7f1;
}

.profil-zahl {
    color: #b17e38;
    font-size: 20px;
    font-weight: 700;
}

.leistungsprofil h3 {
    margin: 3px 0;
    color: #352718;
    font-size: 15px;
}

.leistungsprofil p {
    margin: 0;
}

.leistungsabschluss {
    margin-top: 16px;
    padding: 11px 13px;
    border-radius: 7px;
    background: #352718;
    color: #fffaf2;
}

.ueber-uns-seite {
    max-height: calc(100% - 48px);
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.35;
}

.ueber-uns-seite h3 {
    margin: 12px 0 5px;
    color: #352718;
    font-size: 17px;
}

.ueber-uns-seite p {
    margin-bottom: 9px;
}

.ueber-uns-seite .leistungsabschluss {
    margin-top: 13px;
    margin-bottom: 0;
}

.projekt-text-mitte {
    width: 86%;
    color: #242424;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

.projekt-text-mitte h2 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.2;
}

.projekt-text-mitte h3 {
    margin: 0 0 12px;
    font-size: 21px;
}

.projekt-text-mitte p {
    margin: 0 0 14px;
}

.team-content {
    width: 92%;
    max-height: 96%;
    overflow: hidden;
    align-self: flex-start;
    margin-top: 34px;
}

.team-content > p {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.3;
}

.projekt-seite,
.kontakt-block {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.team-album {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.team-card {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.team-photo {
    width: calc(100% + 20px);
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #f0f0f0;
    margin: -10px -10px 8px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.team-photo-placeholder {
    display: block;
    overflow: hidden;
}

.team-photo-placeholder svg {
    display: block;
    width: 100%;
    height: 100%;
}

.team-card h4 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #2f2416;
}

.team-card p {
    margin: 4px 0;
    font-size: 12.5px;
    line-height: 1.4;
}

.projekt-zeile {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.projekt-bild {
    width: 100%;
    height: 100%;
    min-height: 110px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #214f7c, #9bb9d2);
}

.projekt-seite {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.projekt-2024 {
    grid-template-rows: 1fr 1fr;
}

.projekt-2023 {
    grid-template-rows: 1fr;
}

.projekt-2023 .projekt-zeile {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 7px;
    padding: 6px;
}

.projekt-2023-karten {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 100%;
}

.projekt-2023-single {
    display: block;
}

.projekt-2023-single .projekt-zeile {
    height: 50%;
    box-sizing: border-box;
}

.projekt-2023 .projekt-bild {
    min-height: 70px;
}

.projekt-2023 .projekt-inhalt h4 {
    font-size: 11px;
}

.projekt-2023 .projekt-inhalt p {
    font-size: 9px;
    line-height: 1.15;
}

.projekt-2024 .projekt-zeile {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 7px;
    padding: 6px;
}

.projekt-2024 .projekt-bild {
    min-height: 70px;
}

.projekt-2024 .projekt-inhalt h4 {
    font-size: 11px;
}

.projekt-2024 .projekt-inhalt p {
    font-size: 9px;
    line-height: 1.2;
}

.projekt-inhalt h4 {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.2;
    color: #2f2416;
}

.projekt-inhalt p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.35;
}

.more-images-toggle {
    color: #6c4d1f;
    font-weight: 700;
    text-decoration: underline;
}

.projekt-galerie {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 6px;
}

.projekt-galerie.is-open {
    display: grid;
}

.projekt-galerie img {
    width: 100%;
    height: 58px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
}

.kontakt-block ul {
    margin: 12px 0 0;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.4;
}

.kontaktseite {
    box-sizing: border-box;
    width: 86%;
    max-height: calc(100% - 48px);
    overflow-y: auto;
    align-self: flex-start;
    margin-top: 34px;
    color: #242424;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.3;
}

.kontakt-email {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0;
    padding: 10px 12px;
    border-left: 4px solid #c49a5a;
    border-radius: 6px;
    background: #faf7f1;
}

.kontakt-email span {
    color: #8d642f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kontakt-email a {
    color: #352718;
    font-weight: 700;
}

.kontakt-form {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid #eadfce;
    border-radius: 8px;
    background: linear-gradient(135deg, #fffdf9, #f8f1e7);
}

.kontakt-form label {
    color: #5b5145;
    font-size: 11px;
    font-weight: 700;
}

.kontakt-form input,
.kontakt-form textarea {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 4px;
    padding: 7px 8px;
    border: 1px solid #d9cbb8;
    border-radius: 5px;
    background: #ffffff;
    color: #242424;
    font: inherit;
}

.kontakt-form textarea {
    resize: vertical;
}

.kontakt-form button {
    justify-self: start;
    margin-top: 3px;
    padding: 8px 12px;
    border: 0;
    border-radius: 5px;
    background: #352718;
    color: #fffaf2;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.karriere-seite h3 {
    margin: 18px 0 8px;
    color: #352718;
    font-size: 20px;
}

.karriere-seite .leistungsabschluss {
    margin-top: 20px;
}

.bewerbungs-form {
    display: grid;
    gap: 5px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #eadfce;
    border-radius: 8px;
    background: linear-gradient(135deg, #fffdf9, #f8f1e7);
}

.bewerbungs-form label {
    color: #5b5145;
    font-size: 11px;
    font-weight: 700;
}

.bewerbungs-form input {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 4px;
    padding: 7px 8px;
    border: 1px solid #d9cbb8;
    border-radius: 5px;
    background: #ffffff;
    color: #242424;
    font: inherit;
}

.bewerbungs-form button {
    justify-self: start;
    margin-top: 3px;
    padding: 8px 12px;
    border: 0;
    border-radius: 5px;
    background: #352718;
    color: #fffaf2;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.pdf-hinweis,
.bewerbungs-status {
    margin: 3px 0;
    color: #6d5d4b;
    font-size: 11px;
}

.bewerbungs-status.is-error {
    color: #a33227;
    font-weight: 700;
}

.bewerbungs-status.is-success {
    color: #2c7044;
    font-weight: 700;
}

.sheet-number {
    position: absolute;
    bottom: 8px;
    right: 10px;
    z-index: 2;
    color: #666;
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
}

.front-sheet-1 {
    width: 630px;
    height: 730px;
    background-color: #282828; }
.back-sheet-1  { background-color: #454545; }
.front-sheet-20 { background-color: rgb(255, 220, 0); }
.back-sheet-20  { background-color: rgb(127, 129, 129)}