body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

#wrapper {
    margin: auto;
    max-width: 920px;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#content {
    padding: 3%;
    border-bottom: 9px solid #0057B8;
    padding-top: 0.6em;
}

#markierstift {
    font-style: normal;
    border-radius: 1em 0 1em 0;
    text-shadow: 1px 1px 1px #fff;
    background-image: linear-gradient(-100deg,
        rgba(0, 120, 255, 0.15),
        rgba(0, 120, 255, 0.7) 100%,
        rgba(0, 120, 255, 0.25));
}

.table-scrollable {
    width: 100%;
    overflow-y: auto;
    margin: 0 0 1em;
}

.table-scrollable::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
}

.table-scrollable::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 3px solid #fff;
    background-color: rgba(0, 0, 0, 0.3);
}

@media only screen and (max-width: 700px) {
    p {
        font-size: 1em;
        margin-bottom: 20px;
        text-align: left;
        line-height: 1.5em;
    }

    ul, ol {
        font-size: 1em;
        line-height: 1.5em;
    }

    h1 {
        font-size: 1.7em;
        font-family: 'Concert One', sans-serif;
        font-weight: normal;
        margin-top: 0.5em;
        line-height: 1.5em;
    }

    h2 {
        font-size: 1.7em;
        font-family: 'Concert One', sans-serif;
        font-weight: normal;
        margin-top: 1.2em;
        line-height: 1.4em;
    }
}

@media only screen and (min-width: 701px) {
    p {
        font-size: 1.1em;
        margin-bottom: 20px;
        text-align: left;
        line-height: 1.7em;
    }

    ul, ol {
        font-size: 1.1em;
        line-height: 1.7em;
    }

    h1 {
        font-size: 2.1em;
        font-family: 'Concert One', sans-serif;
        font-weight: normal;
        margin-top: 1em;
    }

    h2 {
        font-size: 1.9em;
        font-family: 'Concert One', sans-serif;
        font-weight: normal;
    }
}

li {
    margin-bottom: 1em;
}

a {
    color: #0057B8;
}

h3 {
    font-size: 1.6em;
    font-family: 'Concert One', sans-serif;
    font-weight: 400;
    margin-top: 1em;
    line-height: 1.3em;
}

h4 {
    font-size: 1.4em;
    font-family: 'Concert One', sans-serif;
    font-weight: 400;
}

.farbwechsel {
    background: linear-gradient(45deg, #003080, #0057B8, #00AAFF, #0057B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradient-text 8s ease infinite;
    padding-bottom: 0.2em;
}

@keyframes gradient-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#footer {
    border-top: 1px solid grey;
    margin-top: 2em;
    padding-top: 1em;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

#footer a {
    font-family: 'Open Sans', sans-serif;
    color: #0057B8;
}

#footer strong {
    font-size: 1.2em;
    font-family: 'Concert One', sans-serif;
    font-weight: 400;
    line-height: 1.5em;
}

pre, blockquote {
    border-left: 0.4em solid #0057B8;
    padding-left: 1em;
    margin: 0px;
}

ul#menu {
    padding: 0;
    font-family: 'Concert One', cursive;
    font-size: 1.2em;
    text-align: center;
}

ul#menu li {
    display: inline-block;
    margin: 8px;
}

ul#menu li a {
    color: #333;
    fill: #333;
    background-color: #EFEFEF;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
}

ul#menu .active {
    background-color: #0057B8;
    color: white;
    fill: white;
}

ul#menu li a:hover {
    background-color: #3A3A3A;
    color: white;
    fill: white;
}

input[type=submit], button[type=submit], button {
    font-family: 'Concert One', cursive;
    font-size: 1.3em;
    color: white;
    background-color: #0057B8;
    border-radius: 8px;
    border: 1px solid #004090;
    padding: 0.3em 0.3em 0.5em 0.3em;
    fill: white;
    cursor: pointer;
}

input[type=submit]:hover, button[type=submit]:hover, button:hover {
    background-color: #0070E0;
}

.btn-success {
    background-color: #28a745;
    border-color: #1e7e34;
}

.btn-success:hover {
    background-color: #34ce57;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #bd2130;
}

.btn-danger:hover {
    background-color: #e4606d;
}

.schattenbox {
    box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.schattenbox:hover {
    box-shadow: 0px 0px 2px 2px #0057B8;
}

.alert {
    padding: 20px;
    background-color: #949494;
    color: white;
    margin-bottom: 15px;
    border-radius: 4px;
}

.success {
    padding: 20px;
    background-color: #28a745;
    color: white;
    margin-bottom: 15px;
    border-radius: 4px;
}

.error {
    padding: 20px;
    background-color: #dc3545;
    color: white;
    margin-bottom: 15px;
    border-radius: 4px;
}

.info {
    padding: 20px;
    background-color: #0057B8;
    color: white;
    margin-bottom: 15px;
    border-radius: 4px;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

#wave-container {
    width: 100%;
    height: 60px;
    overflow: hidden;
}

#wave {
    display: block;
    position: relative;
    height: 40px;
    background: #0057B8;
}

#wave:before {
    content: "";
    display: block;
    position: absolute;
    border-radius: 100%;
    width: 100%;
    height: 300px;
    background-color: white;
    right: -25%;
    top: 20px;
}

#wave:after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 100%;
    width: 100%;
    height: 300px;
    background-color: #0057B8;
    left: -25%;
    top: -240px;
}

/* Bestellprozess Schritte */
.schritte {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5em 0;
    flex-wrap: wrap;
    gap: 0.5em;
}

.schritt {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.schritt-nr {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #EFEFEF;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Concert One', cursive;
    font-size: 1.1em;
    flex-shrink: 0;
}

.schritt-nr.aktiv {
    background: #0057B8;
    color: white;
}

.schritt-nr.fertig {
    background: #28a745;
    color: white;
}

.schritt-label {
    font-size: 0.9em;
    color: #666;
}

.schritt-label.aktiv {
    color: #0057B8;
    font-weight: bold;
}

.schritt-pfeil {
    color: #ccc;
    font-size: 1.2em;
}

/* Preistabelle */
.preistabelle {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.preistabelle th {
    background-color: #0057B8;
    color: white;
    padding: 12px;
    text-align: left;
    font-family: 'Concert One', cursive;
    font-weight: 400;
}

.preistabelle td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.preistabelle tr:nth-child(even) {
    background-color: #f5f9ff;
}

.preistabelle tr:hover {
    background-color: #e8f0fe;
}

/* Zahlungsart-Auswahl */
.zahlungsart-box {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1em;
    margin: 0.5em 0;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.zahlungsart-box:hover, .zahlungsart-box.selected {
    border-color: #0057B8;
    background-color: #f0f6ff;
}

/* Bankdaten */
.bankdaten {
    background: #f0f6ff;
    border: 1px solid #0057B8;
    border-radius: 8px;
    padding: 1.5em;
    margin: 1em 0;
    font-family: monospace;
    font-size: 1.05em;
    line-height: 2em;
}

/* Form Inputs */
input[type=text], input[type=email], input[type=tel],
input[type=number], select, textarea {
    width: 100%;
    padding: 0.6em;
    margin: 0.3em 0 0.8em 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    box-sizing: border-box;
}

input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus,
input[type=number]:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0057B8;
    box-shadow: 0 0 0 2px rgba(0, 87, 184, 0.2);
}

label {
    font-weight: bold;
    font-size: 0.95em;
}

/* Übersichtsbox */
.uebersicht-box {
    background: #f5f9ff;
    border: 1px solid #b3d0f5;
    border-radius: 8px;
    padding: 1.5em;
    margin: 1em 0;
}

.uebersicht-box .zeile {
    display: flex;
    justify-content: space-between;
    padding: 0.4em 0;
    border-bottom: 1px solid #dde9fa;
}

.uebersicht-box .zeile:last-child {
    border-bottom: none;
}

.uebersicht-box .gesamt {
    font-family: 'Concert One', cursive;
    font-size: 1.3em;
    color: #0057B8;
    padding-top: 0.6em;
    margin-top: 0.4em;
    border-top: 2px solid #0057B8;
    border-bottom: none;
}

/* Admin-Tabelle */
.admin-tabelle {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.admin-tabelle th {
    background: #0057B8;
    color: white;
    padding: 10px;
    text-align: left;
}

.admin-tabelle td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.admin-tabelle tr:hover {
    background: #f0f6ff;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
}

.badge-offen { background: #fff3cd; color: #856404; }
.badge-bezahlt { background: #d1e7dd; color: #0a3622; }
.badge-gesendet { background: #cce5ff; color: #004085; }
.badge-fehler { background: #f8d7da; color: #721c24; }
.badge-abgebrochen { background: #e2e3e5; color: #383d41; }

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-VariableFont_wdth_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Italic-VariableFont_wdth_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}

@font-face {
    font-family: 'Concert One';
    src: url('../fonts/ConcertOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
